Subject: pcmcia weirdness
To: None <netbsd-users@netbsd.org>
From: Steve Bellovin <smb@research.att.com>
List: netbsd-users
Date: 02/24/2002 17:58:27
My laptop (a Thinkpad T21) is running 1.5.3 Alpha, with a kernel 
compiled from recent source.  I had a Lucent wireless card in one slot, 
and I tried inserting a compact flash card.  wi0 started giving weird 
error messages indicative of a resource problem.  I ifconfig'ed it 
down, removed and reinserted it, and all was fine.  I can understand 
that sort of problem with the card inserted second, but not with the 
card inserted first.  I've used the two cards together quite frequently.

pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, 
pcmcia0: Manufacturer code 0x156, product 0x2
pcmcia0: function 0: network adapter, ccr addr 3e0 mask 1
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqpulse irqlevel
wi0 at pcmcia0 function 0
wi0: address 00:60:1d:f0:34:fb
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: SunDisk, SDP, 5/3 0.6
pcmcia1: Manufacturer code 0x45, product 0x401
pcmcia1: function 0: fixed disk, ccr addr 200 mask f
pcmcia1: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff; maxtwins 1; mwait_required rdybsy_active powerdown
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; maxtwins 1; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace 0-7ff; maxtwins 1; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; maxtwins 1; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 7: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; maxtwins 1; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
wdc2 at pcmcia1 function 0
wd1 at wdc2 channel 0 drive 0: <SanDisk SDCFB-128>
wd1: drive supports 1-sector pio transfers, lba addressing
wd1: 122 MB, 980 cyl, 8 head, 32 sec, 512 bytes/sect x 250880 sectors
wi0: xmit failed
wi0: device timeout
wi0: init failed
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: timeout in wi_seek to 0/0; last status 4000
wi0: timeout in wi_seek to 0/44; last status 4044
wi0: xmit failed
wi0: device timeout
wi0: init failed
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: timeout in wi_seek to 0/0; last status 4000
wi0: timeout in wi_seek to 0/44; last status 4044
wi0: xmit failed
wd1: no disk label
wi0: device timeout
wi0: init failed
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: timeout in wi_seek to 0/0; last status 4000
wi0: timeout in wi_seek to 0/44; last status 4044
wi0: xmit failed
wi0: device timeout
wi0: init failed
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: timeout in wi_seek to 0/0; last status 4000
wi0: timeout in wi_seek to 0/44; last status 4044
wi0: xmit failed
wi0: device timeout
wi0: init failed
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: timeout in wi_seek to 0/0; last status 4000
wi0: timeout in wi_seek to 0/44; last status 4044
wi0: xmit failed
wi0 detached
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, 
pcmcia0: Manufacturer code 0x156, product 0x2
pcmcia0: function 0: network adapter, ccr addr 3e0 mask 1
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqpulse irqlevel
wi0 at pcmcia0 function 0
wi0: address 00:60:1d:f0:34:fb


		--Steve Bellovin, http://www.research.att.com/~smb
		Full text of "Firewalls" book now at http://www.wilyhacker.com