From owner-freebsd-net@FreeBSD.ORG Fri Aug 6 20:13:14 2010 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FE961065672 for ; Fri, 6 Aug 2010 20:13:14 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (adsl-75-1-14-242.dsl.scrm01.sbcglobal.net [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 19B8C8FC19 for ; Fri, 6 Aug 2010 20:13:13 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id o76Jx4T0071302 for ; Fri, 6 Aug 2010 12:59:08 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201008061959.o76Jx4T0071302@gw.catspoiler.org> Date: Fri, 6 Aug 2010 12:59:03 -0700 (PDT) From: Don Lewis To: freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: Subject: [ath] IBM 802.11B B/G 39T0073 card doesn't work in 8-STABLE but worked in 7-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2010 20:13:14 -0000 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 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 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: 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?