Subject: kern/8687: wi driver broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-bugs
Date: 10/25/1999 19:39:44
>Number:         8687
>Category:       kern
>Synopsis:       wi driver broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 25 19:39:00 1999
>Last-Modified:
>Originator:     Hubert Feyrer
>Organization:
-- 
NetBSD - Better for your uptime than Viagra
>Release:        Thu Oct 21 03:27:12 MEST 1999
>Environment:
	
System: NetBSD 1.4L (GENERIC) #0: Thu Oct 21 03:27:12 MEST 1999
    feyrer@miyu:/data/cvs/src-current/sys/arch/i386/compile/GENERIC


>Description:
	i've tried a Lucent WaveLAN Bronze Turbo card under -current today
	got some errors, see attached dmesg. Is this anything that can be fixed
	easily? I'll have the card for a couple more days, if that helps...

NetBSD 1.4L (GENERIC) #0: Thu Oct 21 03:27:12 MEST 1999
    feyrer@miyu:/data/cvs/src-current/sys/arch/i386/compile/GENERIC
cpu0: family 5 model 2 step c
cpu0: Intel Pentium (P54C) (586-class)
total memory = 48896 KB
avail memory = 41476 KB
using 636 buffers containing 2544 KB of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Toshiba America Info Systems Host Bridge/Controller (rev. 0x11)
vga1 at pci0 dev 4 function 0: Chips and Technologies 65550 (rev. 0x45)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
isa0 at mainbus0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <IBM-DCRA-22160>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 2067MB, 4200 cyl, 16 head, 63 sec, 512 bytes/sect x 4233600 sectors
wd0: drive supports PIO mode 4, DMA mode 1
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus0 at wdc1 channel 0
cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-1502B, 5500348847, 2996> type 5
cdrom removable
cd0: drive supports PIO mode 3, DMA mode 1
lpt0 at isa0 port 0x378-0x37b irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.02
audio0 at sb0: half duplex
midi0 at sb0: <SB MIDI UART>
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
wss0 at isa0 port 0x530-0x537 irq 10 drq 0 drq2 1: broken
audio1 at wss0: full duplex
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi2 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
ne2 at pcmcia0 function 0 port 0x340-0x34f port 0x350-0x35f
ne2: RPTI EP401 Ethernet
ne2: Ethernet address 00:40:95:40:43:85
pcmcia1 at pcic0 controller 0 socket 1
wi0 at pcmcia1 function 0 port 0x380-0x3bf
wi0: address 00:00:00:00:00:00
wi0: TIMED OUT in alloc
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
isapnp0: no ISA Plug 'n Play devices found
biomask c040 netmask c040 ttymask d0ca
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia1: card irq 4
wi0: TIMED OUT in alloc
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: TIMED OUT in alloc
wi0: tx buffer allocation failed
wi0: TIMED OUT in alloc
wi0: mgmt. buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: TIMED OUT in alloc
wi0: tx buffer allocation failed
wi0: TIMED OUT in alloc
wi0: mgmt. buffer allocation failed
pcmcia0: card irq 9
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

	After booting multiuser, the system usually hangs after a 
	few seconds and freezes up (unhandled interrupt?).

	The same card works fine unter WinNT 4.0 Workstation.

>How-To-Repeat:
	enable "wi" driver in -current i386 kernel, boot & watch.

>Fix:
	unknown.
>Audit-Trail:
>Unformatted: