Bug 31702 - ath5k phy2: failed to wakeup the MAC Chip
ath5k phy2: failed to wakeup the MAC Chip
Status: CLOSED UNREPRODUCIBLE
Product: Drivers
Classification: Unclassified
Component: network-wireless
All Linux
: P1 normal
Assigned To: drivers_network-wireless@kernel-bugs.osdl.org
:
Depends on:
Blocks: 7216 27352
  Show dependency treegraph
 
Reported: 2011-03-22 19:15 UTC by Justin P. Mattock
Modified: 2014-09-30 10:28 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.38-git
Tree: Mainline
Regression: Yes


Attachments
latest Mainline kernel (88.20 KB, application/octet-stream)
2011-04-30 22:36 UTC, Justin P. Mattock
Details

Description Justin P. Mattock 2011-03-22 19:15:12 UTC
on my dell inspiron, the wireless card does not wakeup from suspend
(I will supply the card info once I get to the machine(DWLG-650(I think))
this is showing up in dmesg:

#
[ 576.986047] PGTBL_ER: 0x00000003
#
[ 577.004163] e100 0000:02:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex
#
[ 583.164062] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
#
[ 583.164092] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 1 at 0, next 2)
#
[ 583.164423] [drm:i915_reset] *ERROR* Failed to reset chip.
#
[ 609.004333] e100 0000:02:08.0: eth0: NIC Link is Down
#
[ 633.305052] ath5k phy2: failed to wakeup the MAC Chip
#
[ 633.305074] ath5k phy2: can't reset hardware (-5)
#
[ 633.417029] ath5k phy2: failed to wakeup the MAC Chip
#
[ 633.417038] ath5k phy2: can't reset hardware (-5)
#
[ 633.529042] ath5k phy2: failed to wakeup the MAC Chip
#
[ 633.529052] ath5k phy2: can't reset hardware (-5)
#
[ 633.653890] ath5k phy2: failed to wakeup the MAC Chip
#
[ 633.653906] ath5k phy2: can't reset hardware (-5)
#
[ 633.766441] ath5k phy2: failed to wakeup the MAC Chip
#
[ 633.766454] ath5k phy2: can't reset hardware (-5)
#
[ 655.004204] e100 0000:02:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex
#
[ 673.307014] net_ratelimit: 12 callbacks suppressed
#
[ 673.307020] ath5k phy2: failed to wakeup the MAC Chip
#
[ 673.307038] ath5k phy2: can't reset hardware (-5)
#
[ 673.431202] ath5k phy2: failed to wakeup the MAC Chip
#
[ 673.431220] ath5k phy2: can't reset hardware (-5)
#
[ 673.543439] ath5k phy2: failed to wakeup the MAC Chip
#
[ 673.543452] ath5k phy2: can't reset hardware (-5)
#
[ 673.655438] ath5k phy2: failed to wakeup the MAC Chip
#
[ 673.655447] ath5k phy2: can't reset hardware (-5)
#
[ 673.768267] ath5k phy2: failed to wakeup the MAC Chip
#
[ 673.768276] ath5k phy2: can't reset hardware (-5)
#
[ 723.304968] net_ratelimit: 12 callbacks suppressed
#
[ 723.304974] ath5k phy2: failed to wakeup the MAC Chip
#
[ 723.304993] ath5k phy2: can't reset hardware (-5)
#
[ 723.429219] ath5k phy2: failed to wakeup the MAC Chip
#
[ 723.429238] ath5k phy2: can't reset hardware (-5)
#
[ 723.541456] ath5k phy2: failed to wakeup the MAC Chip
#
[ 723.541469] ath5k phy2: can't reset hardware (-5)
#
[ 723.653440] ath5k phy2: failed to wakeup the MAC Chip
#
[ 723.653449] ath5k phy2: can't reset hardware (-5)
#
[ 723.768977] ath5k phy2: failed to wakeup the MAC Chip
#
[ 723.768991] ath5k phy2: can't reset hardware (-5)


here is full dmesg:
http://fpaste.org/HYVU/
Comment 1 Justin P. Mattock 2011-04-30 22:36:29 UTC
Created attachment 56042 [details]
latest Mainline kernel

seems the module is working properly after waking up now with the current Mainline(wireless recovers) dmesg attached
Comment 2 stager 2014-09-30 10:28:47 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.