Lack of success with if_ndis comes with matching funny carbus messages.

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Mon, 20 Dec 2004 16:53:28 +1030
Hi,
A guy at work got an Alloy WLT24501 Cardbus WiFi adadpter 
(http://www.alloy.com.au/products/wlt245401.html) and I am
trying to get it working (I have an Intel Pro 2100 mini-PCI)

I have a kernel cvs from the 9th of December and I obtained the following 
driver "http://www.alloy.com.au/web_download/Wireless/54Mb/WLT245401_VP/WLT245401VP_Ver. 1.20.zip"

I copied FW1130.BIN FwRad16.bin and FwRad17.bin to /compat/ndis and ran the 
following commands to build the driver..

ndiscvt -i TNET1130.INF -s tnet1130.sys -n wlt -o ndis_driver_data.h
make
kldload ./if_ndis.ko

Before the kldload I inserted the card..
Dec 20 16:09:33 inchoate kernel: Status is 0x30000820
Dec 20 16:09:33 inchoate kernel: cbb0: card inserted: event=0x00000000, state=30000820
Dec 20 16:09:33 inchoate kernel: cbb0: cbb_power: 3V
Dec 20 16:09:33 inchoate kernel: pcib2: device cardbus0 requested decoded memory range 0xf6000000-0xfbffffff
Dec 20 16:09:33 inchoate kernel: cardbus0: Expecting link target, got 0x8
Dec 20 16:09:33 inchoate kernel: cardbus0: Resource not specified in CIS: id=10, size=2000
Dec 20 16:09:33 inchoate kernel: cardbus0: Resource not specified in CIS: id=14, size=20000
Dec 20 16:09:33 inchoate kernel: pcib2: device cardbus0 requested decoded memory range 0xf6000000-0xfbffffff
Dec 20 16:09:33 inchoate kernel: found->        vendor=0x104c, dev=0x9066, revid=0x00
Dec 20 16:09:33 inchoate kernel: bus=3, slot=0, func=0
Dec 20 16:09:33 inchoate kernel: class=02-80-00, hdrtype=0x00, mfdev=0
Dec 20 16:09:33 inchoate kernel: cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords)
Dec 20 16:09:33 inchoate kernel: lattimer=0xa8 (5040 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
Dec 20 16:09:33 inchoate kernel: intpin=a, irq=11
Dec 20 16:09:33 inchoate kernel: powerspec 2  supports D0 D1 D2 D3  current D0
Dec 20 16:09:33 inchoate kernel: cardbus0: <network> at device 0.0 (no driver attached)
Dec 20 16:09:33 inchoate kernel: pci3:0:0: Transition from D0 to D3
Dec 20 16:09:33 inchoate kernel: cbb0: cbb_power: 0V
Dec 20 16:09:33 inchoate kernel: cbb0: CardBus card activation failed
Dec 20 16:09:33 inchoate kernel: Status is 0x30000086

I removed it, loaded the driver and reinstered..
Dec 20 16:18:46 inchoate kernel: Status is 0x30000920
Dec 20 16:18:46 inchoate kernel: cbb0: card inserted: event=0x00000000, state=30000920
Dec 20 16:18:46 inchoate kernel: cbb0: cbb_power: 3V
Dec 20 16:18:46 inchoate kernel: pcib2: device cardbus0 requested decoded memory range 0xf6000000-0xfbffffff
Dec 20 16:18:46 inchoate kernel: cardbus0: Expecting link target, got 0x8
Dec 20 16:18:46 inchoate kernel: cardbus0: Resource not specified in CIS: id=10, size=2000
Dec 20 16:18:46 inchoate kernel: cardbus0: Resource not specified in CIS: id=14, size=20000
Dec 20 16:18:46 inchoate kernel: pcib2: device cardbus0 requested decoded memory range 0xf6000000-0xfbffffff
Dec 20 16:18:46 inchoate kernel: found->        vendor=0x104c, dev=0x9066, revid=0x00
Dec 20 16:18:46 inchoate kernel: bus=3, slot=0, func=0
Dec 20 16:18:46 inchoate kernel: class=02-80-00, hdrtype=0x00, mfdev=0
Dec 20 16:18:46 inchoate kernel: cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords)
Dec 20 16:18:46 inchoate kernel: lattimer=0xa8 (5040 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
Dec 20 16:18:46 inchoate kernel: intpin=a, irq=11
Dec 20 16:18:46 inchoate kernel: powerspec 2  supports D0 D1 D2 D3  current D0
Dec 20 16:18:46 inchoate kernel: wlt0: <IEEE 802.11g Wireless Cardbus/PCI Adapter> mem 0xf6040000-0xf605ffff,0xf6060000-0xf6061fff irq 11 at device 0.0 on cardbus0
Dec 20 16:18:46 inchoate kernel: pcib2: device wlt0 requested decoded memory range 0xf6040000-0xf605ffff
Dec 20 16:18:46 inchoate kernel: pcib2: device wlt0 requested decoded memory range 0xf6060000-0xf6061fff
Dec 20 16:18:46 inchoate kernel: wlt0: [MPSAFE]
Dec 20 16:18:46 inchoate kernel: wlt0: NDIS API version: 5.1
Dec 20 16:18:49 inchoate kernel: wlt0: bpf attached
Dec 20 16:18:49 inchoate kernel: wlt0: Ethernet address: 00:00:8c:00:50:de
Dec 20 16:18:49 inchoate kernel: wlt0: bpf attached

I then did..
ifconfig wlt0 ssid citilan up mode 11b media autoselect 

After a minute or so of polling with wicontrol wlt0 -L an AP showed up, but
ifconfig did not show it associated, nor did a 'link up' message get
displayed by the kernel. While sitting in the same location I unloaded the
driver and loaded the one for the mini-PCI adapter - it worked and associated
straight away.

I have not tried the acx driver from wlan.kewl.org as it hasn't been updated 
for the new 802.11 stuff that was committed, and I haven't had time to go back
to before then and play around.

Attached is a boot -v dmesg with cbb and cardbus debugging on.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Received on Mon Dec 20 2004 - 05:23:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:24 UTC