Bug 13900 - ath5k phy0: failed to wakeup the MAC Chip after resuming from standby
Summary: ath5k phy0: failed to wakeup the MAC Chip after resuming from standby
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Networking
Classification: Unclassified
Component: Wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: networking_wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 21:36 UTC by Vesa Vilhonen
Modified: 2014-09-30 10:27 UTC (History)
8 users (show)

See Also:
Kernel Version: 2.6.30
Subsystem:
Regression: No
Bisected commit-id:


Attachments
syslog (91.86 KB, text/plain)
2009-08-02 21:36 UTC, Vesa Vilhonen
Details

Description Vesa Vilhonen 2009-08-02 21:36:43 UTC
Created attachment 22580 [details]
syslog

Hi,

I have a AR2425 chip in Aspire One laptop. Wireless works fine until I use standby. Every time after resuming from standby after more than few minutes ath5k reports "failed to wakeup the MAC Chip" and after that "can't reset hardware (-5)". Device stays visible in ifconfig, but it can't find any APs or change any settings. I've been trying with 2.6.28,-29,-30,-31. The log shows a try with 2.6.30 with http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.31/compat-wireless-2.6.31-rc4.tar.bz2.
Comment 1 Vesa Vilhonen 2009-08-04 15:01:49 UTC
Can I do something to help with this? Try some patches add tracing or something?
Comment 2 Bob Copeland 2009-08-04 15:25:47 UTC
Sorry for lack of response, I've been a bit busy.  There's a patch on a linux-wireless for you to try:

http://patchwork.kernel.org/patch/38550/
Comment 3 Vesa Vilhonen 2009-08-04 16:46:15 UTC
No problem. I tried the patch but unfortunately got the exactly same error message.
Comment 4 Vesa Vilhonen 2009-08-04 16:46:59 UTC
To be exact, I applied it to that stable 2.6.31-rc4 I mentioned above.
Comment 5 Vesa Vilhonen 2009-08-10 17:19:42 UTC
Is there anything else I could try?
Comment 6 freeseek 2009-09-26 05:28:10 UTC
I have the exact same problem, my wireless card is a
Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
and I am using a NC20 laptop. Basically what happens is that some times, completely randomly, the wireless stop working, and dmesg is flooded with messages like this:

wlan0: No ProbeResp from current AP 00:14:bf:d3:01:cf - assume out of range                                    
ath5k phy0: failed to wakeup the MAC Chip                                                                      
ath5k phy0: can't reset hardware (-5)                                                                          
phy0: failed to set freq to 2412 MHz for scan                                                                  
ath5k phy0: failed to wakeup the MAC Chip                                                                      
ath5k phy0: can't reset hardware (-5)                                                                          
phy0: failed to set freq to 2417 MHz for scan                                                                  
ath5k phy0: failed to wakeup the MAC Chip                                                                      
ath5k phy0: can't reset hardware (-5)                                                                          
phy0: failed to set freq to 2422 MHz for scan                                                                  
ath5k phy0: failed to wakeup the MAC Chip                                                                      
ath5k phy0: can't reset hardware (-5)                                                                          
phy0: failed to set freq to 2427 MHz for scan                                                                  
ath5k phy0: failed to wakeup the MAC Chip                                                                      
ath5k phy0: can't reset hardware (-5)                                                                          
phy0: failed to set freq to 2432 MHz for scan                                                                  
phy0: failed to set freq to 2437 MHz for scan                                                                  
phy0: failed to set freq to 2442 MHz for scan                                                                  
phy0: failed to set freq to 2447 MHz for scan                                                                  
phy0: failed to set freq to 2452 MHz for scan                                                                  
phy0: failed to set freq to 2457 MHz for scan                                                                  
phy0: failed to set freq to 2462 MHz for scan                                                                  
phy0: failed to set freq to 2467 MHz for scan                                                                  
phy0: failed to set freq to 2472 MHz for scan                                                                  
phy0: failed to set freq to 2484 MHz for scan                                                                  
phy0: failed to restore operational channel after scan                                                         
wlan0: direct probe to AP 00:14:bf:d3:01:cf try 1                                                              
wlan0: direct probe to AP 00:14:bf:d3:01:cf try 2
wlan0: direct probe to AP 00:14:bf:d3:01:cf try 3
wlan0: direct probe to AP 00:14:bf:d3:01:cf timed out
__ratelimit: 21 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
phy0: failed to set freq to 2412 MHz for scan
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
phy0: failed to set freq to 2417 MHz for scan
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
phy0: failed to set freq to 2422 MHz for scan
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
phy0: failed to set freq to 2427 MHz for scan
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
phy0: failed to set freq to 2432 MHz for scan
phy0: failed to set freq to 2437 MHz for scan
phy0: failed to set freq to 2442 MHz for scan
phy0: failed to set freq to 2447 MHz for scan
phy0: failed to set freq to 2452 MHz for scan
phy0: failed to set freq to 2457 MHz for scan
phy0: failed to set freq to 2462 MHz for scan
phy0: failed to set freq to 2467 MHz for scan
phy0: failed to set freq to 2472 MHz for scan
phy0: failed to set freq to 2484 MHz for scan
phy0: failed to restore operational channel after scan

I am willing to debug if instructed how. A lot of people using the NC20 laptop have reported the same problem. I am using Ubuntu Jaunty and the kernel is
2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux
Comment 7 freeseek 2009-09-26 05:31:00 UTC
I forgot to say that removing and uploading the module again does not solve the problem. The only solution seems to be to reboot the machine.
Comment 8 Bob Copeland 2009-09-26 12:20:56 UTC
(In reply to comment #5)
> Is there anything else I could try?

Try the patches here:

http://bugzilla.kernel.org/show_bug.cgi?id=13092
Comment 9 Bob Copeland 2009-09-26 12:22:47 UTC
(In reply to comment #6)
> I have the exact same problem, my wireless card is a

Not really, this bug is about failure to wakeup after a suspend, whereas your problem happens at a random time.

> I am willing to debug if instructed how. A lot of people using the NC20
> laptop
> have reported the same problem. I am using Ubuntu Jaunty and the kernel is
> 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux

Try a recent kernel, I'm pretty sure this has been fixed.
Comment 10 freeseek 2009-09-26 14:04:54 UTC
I should have explained myself better. I used to have the same problem when waking up after suspend. The NC20 laptop had this problem that the screen would not turn back on after going off because of idling and the only solution was to suspend and resume and that's when I had most of wireless problems with the typical messages
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
Now the screen problem is fixes but I occasionally experience the same bug every once in a while. I assumed they were the same bug, but maybe I am wrong. I am going to do some testing with the new kernel 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux and see what happens. Anything I could do to increase the amount of debug messages from ath5k?
Comment 11 blah 2009-09-30 06:05:29 UTC
[   18.642950] ath5k 0000:04:00.0: enabling device (0000 -> 0002)
[   18.642959] ath5k 0000:04:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[   18.645932] ath5k 0000:04:00.0: registered as 'phy1'
[   18.656077] ath5k phy1: failed to wakeup the MAC Chip
[   18.656175] ath5k 0000:04:00.0: PCI INT A disabled
[   18.656254] ath5k: probe of 0000:04:00.0 failed with error -5

i also get this error on booting every time for the last year since ath5k came out. i am able to get the card working when using a backtrack 4 livecd however. but my main distro :
Linux zombie 2.6.29-sabayon #1 SMP Wed Aug 19 22:18:09 UTC 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz GenuineIntel GNU/Linux
doesnt like it.
the card is an SRC/5004/52xx one.

i reported this on ath dev mailing list about 4 months ago.
i was advised to try madwifi: i spent several months with that not working.
they advised me to go back to ath5k as madwifi is 'legacy'.

http://madwifi-project.org/ticket/2348
Comment 12 Bob Copeland 2009-09-30 06:09:50 UTC
Okay, well, try a recent kernel, 2.6.29 is quite old in ath5k terms.
Comment 13 blah 2009-09-30 06:36:34 UTC
my distro doesnt have any newer so it would require going out of my distros support which i dont like much. is there any way i can download a module like with compat-wireless or something ? 

also: this point seems moot because ive tested this in backtrack 4 - 2.6.29 - and it works. can you think of any reason why this would be ?
Comment 14 freeseek 2009-10-02 13:10:18 UTC
I have installed the latest kernel from Ubuntu Karmic, that is
2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux
but I still get the same problem. Here is a dmesg output:
ath5k phy0: noise floor calibration timeout (2462MHz)              
wlan0: no probe response from AP 00:14:bf:d3:01:cf - disassociating
ath5k phy0: failed to wakeup the MAC Chip                          
ath5k phy0: can't reset hardware (-5)                              
ath5k phy0: failed to wakeup the MAC Chip                          
ath5k phy0: can't reset hardware (-5)                              
ath5k phy0: failed to wakeup the MAC Chip                          
ath5k phy0: can't reset hardware (-5)                              
ath5k phy0: failed to wakeup the MAC Chip                          
ath5k phy0: can't reset hardware (-5)                              
ath5k phy0: failed to wakeup the MAC Chip                          
__ratelimit: 13 callbacks suppressed
Again, this happens for no particular reasons other than using the network when it happens, out of the blue. Can I do something to get more debug output? Why is it that even removing and inserting the driver does not make it work again? Couldn't at least a workaround be possible, if nobody is capable to fix this, like a reinitialization when the driver is inserted again? Having the reboot the machine is incredibly annoying and a lot of people are experiencing this same problem from what I read on a forum dedicated to the NC20 laptop.
Comment 15 Bob Copeland 2009-10-02 15:20:48 UTC
Try suspend-resume.  The problem is once the hardware is in a bad state like this, you actually have to disconnect power to it, resetting it doesn't help.

Can you send a pointer to the NC20 forum?  It could be a problem specific to a certain hw revision.
Comment 16 freeseek 2009-10-02 15:58:52 UTC
Wow, that is pretty lame. I guess that means there is no way to disconnect power to the device without suspending or turning off. This is really bad design of the card then. I wish I never bought it now. Anyway, here is the link to the forum:
http://ubuntuforums.org/showthread.php?t=1079314
But it runs for many pages, only here and then it talks about ath5k.
Comment 17 freeseek 2009-10-08 04:04:35 UTC
I tried suspend and resume. It does not help. So it is really the case that the problem is with resetting the card? I am really confused here. Is there anyway I can provide additional debug?
Comment 18 Bob Copeland 2009-10-08 12:38:48 UTC
So just some background -- up until 2.6.30, when we completely rewrote ath5k_reset_hw, there were some issues on some hardware that if you wrote certain registers in the wrong order, the PCI-e interface unit would lock up.  Consequently, any reads from the card just return 0xffffffff, then this usually manifested with the first ath5k_reset and you get 'failed to wake up MAC chip.'  I had this on my hardware in the <= 2.6.29 timeframe.  Usually, but not always, suspend/resume will fix it by powering off the card and powering it back on.

There's an _additional_ bug, which this bug report originally referred to, which is that some cards don't like going to low power state during suspend/resume; this was fixed in 2.6.31.3.  Unfortunately the symptoms are the same.

If you search bugzilla, you may find a patch from me for pre-2.6.30 that did some locking around reset (mostly slowing it down); however it led to hard lockups and I believe the reset rewrite in 2.6.30 obviates it.

Debugging it is difficult (I spent a fair amount of time doing so) but if you wish to give it a try, some printk's of what the driver is doing (register writes, function calls) just before the interface unit lockup would be useful.
Comment 19 freeseek 2009-10-08 16:06:58 UTC
Again, I am using kernel
2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux
I can easily install the next version, linux-image-2.6.31-12-generic (which maybe corresponds to 2.6.31.3? not sure how to check). Do I need to recompile a special version of ath5k or is it just possible to modprobe the driver with some special debugging parameter? If so, how? I have not much experience with that but I am willing to learn. Let me know.
Comment 20 freeseek 2009-10-22 03:33:51 UTC
This is what dmesg says after the device locking up and trying suspending and resuming:
ath5k 0000:01:00.0: enabling device (0000 -> 0002)
ath5k 0000:01:00.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28
ath5k 0000:01:00.0: setting latency timer to 64
ath5k 0000:01:00.0: registered as 'phy0'
ath5k phy0: failed to wakeup the MAC Chip
ath5k 0000:01:00.0: PCI INT A disabled
ath5k: probe of 0000:01:00.0 failed with error -5
Comment 21 Tomas Mudrunka 2010-05-03 23:55:36 UTC
I've got the same problem (older acer aspire) with 2.6.33:
https://bugzilla.kernel.org/show_bug.cgi?id=ath5k-wakeup
(i've created another bug, because at the beggining it seemed to be destroying
EEPROM...)
Comment 22 John W. Linville 2010-08-11 18:03:39 UTC
Does this problem persist with 2.6.35 (or later) kernels?
Comment 23 Tomas Mudrunka 2010-08-11 23:33:33 UTC
John: I am currently testing 2.6.35-ARCH, i'll let you know. is there any particular reason why it should be fixed or you are just curious if it was somehow magicaly fixed somewhere else? :-)
Comment 24 Tomas Mudrunka 2010-08-12 14:48:36 UTC
Crashed again. I have some ideas...

It crashes only when module is loaded, so there can be some workaround mechanism which will virtually "unload" the module to isolate and protect the rest of kernel from problems caused by that card.

Now after wakeup (before crash or module unload) it said me that device is not ready (failed to wakeup) and it was magicaly cured after module reload (for a while until it crashed definetely), so i guess that there IS way to fix card after wakeup, but we will probably need atheros people for this.
Comment 25 John W. Linville 2010-11-23 16:38:35 UTC
Any word from the ath5k folks on this one?
Comment 26 John W. Linville 2011-01-18 18:58:11 UTC
I'm not hearing any similar reports.  Is this issue still relevant for 2.6.37 or later?
Comment 27 John W. Linville 2011-03-17 19:17:26 UTC
Closing due to lack of response...
Comment 28 stager 2014-09-30 10:27:40 UTC
I have a same problem:

	======== Wireless-Info START ========

System-Info ~~~~~~~~~~~~~~~~~~~~~~~~

stager-Satellite-L40 3.13.0-36-generic i686,  Ubuntu 14.04.1 LTS, trusty

CPU    : Intel(R) Celeron(R) M CPU        520  @ 1.60GHz
Memory : 993 MB
Uptime : 14:05:06 up 4 min,  2 users,  load average: 3,01, 1,91, 0,78


lspci ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)
	Subsystem: Askey Computer Corp. WLL3141 (Toshiba PA3613U-1MPC) 802.11bg Wireless Mini PCIe Card [144f:7128]
	Kernel driver in use: ath5k
--
05:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter [10ec:8139] (rev 10)
	Subsystem: Toshiba America Info Systems Device [1179:ff40]
	Kernel driver in use: 8139too


lsusb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


PCMCIA Card Info ~~~~~~~~~~~~~~~~~~~

PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255


iwconfig ~~~~~~~~~~~~~~~~~~~~~~~~~~~

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          


rfkill ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      Interface        Soft blocked  Hard blocked
0: phy0: Wireless LAN      no            no


lsmod ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ath5k                 134977  0 
ath                    23922  1 ath5k
mac80211              546051  1 ath5k
cfg80211              409394  3 ath,ath5k,mac80211


module parameters ~~~~~~~~~~~~~~~~~~

ath5k         (3): e=Е.0 | e=Е | fastchanswitch=N | nohwcrypt=N | no_hw_rfkill_switch=N
cfg80211      (2): e=Е.0 | e=Е | cfg80211_disable_40mhz_24ghz=N | ieee80211_regdom=00
mac80211      (5): e=Е.0 | e=Е | beacon_loss_count=7 | ieee80211_default_rc_algo=minstrel_ht | max_nullfunc_tries=2 | max_probe_tries=5 | probe_wait_ms=500


nm-tool ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

State: disconnected
================o=============o=========o==============o=========o===========o==============o===========
 Interface & ID | Type        | Driver  | State        | Default | Speed     | Support      | HW Addr   
================o=============o=========o==============o=========o===========o==============o===========
 eth0           | Wired       | 8139too | unavailable  | no      |           |              | <MAC eth0>
----------------+-------------+---------+--------------+---------+-----------+--------------+-----------
 wlan0          | 802.11 WiFi | ath5k   | disconnected | no      |           | WEP/WPA/WPA2 | <MAC wlan0>

    ASUSrt:          Infra, <MAC C-NA ASUSrt 1>, Freq 2437 MHz, Rate 54 Mb/s, Strength 60 WPA
    bubaeee_Wi-Fi:   Infra, <MAC C-NA bubaeee_Wi-Fi 1>, Freq 2452 MHz, Rate 54 Mb/s, Strength 54 WPA2
    default:         Infra, <MAC C-NA default 1>, Freq 2412 MHz, Rate 54 Mb/s, Strength 35 WPA WPA2
    pro100mayki:     Infra, <MAC C-NA pro100mayki 1>, Freq 2437 MHz, Rate 54 Mb/s, Strength 22 WPA WPA2
    Hip-Hop:         Infra, <MAC C-NA Hip-Hop 1>, Freq 2437 MHz, Rate 54 Mb/s, Strength 22 WPA WPA2
    home16:          Infra, <MAC C-NA home16 1>, Freq 2462 MHz, Rate 54 Mb/s, Strength 12 WPA2
----------------+-------------+---------+--------------+---------+-----------+--------------+-----------


NetworkManager.state ~~~~~~~~~~~~~~~
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true


NetworkManager.conf ~~~~~~~~~~~~~~~~

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=true


NM WiFi Profiles ~~~~~~~~~~~~~~~~~~~

AndroidAP            : ssid=AndroidAP | mac-address=<MAC wlan0> | ipv4=auto | ipv6=auto 
StagerHome           : ssid=StagerHome | mac-address=<MAC wlan0> | ipv4=auto | ipv6=auto 
Моя Пррелесть~ : ssid=208;156;208;190;209;143;32;208;159;209;128;209;128;208;181;208;187;208;181;209;129;209;130;209;140;126; | mac-address=<MAC wlan0> | ipv4=auto | ipv6=auto 


interfaces ~~~~~~~~~~~~~~~~~~~~~~~~~

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

resolv.conf ~~~~~~~~~~~~~~~~~~~~~~~~



Routes & Ping ~~~~~~~~~~~~~~~~~~~~~~

Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface


iw reg get ~~~~~~~~~~~~~~~~~~~~~~~~~

(Region : ru_RU.UTF-8)
country 00:
	(2402 - 2472 @ 40), (3, 20)
	(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
	(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
	(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
	(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS


iwlist chan ~~~~~~~~~~~~~~~~~~~~~~~~

wlan0     13 channels in total; available frequencies :
          Channel 01 (2.412 GHz) - 13 (2.472 GHz)


iwlist scan ~~~~~~~~~~~~~~~~~~~~~~~~

wlan0     No scan results


blacklist ~~~~~~~~~~~~~~~~~~~~~~~~~~

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci


modinfo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ath5k]
filename:       /lib/modules/3.13.0-36-generic/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
srcversion:     F36818A2F0BCB2B0CC9BB8C
depends:        mac80211,cfg80211,ath
parm:           nohwcrypt:Disable hardware encryption. (bool)
parm:           fastchanswitch:Enable fast channel switching for AR2413/AR5413 radios. (bool)
parm:           no_hw_rfkill_switch:Ignore the GPIO RFKill switch state (bool)

[ath]
filename:       /lib/modules/3.13.0-36-generic/kernel/drivers/net/wireless/ath/ath.ko
srcversion:     88A67C5359B02C5A710AFCF
depends:        cfg80211

[mac80211]
filename:       /lib/modules/3.13.0-36-generic/kernel/net/mac80211/mac80211.ko
srcversion:     B822641624778B987844F6F
depends:        cfg80211
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/3.13.0-36-generic/kernel/net/wireless/cfg80211.ko
srcversion:     C2478077E22138832B71659
depends:        
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)


udev rules ~~~~~~~~~~~~~~~~~~~~~~~~~

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1e.0/0000:05:07.0 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC eth0>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0 (ath5k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC wlan0>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# USB device 0x:0x (dm9601)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC eth1>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# USB device 0x:0x (dm9601)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC eth2>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"


Custom files/entries ~~~~~~~~~~~~~~~

/etc/modules        : Not Default
/etc/rc.local       : Default
/etc/modprobe.d     : Not Default
/etc/pm/(cnf|pw|sl) : Default

[/etc/modules]
loop

[/etc/modprobe.d]
iwlwifi.conf      : remove iwlwifi \
                    (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
                    && /sbin/modprobe -r mac80211
                    options iwlwifi 11n_disable=1
iwlwifi.conf~     : options iwlwifi 11n_disable=1
mlx4.conf         : softdep mlx4_core post: mlx4_en


Kernel boot line ~~~~~~~~~~~~~~~~~~~

BOOT_IMAGE=/boot/vmlinuz-3.13.0-36-generic root=UUID=1d0f8417-f52d-42bc-9ea0-bb1b1514c9a8 ro splash quiet


dmesg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[    0.699003] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    0.699453] audit: initializing netlink socket (disabled)
[    1.481588] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[    1.551355] 8139too: 8139too Fast Ethernet driver 0.9.28
[   22.205932] ath5k 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[   22.206072] ath5k 0000:02:00.0: registered as 'phy0'
[   23.154114] ath: EEPROM regdomain: 0x65
[   23.154119] ath: EEPROM indicates we should expect a direct regpair map
[   23.154123] ath: Country alpha2 being used: 00
[   23.154125] ath: Regpair used: 0x65
[   23.272697] ath5k: phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[  120.349430] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  123.801065] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  123.801785] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  126.297509] wlan0: authenticate with <MAC ID removed>
[  126.307442] wlan0: send auth to <MAC ID removed> (try 1/3)
[  126.308599] wlan0: authenticated
[  126.310774] ath5k 0000:02:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[  126.310782] ath5k 0000:02:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[  126.312213] wlan0: associate with <MAC ID removed> (try 1/3)
[  126.320379] wlan0: RX AssocResp from <MAC ID removed> (capab=0x431 status=0 aid=1)
[  126.320622] wlan0: associated
[  126.320656] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  126.477705] wlan0: deauthenticating from <MAC ID removed> by local choice (reason=2)
[  126.479571] wlan0: authenticate with <MAC ID removed>
[  126.479790] wlan0: send auth to <MAC ID removed> (try 1/3)
[  126.481002] wlan0: authenticated
[  126.482808] ath5k 0000:02:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[  126.482815] ath5k 0000:02:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[  126.484081] wlan0: associate with <MAC ID removed> (try 1/3)
[  126.491739] wlan0: RX AssocResp from <MAC ID removed> (capab=0x431 status=0 aid=1)
[  126.491977] wlan0: associated
[  148.939524] ath5k: phy0: failed to wakeup the MAC Chip
[  148.939533] ath5k: phy0: can't reset hardware (-5)
[  149.059935] ath5k: phy0: failed to wakeup the MAC Chip
[  149.059942] ath5k: phy0: can't reset hardware (-5)
[  149.180343] ath5k: phy0: failed to wakeup the MAC Chip
[  149.180351] ath5k: phy0: can't reset hardware (-5)
[  149.305774] ath5k: phy0: failed to wakeup the MAC Chip
[  149.305783] ath5k: phy0: can't reset hardware (-5)
[  149.428499] ath5k: phy0: failed to wakeup the MAC Chip
[  149.428507] ath5k: phy0: can't reset hardware (-5)
[  150.396733] wlan0: authenticate with <MAC ID removed>
[  150.611184] wlan0: send auth to <MAC ID removed> (try 1/3)
[  151.820039] wlan0: send auth to <MAC ID removed> (try 2/3)
[  152.820077] wlan0: send auth to <MAC ID removed> (try 3/3)
[  153.820035] wlan0: authentication with <MAC ID removed> timed out
[  154.442866] net_ratelimit: 16 callbacks suppressed
[  154.442874] ath5k: phy0: failed to wakeup the MAC Chip
[  154.442878] ath5k: phy0: can't reset hardware (-5)
[  154.563090] ath5k: phy0: failed to wakeup the MAC Chip
[  154.563097] ath5k: phy0: can't reset hardware (-5)
[  154.684856] ath5k: phy0: failed to wakeup the MAC Chip
[  154.684864] ath5k: phy0: can't reset hardware (-5)
[  154.805308] ath5k: phy0: failed to wakeup the MAC Chip
[  154.805315] ath5k: phy0: can't reset hardware (-5)
[  154.926256] ath5k: phy0: failed to wakeup the MAC Chip
[  154.926263] ath5k: phy0: can't reset hardware (-5)
[  161.034452] net_ratelimit: 16 callbacks suppressed
[  161.034460] ath5k: phy0: failed to wakeup the MAC Chip
[  161.034465] ath5k: phy0: can't reset hardware (-5)
[  161.157144] ath5k: phy0: failed to wakeup the MAC Chip
[  161.157154] ath5k: phy0: can't reset hardware (-5)
[  161.280119] ath5k: phy0: failed to wakeup the MAC Chip
[  161.280127] ath5k: phy0: can't reset hardware (-5)
[  161.407626] ath5k: phy0: failed to wakeup the MAC Chip
[  161.407635] ath5k: phy0: can't reset hardware (-5)
[  161.595116] ath5k: phy0: failed to wakeup the MAC Chip
[  161.595125] ath5k: phy0: can't reset hardware (-5)
[  166.737807] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  166.948304] net_ratelimit: 16 callbacks suppressed
[  166.948312] ath5k: phy0: failed to wakeup the MAC Chip
[  166.948317] ath5k: phy0: can't reset hardware (-5)
[  167.074015] ath5k: phy0: failed to wakeup the MAC Chip
[  167.074024] ath5k: phy0: can't reset hardware (-5)
[  167.194070] ath5k: phy0: failed to wakeup the MAC Chip
[  167.194079] ath5k: phy0: can't reset hardware (-5)
[  167.317315] ath5k: phy0: failed to wakeup the MAC Chip
[  167.317323] ath5k: phy0: can't reset hardware (-5)
[  167.445827] ath5k: phy0: failed to wakeup the MAC Chip
[  167.445836] ath5k: phy0: can't reset hardware (-5)
[  193.128889] net_ratelimit: 42 callbacks suppressed
[  193.128897] ath5k: phy0: failed to wakeup the MAC Chip
[  193.128901] ath5k: phy0: can't reset hardware (-5)
[  193.250916] ath5k: phy0: failed to wakeup the MAC Chip
[  193.250924] ath5k: phy0: can't reset hardware (-5)
[  193.372316] ath5k: phy0: failed to wakeup the MAC Chip
[  193.372326] ath5k: phy0: can't reset hardware (-5)
[  193.492514] ath5k: phy0: failed to wakeup the MAC Chip
[  193.492522] ath5k: phy0: can't reset hardware (-5)
[  193.613815] ath5k: phy0: failed to wakeup the MAC Chip
[  193.613823] ath5k: phy0: can't reset hardware (-5)
[  226.130647] net_ratelimit: 16 callbacks suppressed
[  226.130654] ath5k: phy0: failed to wakeup the MAC Chip
[  226.130658] ath5k: phy0: can't reset hardware (-5)
[  226.252325] ath5k: phy0: failed to wakeup the MAC Chip
[  226.252333] ath5k: phy0: can't reset hardware (-5)
[  226.375480] ath5k: phy0: failed to wakeup the MAC Chip
[  226.375488] ath5k: phy0: can't reset hardware (-5)
[  226.497199] ath5k: phy0: failed to wakeup the MAC Chip
[  226.497205] ath5k: phy0: can't reset hardware (-5)
[  226.620850] ath5k: phy0: failed to wakeup the MAC Chip
[  226.620859] ath5k: phy0: can't reset hardware (-5)
[  249.314575] net_ratelimit: 16 callbacks suppressed
[  249.314583] ath5k: phy0: failed to wakeup the MAC Chip
[  249.314587] ath5k: phy0: can't reset hardware (-5)
[  249.464868] ath5k: phy0: failed to wakeup the MAC Chip
[  249.464877] ath5k: phy0: can't reset hardware (-5)
[  249.586796] ath5k: phy0: failed to wakeup the MAC Chip
[  249.586804] ath5k: phy0: can't reset hardware (-5)
[  249.707109] ath5k: phy0: failed to wakeup the MAC Chip
[  249.707116] ath5k: phy0: can't reset hardware (-5)
[  249.830768] ath5k: phy0: failed to wakeup the MAC Chip
[  249.830776] ath5k: phy0: can't reset hardware (-5)

	======== Done ========

Note You need to log in before you can comment on or make changes to this bug.