ath0 problem fbsd 7.2-release-p3

Jeremiah Bright jbright at jbeez.net
Wed Aug 19 19:35:05 UTC 2009


This is for a desktop, but was told this would probably be the best place to
post this issue....

I installed fresh last night, was able to pull this card up and connect to
my home access point, then I took it out of that mode and made it an access
point itself with hostapd, my laptop was able to connect and aquire a dhcp
address from this machine.  At some point it stopped working, and the box
wont even let me address the card anymore, I've got some dmesg things here,
at one point theres some channel errors, after those happened I haven't been
able to address this card with ifconfig. It's an engenius pci 802.11 card,
below is dmesg and other info.

Aug 18 22:16:06 firewall kernel: ath0: <Atheros 5212> mem
0xdfdf0000-0xdfdfffff irq 18 at device 15.0 on pci3
Aug 18 22:16:06 firewall kernel: ath0: [ITHREAD]
Aug 18 22:16:06 firewall kernel: ath0: WARNING: using obsoleted if_watchdog
interface
Aug 18 22:16:06 firewall kernel: ath0: Ethernet address: 00:02:6f:4d:11:cd
Aug 18 22:16:06 firewall kernel: ath0: mac 7.9 phy 4.5 radio 5.6
Aug 18 22:16:06 firewall kernel: ath0: <Atheros 5212> mem
0xdfdf0000-0xdfdfffff irq 18 at device 15.0 on pci3
Aug 18 22:16:06 firewall kernel: ath0: [ITHREAD]
Aug 18 22:16:06 firewall kernel: ath0: WARNING: using obsoleted if_watchdog
interface
Aug 18 22:16:06 firewall kernel: ath0: Ethernet address: 00:02:6f:4d:11:cd
Aug 18 22:16:06 firewall kernel: ath0: mac 7.9 phy 4.5 radio 5.6
Aug 18 22:44:01 firewall kernel: ath0: link state changed to UP
Aug 19 01:03:47 firewall kernel: ath0: <Atheros 5212> mem
0xdfdf0000-0xdfdfffff irq 18 at device 15.0 on pci3
Aug 19 01:03:47 firewall kernel: ath0: [ITHREAD]
Aug 19 01:03:47 firewall kernel: ath0: WARNING: using obsoleted if_watchdog
interface
Aug 19 01:03:47 firewall kernel: ath0: Ethernet address: 00:02:6f:4d:11:cd
Aug 19 01:03:47 firewall kernel: ath0: mac 7.9 phy 4.5 radio 5.6
Aug 19 01:22:40 firewall kernel: ath0: link state changed to DOWN
Aug 19 01:22:43 firewall kernel: ath0: link state changed to UP
Aug 19 01:26:16 firewall kernel: ath0: link state changed to DOWN
Aug 19 01:26:16 firewall kernel: ath0: <Atheros 5212> mem
0xdfdf0000-0xdfdfffff irq 18 at device 15.0 on pci3
Aug 19 01:26:16 firewall kernel: ath0: [ITHREAD]
Aug 19 01:26:16 firewall kernel: ath0: WARNING: using obsoleted if_watchdog
interface
Aug 19 01:26:16 firewall kernel: ath0: Ethernet address: 00:02:6f:4d:11:cd
Aug 19 01:26:16 firewall kernel: ath0: mac 7.9 phy 4.5 radio 5.6
Aug 19 01:43:28 firewall kernel: ath0: promiscuous mode enabled
Aug 19 01:43:35 firewall kernel: ath0: promiscuous mode disabled
Aug 19 01:46:11 firewall kernel: ath0: promiscuous mode enabled
Aug 19 01:46:19 firewall kernel: ath0: promiscuous mode disabled
Aug 19 01:46:34 firewall kernel: ath0: promiscuous mode enabled
Aug 19 01:46:41 firewall kernel: ath0: promiscuous mode disabled
Aug 19 01:47:07 firewall kernel: ath0: promiscuous mode enabled
Aug 19 01:47:24 firewall kernel: ath0: promiscuous mode disabled
Aug 19 01:47:49 firewall kernel: ath0: promiscuous mode enabled
Aug 19 01:49:11 firewall kernel: ath0: promiscuous mode disabled
Aug 19 02:27:57 firewall kernel: ath0: <Atheros 5212> mem
0xdfdf0000-0xdfdfffff irq 18 at device 15.0 on pci3
Aug 19 02:27:57 firewall kernel: ath0: [ITHREAD]
Aug 19 02:27:57 firewall kernel: ath0: WARNING: using obsoleted if_watchdog
interface
Aug 19 02:27:57 firewall kernel: ath0: Ethernet address: 00:02:6f:4d:11:cd
Aug 19 02:27:57 firewall kernel: ath0: mac 7.9 phy 4.5 radio 5.6
Aug 19 02:34:22 firewall kernel: ath0: ath_chan_set: unable to reset channel
6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12
Aug 19 02:38:06 firewall kernel: ath0: ath_chan_set: unable to reset channel
6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12
Aug 19 02:38:14 firewall kernel: ath0: ath_chan_set: unable to reset channel
6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12
Aug 19 02:38:16 firewall kernel: ath0: stuck beacon; resetting (bmiss count
4)
Aug 19 02:40:11 firewall kernel: bridge0: invalid MTU for ath0
Aug 19 03:03:02 firewall kernel: ath0: <Atheros 5212> irq 18 at device 15.0
on pci3
Aug 19 03:03:02 firewall kernel: ath0: [ITHREAD]
Aug 19 03:03:02 firewall kernel: ath0: unable to attach hardware; HAL status
3
Aug 19 03:03:02 firewall kernel: device_attach: ath0 attach returned 6
Aug 19 10:17:58 firewall kernel: ath0: <Atheros 5212> irq 18 at device 15.0
on pci3
Aug 19 10:17:58 firewall kernel: ath0: [ITHREAD]
Aug 19 10:17:58 firewall kernel: ath0: unable to attach hardware; HAL status
3
Aug 19 10:17:58 firewall kernel: device_attach: ath0 attach returned 6
Aug 19 10:47:35 firewall kernel: ath0: <Atheros 5212> irq 18 at device 15.0
on pci3
Aug 19 10:47:35 firewall kernel: ath0: [ITHREAD]
Aug 19 10:47:35 firewall kernel: ath0: unable to attach hardware; HAL status
3
Aug 19 10:47:35 firewall kernel: device_attach: ath0 attach returned 6
Aug 19 10:50:09 firewall kernel: ath0: <Atheros 5212> irq 18 at device 15.0
on pci3
Aug 19 10:50:09 firewall kernel: ath0: [ITHREAD]
Aug 19 10:50:09 firewall kernel: ath0: unable to attach hardware; HAL status
3
Aug 19 10:50:09 firewall kernel: device_attach: ath0 attach returned 6

--------------------
[root at firewall ~]# sysctl hw.ath
hw.ath.txbuf: 200
hw.ath.rxbuf: 40
hw.ath.regdomain: 0
hw.ath.countrycode: 0
hw.ath.xchanmode: 1
hw.ath.outdoor: 1
hw.ath.calibrate: 30
hw.ath.hal.swba_backoff: 0
hw.ath.hal.sw_brt: 10
hw.ath.hal.dma_brt: 2
------------------------
[root at firewall ~]# pciconf -lv    (ath0 section only included)
ath0 at pci0:3:15:0:       class=0x020000 card=0x2051168c chip=0x0013168c
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
    class      = network
    subclass   = ethernet
-------------------------

so it DID work, im not sure what I did to break it in such a short
timeframe?! and I have no idea how to reset it back to how it was when I
first booted

Any help would be appreciated!

-- 
Public key - http://www.jbeez.net/misc/public_key.wri


More information about the freebsd-mobile mailing list