Not work ATH (AR9285) after update

2013-07-23 Thread Andrey Fesenko
Hello,
i'm horrible news, after update my notebook not nave wi-fi :(
full update system, build and install world and kernel.

# uname -a
FreeBSD x220.local 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253562: Tue
Jul 23 14:44:07 MSK 2013
root@x220.local:/usr/obj/usr/src/sys/W_BOOK  amd64

# grep ATH /usr/src/sys/amd64/conf/W_BOOK
options ATH_ENABLE_11N
options ATH_DEBUG
options ATH_DIAGAPI

ath0@pci0:3:0:0:class=0x028000 card=0x1a891a3b chip=0x002b168c
rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'AR9285 Wireless Network Adapter (PCI-Express)'
class  = network

# ifconfig
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:25:d3:7b:94:87
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8c43UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST
metric 0 mtu 1500
ether 00:25:d3:7b:94:87
inet6 fe80::225:d3ff:fe7b:9487%wlan0 prefixlen 64 scopeid 0x4
nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid  channel 8 (2447 MHz 11g)
regdomain 33411 country RU indoor ecm authmode WPA1+WPA2/802.11i
privacy MIXED deftxkey UNDEF txpower 20 bmiss 7 scanvalid 60
protmode CTS wme burst roaming MANUAL
# ifconfig wlan0 list scan
SSID/MESH IDBSSID  CHAN RATE   S:N INT CAPS
APT-SPB2b8:a3:86:4a:75:6a6   54M -92:-96  100 EP   HTCAP
WPA RSN WME WPS
THD1   74:ea:3a:d1:37:46   10   54M -85:-96  100 EP   RSN HTCAP WME
Balt1   00:90:4c:c1:00:001   54M -90:-96  100 EP   RSN
TP-LINK_904D2A  64:70:02:90:4d:2a   11   54M -94:-96  100 EPS  RSN
HTCAP WME ATH WPS

/var/log/messages
...
Jul 23 15:34:24 x220 wpa_supplicant[669]: wlan0: CTRL-EVENT-TERMINATING
Jul 23 15:34:24 x220 kernel: wlan0: Ethernet address: 00:25:d3:7b:94:87
Jul 23 15:34:24 x220 devd: Executing '/etc/pccard_ether wlan0 start'
Jul 23 15:34:24 x220 wpa_supplicant[2563]: Successfully initialized
wpa_supplicant
Jul 23 15:34:24 x220 wpa_supplicant[2571]: Successfully initialized
wpa_supplicant
Jul 23 15:34:24 x220 wpa_supplicant[2571]: ctrl_iface exists and seems
to be in use - cannot override it
Jul 23 15:34:24 x220 wpa_supplicant[2571]: Delete
'/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Jul 23 15:34:24 x220 wpa_supplicant[2571]: Failed to initialize
control interface '/var/run/wpa_supplicant'. You may have another
wpa_supplicant process already running or the file was left by an
unclean termination of wpa_supplicant in which case you will need to
manually remove this file before starting wpa_supplicant again.
Jul 23 15:34:24 x220 wpa_supplicant[2571]: ioctl[SIOCS80211, op=26,
val=0, arg_len=0]: Operation not supported
Jul 23 15:34:24 x220 wpa_supplicant[2571]: ioctl[SIOCS80211, op=26,
val=0, arg_len=0]: Operation not supported
Jul 23 15:34:24 x220 root: /etc/rc.d/wpa_supplicant: WARNING: failed
to start wpa_supplicant
Jul 23 15:34:24 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
val=0, arg_len=128]: Operation now in progress
Jul 23 15:34:24 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
Jul 23 15:34:25 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
val=0, arg_len=128]: Operation now in progress
Jul 23 15:34:25 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
Jul 23 15:34:26 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
val=0, arg_len=128]: Operation now in progress
Jul 23 15:34:26 x220 kernel: ath0: ath_reset_grablock: didn't finish
after 10 iterations
Jul 23 15:34:26 x220 kernel: ath0: ath_reset_grablock: warning,
recursive reset path!
Jul 23 15:34:26 x220 kernel: ath0: ath_reset: concurrent reset! Danger!
Jul 23 15:34:26 x220 kernel: ath0: ath_raw_xmit: sc_inreset_cnt  0; bailing
Jul 23 15:34:26 x220 kernel: ath0: ath_raw_xmit: sc_inreset_cnt  0; bailing
Jul 23 15:34:26 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
Jul 23 15:34:27 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
val=0, arg_len=128]: Operation now in progress
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!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Not work ATH (AR9285) after update

2013-07-23 Thread Adrian Chadd
.. are two copies of wpa_supplicant running?



-adrian

On 23 July 2013 06:09, Andrey Fesenko f0and...@gmail.com wrote:
 Hello,
 i'm horrible news, after update my notebook not nave wi-fi :(
 full update system, build and install world and kernel.

 # uname -a
 FreeBSD x220.local 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253562: Tue
 Jul 23 14:44:07 MSK 2013
 root@x220.local:/usr/obj/usr/src/sys/W_BOOK  amd64

 # grep ATH /usr/src/sys/amd64/conf/W_BOOK
 options ATH_ENABLE_11N
 options ATH_DEBUG
 options ATH_DIAGAPI

 ath0@pci0:3:0:0:class=0x028000 card=0x1a891a3b chip=0x002b168c
 rev=0x01 hdr=0x00
 vendor = 'Atheros Communications Inc.'
 device = 'AR9285 Wireless Network Adapter (PCI-Express)'
 class  = network

 # ifconfig
 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:25:d3:7b:94:87
 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8c43UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST
 metric 0 mtu 1500
 ether 00:25:d3:7b:94:87
 inet6 fe80::225:d3ff:fe7b:9487%wlan0 prefixlen 64 scopeid 0x4
 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 8 (2447 MHz 11g)
 regdomain 33411 country RU indoor ecm authmode WPA1+WPA2/802.11i
 privacy MIXED deftxkey UNDEF txpower 20 bmiss 7 scanvalid 60
 protmode CTS wme burst roaming MANUAL
 # ifconfig wlan0 list scan
 SSID/MESH IDBSSID  CHAN RATE   S:N INT CAPS
 APT-SPB2b8:a3:86:4a:75:6a6   54M -92:-96  100 EP   HTCAP
 WPA RSN WME WPS
 THD1   74:ea:3a:d1:37:46   10   54M -85:-96  100 EP   RSN HTCAP WME
 Balt1   00:90:4c:c1:00:001   54M -90:-96  100 EP   RSN
 TP-LINK_904D2A  64:70:02:90:4d:2a   11   54M -94:-96  100 EPS  RSN
 HTCAP WME ATH WPS

 /var/log/messages
 ...
 Jul 23 15:34:24 x220 wpa_supplicant[669]: wlan0: CTRL-EVENT-TERMINATING
 Jul 23 15:34:24 x220 kernel: wlan0: Ethernet address: 00:25:d3:7b:94:87
 Jul 23 15:34:24 x220 devd: Executing '/etc/pccard_ether wlan0 start'
 Jul 23 15:34:24 x220 wpa_supplicant[2563]: Successfully initialized
 wpa_supplicant
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: Successfully initialized
 wpa_supplicant
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: ctrl_iface exists and seems
 to be in use - cannot override it
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: Delete
 '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: Failed to initialize
 control interface '/var/run/wpa_supplicant'. You may have another
 wpa_supplicant process already running or the file was left by an
 unclean termination of wpa_supplicant in which case you will need to
 manually remove this file before starting wpa_supplicant again.
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: ioctl[SIOCS80211, op=26,
 val=0, arg_len=0]: Operation not supported
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: ioctl[SIOCS80211, op=26,
 val=0, arg_len=0]: Operation not supported
 Jul 23 15:34:24 x220 root: /etc/rc.d/wpa_supplicant: WARNING: failed
 to start wpa_supplicant
 Jul 23 15:34:24 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 Jul 23 15:34:24 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
 Jul 23 15:34:25 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 Jul 23 15:34:25 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
 Jul 23 15:34:26 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 Jul 23 15:34:26 x220 kernel: ath0: ath_reset_grablock: didn't finish
 after 10 iterations
 Jul 23 15:34:26 x220 kernel: ath0: ath_reset_grablock: warning,
 recursive reset path!
 Jul 23 15:34:26 x220 kernel: ath0: ath_reset: concurrent reset! Danger!
 Jul 23 15:34:26 x220 kernel: ath0: ath_raw_xmit: sc_inreset_cnt  0; bailing
 Jul 23 15:34:26 x220 kernel: ath0: ath_raw_xmit: sc_inreset_cnt  0; bailing
 Jul 23 15:34:26 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
 Jul 23 15:34:27 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 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!
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to 

Re: Not work ATH (AR9285) after update

2013-07-23 Thread Andrey Fesenko
On Tue, Jul 23, 2013 at 5:13 PM, Adrian Chadd adr...@freebsd.org wrote:
 .. are two copies of wpa_supplicant running?



 -adrian

 On 23 July 2013 06:09, Andrey Fesenko f0and...@gmail.com wrote:
 Hello,
 i'm horrible news, after update my notebook not nave wi-fi :(
 full update system, build and install world and kernel.

 # uname -a
 FreeBSD x220.local 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253562: Tue
 Jul 23 14:44:07 MSK 2013
 root@x220.local:/usr/obj/usr/src/sys/W_BOOK  amd64

 # grep ATH /usr/src/sys/amd64/conf/W_BOOK
 options ATH_ENABLE_11N
 options ATH_DEBUG
 options ATH_DIAGAPI

 ath0@pci0:3:0:0:class=0x028000 card=0x1a891a3b chip=0x002b168c
 rev=0x01 hdr=0x00
 vendor = 'Atheros Communications Inc.'
 device = 'AR9285 Wireless Network Adapter (PCI-Express)'
 class  = network

 # ifconfig
 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:25:d3:7b:94:87
 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8c43UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST
 metric 0 mtu 1500
 ether 00:25:d3:7b:94:87
 inet6 fe80::225:d3ff:fe7b:9487%wlan0 prefixlen 64 scopeid 0x4
 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 8 (2447 MHz 11g)
 regdomain 33411 country RU indoor ecm authmode WPA1+WPA2/802.11i
 privacy MIXED deftxkey UNDEF txpower 20 bmiss 7 scanvalid 60
 protmode CTS wme burst roaming MANUAL
 # ifconfig wlan0 list scan
 SSID/MESH IDBSSID  CHAN RATE   S:N INT CAPS
 APT-SPB2b8:a3:86:4a:75:6a6   54M -92:-96  100 EP   HTCAP
 WPA RSN WME WPS
 THD1   74:ea:3a:d1:37:46   10   54M -85:-96  100 EP   RSN HTCAP WME
 Balt1   00:90:4c:c1:00:001   54M -90:-96  100 EP   RSN
 TP-LINK_904D2A  64:70:02:90:4d:2a   11   54M -94:-96  100 EPS  RSN
 HTCAP WME ATH WPS

 /var/log/messages
 ...
 Jul 23 15:34:24 x220 wpa_supplicant[669]: wlan0: CTRL-EVENT-TERMINATING
 Jul 23 15:34:24 x220 kernel: wlan0: Ethernet address: 00:25:d3:7b:94:87
 Jul 23 15:34:24 x220 devd: Executing '/etc/pccard_ether wlan0 start'
 Jul 23 15:34:24 x220 wpa_supplicant[2563]: Successfully initialized
 wpa_supplicant
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: Successfully initialized
 wpa_supplicant
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: ctrl_iface exists and seems
 to be in use - cannot override it
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: Delete
 '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: Failed to initialize
 control interface '/var/run/wpa_supplicant'. You may have another
 wpa_supplicant process already running or the file was left by an
 unclean termination of wpa_supplicant in which case you will need to
 manually remove this file before starting wpa_supplicant again.
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: ioctl[SIOCS80211, op=26,
 val=0, arg_len=0]: Operation not supported
 Jul 23 15:34:24 x220 wpa_supplicant[2571]: ioctl[SIOCS80211, op=26,
 val=0, arg_len=0]: Operation not supported
 Jul 23 15:34:24 x220 root: /etc/rc.d/wpa_supplicant: WARNING: failed
 to start wpa_supplicant
 Jul 23 15:34:24 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 Jul 23 15:34:24 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
 Jul 23 15:34:25 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 Jul 23 15:34:25 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
 Jul 23 15:34:26 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 Jul 23 15:34:26 x220 kernel: ath0: ath_reset_grablock: didn't finish
 after 10 iterations
 Jul 23 15:34:26 x220 kernel: ath0: ath_reset_grablock: warning,
 recursive reset path!
 Jul 23 15:34:26 x220 kernel: ath0: ath_reset: concurrent reset! Danger!
 Jul 23 15:34:26 x220 kernel: ath0: ath_raw_xmit: sc_inreset_cnt  0; bailing
 Jul 23 15:34:26 x220 kernel: ath0: ath_raw_xmit: sc_inreset_cnt  0; bailing
 Jul 23 15:34:26 x220 wpa_supplicant[2572]: wlan0: Failed to initiate AP scan
 Jul 23 15:34:27 x220 wpa_supplicant[2572]: ioctl[SIOCS80211, op=103,
 val=0, arg_len=128]: Operation now in progress
 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!

Not,
root@x220:~ # ps -A | grep wpa
 671  -  Ss   0:00.73 /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_suppl

Start, or 

Re: Not work ATH (AR9285) after update

2013-07-23 Thread Adrian Chadd
Ok, so.

On 23 July 2013 07:12, Andrey Fesenko f0and...@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?


 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@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
 0xf240-0xf240 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: 0x; 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.

 old log
 Jul  2 13:30:02 x220 kernel: ath0: Atheros 9285 mem
 0xf240-0xf240 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: 0x; 5GHz radio: 0x00c0

What's the svn revision on that?

 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: 

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

2013-07-23 Thread Andrey Fesenko
On Tue, Jul 23, 2013 at 6:21 PM, Adrian Chadd adr...@freebsd.org wrote:
 Ok, so.

 On 23 July 2013 07:12, Andrey Fesenko f0and...@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@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
 0xf240-0xf240 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: 0x; 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
 0xf240-0xf240 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: 0x; 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: