kern/146517: device timeouts for ath wlan device on recent stable.

Vincent Hoffman-Kazlauskas vince at unsane.co.uk
Wed May 12 13:10:07 UTC 2010


>Number:         146517
>Category:       kern
>Synopsis:       device timeouts for ath wlan device on recent stable.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 12 13:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Vincent Hoffman-Kazlauskas
>Release:        8-STABLE
>Organization:
>Environment:
FreeBSD ostracod.unsane.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #1 r207610: Tue May  4 15:44:19 BST 2010     toor at ostracod.unsane.co.uk:/scratch/obj/usr/src/sys/OSTRACOD  amd64

>Description:
I'm having issues getting my ath (AR5B91) wireless card working with a recent stable.  It was working with
8.0-RELEASE

I created wlan0 manually for debug
ifconfig wlan0 create wlandev ath0 wlanmode station country GB
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
ifconfig wlan0 10.0.0.1/25

if I then ping a known reachable IP on that network I cause a device
timeout.
[root at ostracod ~/wlandebug]# ping 10.0.0.32
PING 10.0.0.32 (10.0.0.32): 56 data bytes
ping: sendto: Network is down
ping: sendto: Network is down
^C
--- 10.0.0.32 ping statistics ---
14 packets transmitted, 0 packets received, 100.0% packet loss


May  8 23:13:38 ostracod kernel: wlan0: Ethernet address: 00:24:23:07:fb:5d
May  8 23:13:41 ostracod kernel: wlan0: link state changed to UP
May  8 23:16:15 ostracod kernel: wlan0: link state changed to DOWN
May  8 23:16:20 ostracod kernel: ath0: device timeout
May  8 23:16:25 ostracod kernel: wlan0: link state changed to UP

Some device info
Its a Zotac ION-ITX-D Atom motherboard with an "Azurewave AR5B91"
wireless card.

ath0 at pci0:4:0:0:        class=0x028000 card=0x10671a3b chip=0x002a168c
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'Atheros AR5B91 Wireless Network Adapter (0001)'
    class      = network

[root at ostracod ~/wlandebug]# uname -a
FreeBSD ostracod.unsane.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #1 r207610:
Tue May  4 15:44:19 BST 2010    
toor at ostracod.unsane.co.uk:/scratch/obj/usr/src/sys/OSTRACOD  amd64

[root at ostracod ~/wlandebug]# more /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
#
# home network; allow all valid ciphers
network={
        ssid="V_WAP"
        scan_ssid=1
        key_mgmt=NONE
        wep_tx_keyidx=0
        wep_key0=xxxxxxxxxxxxxxxxxxxxxxxx
}

I did try wpa instead of wep with the same results.

I've tried
wlandebug -i wlan0 debug+assoc+auth+output+power
and I get
<snip a bunch of stuff thats not relevent>
May  8 23:46:50 ostracod kernel: wlan0: send probe req on channel 12
bssid ff:ff:ff:ff:ff:ff ssid "V_WAP"
May  8 23:46:50 ostracod kernel: wlan0: send probe req on channel 12
bssid ff:ff:ff:ff:ff:ff ssid ""
May  8 23:46:50 ostracod kernel: wlan0: received probe_resp from
94:44:52:0f:2f:c3 rssi 13
May  8 23:46:50 ostracod kernel: wlan0: received beacon from
94:44:52:0f:2f:c3 rssi 14
May  8 23:46:50 ostracod kernel: wlan0: received beacon from
94:44:52:0f:2f:c3 rssi 14
May  8 23:46:50 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] station
assoc via MLME
May  8 23:46:50 ostracod kernel: [94:44:52:0f:2f:c3] send auth on channel 1
May  8 23:46:50 ostracod kernel: wlan0: received auth from
94:44:52:0f:2f:c3 rssi 65
May  8 23:46:50 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] recv auth
frame with algorithm 0 seq 2
May  8 23:46:50 ostracod kernel: [94:44:52:0f:2f:c3] send assoc_req on
channel 1
May  8 23:46:50 ostracod kernel: wlan0: received assoc_resp from
94:44:52:0f:2f:c3 rssi 66
May  8 23:46:50 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] assoc
success at aid 3: long preamble, long slot time
May  8 23:46:50 ostracod kernel: wlan0: associated with
94:44:52:0f:2f:c3 ssid "V_WAP" channel 1 start 0Mb
May  8 23:46:50 ostracod kernel: wlan0: link state changed to UP
May  8 23:47:42 ostracod kernel: wlan0: beacon miss, mode STA state RUN
May  8 23:47:42 ostracod kernel: wlan0: send probe req on channel 1
bssid 94:44:52:0f:2f:c3 ssid "V_WAP"
May  8 23:47:43 ostracod kernel: wlan0: beacon miss, mode STA state RUN
May  8 23:47:43 ostracod kernel: wlan0: link state changed to DOWN
May  8 23:47:43 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] station
assoc via MLME
May  8 23:47:43 ostracod kernel: [94:44:52:0f:2f:c3] send auth on channel 1
May  8 23:47:43 ostracod kernel: wlan0: ieee80211_start: ignore queue,
in AUTH state
May  8 23:47:47 ostracod kernel: ath0: device timeout
May  8 23:47:53 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] station
assoc via MLME
May  8 23:47:53 ostracod kernel: [94:44:52:0f:2f:c3] send auth on channel 1
May  8 23:47:53 ostracod kernel: wlan0: received auth from
94:44:52:0f:2f:c3 rssi 67
May  8 23:47:53 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] recv auth
frame with algorithm 0 seq 2
May  8 23:47:53 ostracod kernel: [94:44:52:0f:2f:c3] send assoc_req on
channel 1
May  8 23:47:53 ostracod kernel: wlan0: received assoc_resp from
94:44:52:0f:2f:c3 rssi 67
May  8 23:47:53 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] assoc
success at aid 3: long preamble, long slot time
May  8 23:47:53 ostracod kernel: wlan0: associated with
94:44:52:0f:2f:c3 ssid "V_WAP" channel 1 start 0Mb
May  8 23:47:53 ostracod kernel: wlan0: link state changed to UP

>How-To-Repeat:
ifconfig wlan0 create wlandev ath0 wlanmode station country GB
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
ifconfig wlan0 10.0.0.1/25

if I then ping a known reachable IP on that network I cause a device
timeout.


>Fix:
unknown.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list