Subject: bin/33923: slattach(8) can't attach sl(4) interface
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 07/05/2006 20:10:00
>Number:         33923
>Category:       bin
>Synopsis:       slattach(8) can't attach sl(4) interface
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 05 20:10:00 +0000 2006
>Originator:     Izumi Tsutsui
>Release:        NetBSD 3.99.21
>Organization:
>Environment:
System: NetBSD/i386 with
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
Architecture: i386
Machine: i386
>Description:
slattach(8) fails on TIOCSETD ioctl and can't attach sl(4) interface
even if pseudo-device sl is configured in the kernel config.

>How-To-Repeat:
# nm /netbsd | grep slattach
c03737e0 T slattach
# cu -l /dev/tty00
Connected
~
[EOT]
# slattach /dev/tty00
slattach: TIOCSETD: Device not configured
# 

>Fix:
Not provided.
Note it doesn't help to use TIOCSLINED like irdaattach(8).