Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 11:59:37 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        freebsd-net@freebsd.org
Subject:   Fwd: ath0 not working and getting device timeouts with recent stable
Message-ID:  <4BEA8A19.9070105@unsane.co.uk>

next in thread | raw e-mail | index | archive | help
Forwarding as no answer on freebsd-stable (although a 2nd problem report
did appear yesterday from someone else with the same device string but
different card and chip ids see
*http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/0cc4e313e063736a*)


I'll add a PR in bit.

I'm having issues getting my 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@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@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@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@ostracod.unsane.co.uk:/scratch/obj/usr/src/sys/OSTRACOD  amd64

[root@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

Any suggestions welcome.

Vince
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BEA8A19.9070105>