← Back to team overview

kernel-packages team mailing list archive

[Bug 432353] Re: ath5k: phy0: failed to wakeup the MAC Chip

 

I have this bug now.
After reboot through 30sec, or 1 - 5 min - wi-fi down, with "failed to wakeup the MAC Chip" log.
Same as after resuming, or on/off wi-fi by hardware or software button.


	======== 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@xxxxxxxxxxxxxxxxxxxx>, 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 ========

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/432353

Title:
  ath5k: phy0: failed to wakeup the MAC Chip

Status in The Linux Kernel:
  Expired
Status in “linux” package in Ubuntu:
  Invalid
Status in Debian GNU/Linux:
  New

Bug description:
  Binary package hint: linux-image-generic

  The right package is linux-image-2.6.31-020631-generic, but launchpad
  doesn't let me enter that.

  After resuming, my wireless card isn't working anymore.
  I have to do a manual pccardctl eject/insert to make it work again.

  lspci:
  03:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)

  kern.log:
  ath5k phy0: failed to wakeup the MAC Chip
  ath5k phy0: can't reset hardware (-5)

  There's a bug entry:
  http://bugzilla.kernel.org/show_bug.cgi?id=13900

  and a patch:
  http://patchwork.kernel.org/patch/38550/

  I think this shold be included before karmic is released. Are you
  going to track 2.6.31.y stable for karmic? Mr. Copeland emailed me
  that this patch is going to be included there.

  Otherwise karmic will be broken for me. :(

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/432353/+subscriptions