Subject: Prisim Hostap problem
To: None <netbsd-users@NetBSD.org>
From: Pat Wendorf <mlist@beholder.homeunix.net>
List: netbsd-users
Date: 02/12/2005 21:08:06
Hey all,

I'm having some trouble with a Toshiba Libretto 110CT I've setup to use 
as an access point.  I'm using a D-Link DWL-650 PCMCIA card on the 
wireless side, and I'm bridging it to the Xircom ethernet card.   As far 
as I can tell, this is a pretty standard way to turn NetBSD into an 
access point.

The setup works great for about 1/2 day at time, at which point I get 
some spew from the wirless card and it turns itself off.  This is the spew:

wi0: command timed out, cmd=0x10b, arg=0x138
wi0: xmit failed
wi0: device timeout
wi0: command timed out, cmd=0x2, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: init failed
wi0: interface not running
wi0: command timed out, cmd=0x2, arg=0x0

If I down the interface and bring it back up, everything is happy again.

Here is my dmesg if it helps:

NetBSD 2.0.1 (LIBRETTO) #5: Thu Feb 10 09:09:44 EST 2005
        beholder@wireless.lan:/sys/arch/i386/compile/LIBRETTO
total memory = 32444 KB
avail memory = 29520 KB
BIOS32 rev. 0 found at 0xfe95a
PCI BIOS rev. 2.1 found at 0xfc5f8
pcibios: config mechanism [1][x], special cycles [x][x], last bus 21
PCI IRQ Routing Table rev. 1.0 found at 0xf8e80, size 112 bytes (5 entries)
PCI Interrupt Router at 000:01:0 (vendor 0x1179 product 0x0602 compatible)
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x1179 product 
0x0602
Warning: unable to fix up PCI interrupt routing
PCI fixup examining 1179:601
PCI fixup examining 10c8:04
PCI fixup examining 1179:701
PCI fixup examining 1179:60f
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 1179:60f
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x1179 0x0601
                [OK]
000:04:0 0x10c8 0x0004
        10h mem  0xfd000000 0x01000000
        14h mem  0xffc00000 0x00200000
        18h mem  0xffb00000 0x00100000
                [OK]
000:17:0 0x1179 0x0701
        10h port 0x0000ffe0 0x00000020
                [OK]
000:19:0 0x1179 0x060f
        10h mem  0xfff00000 0x00001000
                [OK]
000:19:1 0x1179 0x060f
        10h mem  0xfff01000 0x00001000
                [OK]
--------------------------[  0 devices bogus]
 Physical memory end: 0x0200c000
 PCI memory mapped I/O space start: 0x02100000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium/MMX (Tillamook) (586-class), 233.31 MHz, id 0x581
cpu0: features 8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8001bf<MMX>
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1179 product 0x0601 (rev. 0x2e)
vga1 at pci0 dev 4 function 0: vendor 0x10c8 product 0x0004 (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
oboe0 at pci0 dev 17 function 0: Toshiba Fast Infrared Type O, revision 34
oboe0: interrupting at irq 11
irframe0 at oboe0: SIR, MIR, FIR
cbb0 at pci0 dev 19 function 0: vendor 0x1179 product 0x060f (rev. 0x20)
cbb0: NOT USED because of unconfigured interrupt
cbb1 at pci0 dev 19 function 1: vendor 0x1179 product 0x060f (rev. 0x20)
cbb1: NOT USED because of unconfigured interrupt
isa0 at mainbus0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
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
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atabus0 at wdc0 channel 0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..9..10..15
pcic0: using irq 3 for socket events
xi0 at pcmcia0 function 0pcic0: port 0x400-0x40f
: Xircom RealPort Ethernet 10/100 + Modem 56
xi0: Ethernet address 00:80:c7:ac:00:a3
icsphy0 at xi0 phy 0: ICS1890 10/100 media interface, rev. 3
icsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wd0 at atabus0 drive 0: <TOSHIBA MK6015MAP>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wi0 at pcmcia1 function 0: D, Link DWL-650 11Mbps WLAN Card, Version 01.02
pcic0: port 0x440-0x47f
pcmcia1: card irq 5
wi0: 802.11 address 00:05:5d:5c:0c:b4
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.5)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
boot device: wd0
root on wd0a dumps on wd0b
WARNING: clock time much less than file system time
WARNING: using file system time
WARNING: CHECK AND RESET THE DATE!
root file system type: ffs
pcmcia0: card irq 5
pcmcia1: 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)
wi0: command timed out, cmd=0x10b, arg=0x138
wi0: xmit failed
wi0: device timeout
wi0: command timed out, cmd=0x2, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: command timed out, cmd=0x0, arg=0x0
wi0: init failed
wi0: interface not running
wi0: command timed out, cmd=0x2, arg=0x0
wi0: command timed out, cmd=0x2, arg=0x0
pcmcia1: card irq 9