Subject: kern/9400: Webgear Aviator2.4 doesn't initialize if link0 flag specified
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 02/12/2000 03:15:49
>Number:         9400
>Category:       kern
>Synopsis:       Webgear Aviator2.4 doesn't initialize if link0 flag specified
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 03:15:01 2000
>Last-Modified:
>Originator:     Dave Huang
>Organization:
	
>Release:        NetBSD-current as of February 11, 2000
>Environment:
System: NetBSD dell.metonymy.com 1.4S NetBSD 1.4S (DELL) #15: Sat Feb 12 04:40:36 CST 2000 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/DELL i386

NetBSD 1.4S (DELL) #15: Sat Feb 12 04:40:36 CST 2000
    khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/DELL
cpu0: family 5 model 2 step 5
cpu0: Intel Pentium (P54C) (586-class)
total memory = 65152 KB
avail memory = 58064 KB
using 840 buffers containing 3360 KB of memory
BIOS32 rev. 0 found at 0xf39bc
:
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
pcic0: controller 0 (Intel 82365SL Revision 1) has socket A only
pcmcia0 at pcic0 controller 0 socket 0
:
pcic0: controller 0 detecting irqs with mask 0xdeb8:..5..9..11
pcic0: using irq 5 for socket events
:
[ System boots; I insert the card ]
:
ray0 at pcmcia0 function 0: WebGear, PC Card WLAN Adapter, Version 4.88 Jan 1999
ray0: firmware version 85
ray0: 802.11 address 00:00:f1:11:80:ae
pcmcia0: card irq 9

>Description:
	If the link0 flag is specified during the initial ifconfig of the
ray device, the card doesn't seem to initialize. None of the lights blink
or turn on, and the kernel prints the following messages:

ray0: starting DAD for fe80:0004::0200:f1ff:fe11:80ae
stray interrupt 9
ray0: could not run DAD, driver problem?

ifconfig ray0 shows:

ray0: flags=9c02<BROADCAST,OACTIVE,SIMPLEX,LINK0,MULTICAST> mtu 1500
	nwid NETWORK_NAME
	media: IEEE802.11 FH2 adhoc
	status: no network
	inet 10.1.2.2 netmask 0xffffff00 broadcast 10.1.2.255
	inet6 fe80::200:f1ff:fe11:80ae@ray0 prefixlen 64 tentative scopeid 0x4

However, if instead I ifconfig ray0 without link0, the card comes up fine,
and I can then "ifconfig ray0 link0"
>How-To-Repeat:
# ifconfig ray0 inet 10.1.2.2 netmask 0xffffff00 link0

>Fix:
>Audit-Trail:
>Unformatted: