Re: Not work ATH (AR9285) after update [SOLVED]

From: Andrey Fesenko <f0andrey_at_gmail.com>
Date: Tue, 23 Jul 2013 23:16:57 +0400
On Tue, Jul 23, 2013 at 6:21 PM, Adrian Chadd <adrian_at_freebsd.org> wrote:
> Ok, so.
>
> On 23 July 2013 07:12, Andrey Fesenko <f0andrey_at_gmail.com> wrote:
>
>>>> i'm horrible news, after update my notebook not nave wi-fi :(
>>>> full update system, build and install world and kernel.
>
> What did it used to run?
>
>

# grep wlan0 /etc/rc.conf
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"

>>>> Jul 23 15:34:27 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
>>>> Jul 23 15:34:29 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
>>>> val=0, arg_len=128]: Operation now in progress
>>>> Jul 23 15:34:29 x220 kernel: ath0: ath_reset_grablock: didn't finish
>>>> after 10 iterations
>>>> Jul 23 15:34:29 x220 kernel: ath0: ath_reset_grablock: warning,
>>>> recursive reset path!
>
> Your previous log indicated multiple copies of wpa_supplicant. That
> should be investigated.
>
>> Not,
>> root_at_x220:~ # ps -A | grep wpa
>>  671  -  Ss   0:00.73 /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_suppl
>>
>> Start, or restart work standart
>> # /etc/rc.d/netif restart
>> this scheme work fine ~year or half year.
>> Although of course the chip AR9285 is not very stable, especially in
>> combination with some AP.
>
> That's why I updated the support. It's much more stable now. Except if
> you somehow get >1 wpa_supplicant instances running.
>
>>
>> Hm... intresting boot messages
>> ...
>> Jul 23 17:47:06 x220 kernel: ath0: <Atheros 9285> mem
>> 0xf2400000-0xf240ffff irq 17 at device 0.0 on pci3
>> Jul 23 17:47:06 x220 kernel: [ath] AR9285 Main LNA config: LNA1
>> Jul 23 17:47:06 x220 kernel: [ath] AR9285 Alt LNA config: LNA2
>> Jul 23 17:47:06 x220 kernel: [ath] LNA diversity disabled, Diversity disabled
>> Jul 23 17:47:06 x220 kernel: ath0: [HT] enabling HT modes
>> Jul 23 17:47:06 x220 kernel: ath0: [HT] 1 stream STBC receive enabled
>> Jul 23 17:47:06 x220 kernel: ath0: [HT] 1 RX streams; 1 TX streams
>> Jul 23 17:47:06 x220 kernel: ath0: AR9285 mac 192.2 RF5133 phy 14.0
>> Jul 23 17:47:06 x220 kernel: ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
>
> x220 - is this a thinkpad? Or what kind of laptop is it?
>
> Have you added this card in yourself? Are both antennas connected?
>
> The EEPROM settings disable diversity. Thus, the transmit path is
> always LNA1, the receive path is always LNA1. So, it should at least
> have that antenna connected.
>

Yes it's thinkpad X220 :) :(
hacked BIOS for remove wite list, yes antenna connected
card installed near yea ago and all this time working for startup on the rc.conf

>> old log
>> Jul  2 13:30:02 x220 kernel: ath0: <Atheros 9285> mem
>> 0xf2400000-0xf240ffff irq 17 at device 0.0 on pci3
>> Jul  2 13:30:02 x220 kernel: ath0: [HT] enabling HT modes
>> Jul  2 13:30:02 x220 kernel: ath0: [HT] 1 stream STBC receive enabled
>> Jul  2 13:30:02 x220 kernel: ath0: [HT] 1 RX streams; 1 TX streams
>> Jul  2 13:30:02 x220 kernel: ath0: AR9285 mac 192.2 RF5133 phy 14.0
>> Jul  2 13:30:02 x220 kernel: ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
>
> What's the svn revision on that?
>

FreeBSD 10.0-CURRENT #0 r249991

>> and old style reconnect
>> Jul  2 14:15:33 x220 wpa_supplicant[516]: CTRL-EVENT-DISCONNECTED
>> bssid=58:6d:8f:fa:d9:50 reason=0
>> Jul  2 14:15:33 x220 kernel: wlan0: link state changed to DOWN
>> Jul  2 14:15:35 x220 wpa_supplicant[516]: Trying to associate with
>> 58:6d:8f:fa:d9:50 (SSID='hometest' freq=2472 MHz)
>> Jul  2 14:15:35 x220 wpa_supplicant[516]: Associated with 58:6d:8f:fa:d9:50
>> Jul  2 14:15:35 x220 kernel: wlan0: link state changed to UP
>> Jul  2 14:15:35 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 14:15:35 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>> Jul  2 14:15:35 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 14:15:35 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>> Jul  2 14:15:35 x220 wpa_supplicant[516]: WPA: Key negotiation
>> completed with 58:6d:8f:fa:d9:50 [PTK=CCMP GTK=CCMP]
>> Jul  2 14:15:35 x220 wpa_supplicant[516]: CTRL-EVENT-CONNECTED -
>> Connection to 58:6d:8f:fa:d9:50 completed (reauth) [id=0 id_str=]
>> Jul  2 14:15:35 x220 dhclient: New IP Address (wlan0): 192.168.1.22
>> Jul  2 14:15:35 x220 dhclient: New Subnet Mask (wlan0): 255.255.255.0
>> Jul  2 14:15:35 x220 dhclient: New Broadcast Address (wlan0): 192.168.1.255
>> Jul  2 14:15:35 x220 dhclient: New Routers (wlan0): 192.168.1.1
>> Jul  2 14:19:57 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 14:19:57 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>> Jul  2 14:20:00 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 14:20:00 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>> Jul  2 14:22:21 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 14:22:21 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>> Jul  2 15:10:13 x220 wpa_supplicant[516]: WPA: Group rekeying
>> completed with 58:6d:8f:fa:d9:50 [GTK=CCMP]
>> Jul  2 15:10:13 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 15:10:13 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>> Jul  2 15:12:00 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 15:12:00 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>> Jul  2 15:12:13 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
>> ts_finaltsi=0
>> Jul  2 15:12:13 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
>> ts_status 0x0
>
> These are likely because your AP disables the low CCK rates, but the
> rate control code currently tries to transmit on them. It succeeds in
> transmitting, but then it gets angry because that rate isn't in said
> rate table negotiated with the AP.
>
> Please try it manually:
>
> # ifconfig wlan0 destroy
> # pkill -9 wpa_supplicant
> # ifconfig wlan0 create wlandev ath0
> # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf &
>
> .. and see what happens.
>

Hm... manual start OK

# ifconfig wlan0 destroy
ifconfig: interface wlan0 does not exist
# pkill -9 wpa_supplicant
# ifconfig wlan0 create wlandev ath0
# wpa_supplicant -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.0
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver
'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'

full debug log http://pastebin.com/ie599AvH


EUREKA changes in the IPv6

with out IPv6 starts /etc/rc.d/netif restar

log
Jul 23 23:09:34 x220 root: /etc/rc.d/wpa_supplicant: WARNING: failed
to start wpa_supplicant
Jul 23 23:09:36 x220 wpa_supplicant[8465]: wlan0: Trying to associate
with 58:6d:8f:fa:d9:50 (SSID='hometest' freq=2472 MHz)
Jul 23 23:09:36 x220 kernel: wlan0: link state changed to UP
Jul 23 23:09:36 x220 wpa_supplicant[8465]: wlan0: Associated with
58:6d:8f:fa:d9:50
Jul 23 23:09:36 x220 devd: Executing '/etc/rc.d/dhclient quietstart wlan0'
Jul 23 23:09:36 x220 wpa_supplicant[8465]: wlan0: WPA: Key negotiation
completed with 58:6d:8f:fa:d9:50 [PTK=CCMP GTK=CCMP]
Jul 23 23:09:36 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
ts_finaltsi=0
Jul 23 23:09:36 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
ts_status 0x0
Jul 23 23:09:36 x220 wpa_supplicant[8465]: wlan0: CTRL-EVENT-CONNECTED
- Connection to 58:6d:8f:fa:d9:50 completed [id=0 id_str=]
Jul 23 23:09:36 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
ts_finaltsi=0
Jul 23 23:09:36 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
ts_status 0x0
Jul 23 23:09:36 x220 dhclient: New IP Address (wlan0): 192.168.1.23
Jul 23 23:09:36 x220 dhclient: New Subnet Mask (wlan0): 255.255.255.0
Jul 23 23:09:36 x220 dhclient: New Broadcast Address (wlan0): 192.168.1.255
Jul 23 23:09:36 x220 dhclient: New Routers (wlan0): 192.168.1.1
Jul 23 23:10:20 x220 kernel: ath0: ath_rate_tx_complete: ts_rate=27
ts_finaltsi=0
Jul 23 23:10:20 x220 kernel: ath0: bad series0 hwrate 0x1b, tries 1
ts_status 0x0

Thank, Adrian!!! :)
Received on Tue Jul 23 2013 - 17:17:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC