[ath] IBM 802.11B B/G 39T0073 card doesn't work in 8-STABLE but worked in 7-STABLE

Don Lewis truckman at FreeBSD.org
Fri Aug 6 20:13:14 UTC 2010


I upgraded my Thinkpad from 7-STABLE to 8-STABLE a few weeks ago and now
my wireless card no longer works.  It is recognized, but appears to be
somewhat brain dead.

# ifconfig ath0
ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:16:ce:00:ac:a7
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
# ifconfig ath0 up
# ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:16:ce:00:ac:a7
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
# ifconfig ath0 scan
ifconfig: unable to get scan results
# ifconfig ath0 list caps
ifconfig: unable to get device capabilities: Invalid argument


I turned on the ath and ath_hal kernel debug options and this is what
shows up at boot:

ath0: <Atheros 5212> mem 0xc0200000-0xc020ffff irq 9 at device 2.0 on pci2
ath0: [ITHREAD]
ar5212Attach: sc 0xc420c000 st 0x1 sh 0xe4553000
ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
EEPROM protect 0x0
enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0xbffe0c cckPhyErrBase
 0xbfff38
ar5212Attach: return
getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm
getregstate: EEPROM cc 0 rd 0x10
getregstate: EEPROM rd 0x64
getchannels: !avail mode 0x182c (0x2) flags 0x2150
getchannels: !avail mode 0x182c (0x1) flags 0x140
getchannels: !avail mode 0x182c (0x40) flags 0x150
getchannels: !avail mode 0x182c (0x400) flags 0x8140
getchannels: !avail mode 0x182c (0x200) flags 0x4140
getchannels: !avail mode 0x182c (0x8000) flags 0x10480
getchannels: !avail mode 0x182c (0x20000) flags 0x20480
getchannels: !avail mode 0x182c (0x40000) flags 0x40480
getchannels: !avail mode 0x182c (0x10000) flags 0x10140
getchannels: !avail mode 0x182c (0x80000) flags 0x20140
getchannels: !avail mode 0x182c (0x100000) flags 0x40140
assignPrivateChannels: private[  0] 2412/0xa0 -> channel 2412
assignPrivateChannels: private[  1] 2417/0xa0 -> channel 2417
assignPrivateChannels: private[  2] 2422/0xa0 -> channel 2422
assignPrivateChannels: private[  3] 2427/0xa0 -> channel 2427
assignPrivateChannels: private[  4] 2432/0xa0 -> channel 2432
assignPrivateChannels: private[  5] 2437/0xa0 -> channel 2437
assignPrivateChannels: private[  6] 2442/0xa0 -> channel 2442
assignPrivateChannels: private[  7] 2447/0xa0 -> channel 2447
assignPrivateChannels: private[  8] 2452/0xa0 -> channel 2452
assignPrivateChannels: private[  9] 2457/0xa0 -> channel 2457
assignPrivateChannels: private[ 10] 2462/0xa0 -> channel 2462
assignPrivateChannels: 23 public, 11 private channels
ath_hal_init_channels: cc 0
ath_getchannels: eeprom rd 100 cc 0 (mapped rd 100 cc 0) location I ecm
ar5212GetRateTable: invalid mode 0x10000
ar5212GetRateTable: invalid mode 0x8000
ath_descdma_setup: rx DMA: 40 buffers 1 desc/buf
ath_descdma_setup: rx DMA map: 0xe4563000 (3840) -> 0x111c000 (3840)
ath_descdma_setup: tx DMA: 200 buffers 10 desc/buf
ath_descdma_setup: tx DMA map: 0xe45c0000 (192000) -> 0x1180000 (192000)
ath_descdma_setup: beacon DMA: 4 buffers 1 desc/buf
ath_descdma_setup: beacon DMA map: 0xe45f0000 (384) -> 0x11af000 (384)
ar5212SetupTxQueue: queue 9
ar5212SetupTxQueue: queue 8
ar5212SetupTxQueue: queue 0
ar5212SetupTxQueue: queue 1
ar5212SetupTxQueue: queue 2
ar5212SetupTxQueue: queue 3
ath0: AR5212 mac 5.9 RF2112 phy 4.3

Any thoughts on what's going wrong and how to fix it?



More information about the freebsd-net mailing list