Bug 53771 - ath(9k) module reports beserk errors when not in use, related Oops
Summary: ath(9k) module reports beserk errors when not in use, related Oops
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 high
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 13:48 UTC by Mark E.
Modified: 2013-10-15 16:01 UTC (History)
6 users (show)

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


Attachments
syslog (4.24 KB, text/plain)
2013-02-13 13:48 UTC, Mark E.
Details

Description Mark E. 2013-02-13 13:48:10 UTC
Created attachment 93211 [details]
syslog

This seems to happen consistently when:

1) the wireless has been used, but then turned off and the interface taken down.
2) the system is subsequently suspended to ram

When woken up, a backtrace appears in syslog immediately and then the message "ath: phy0: PLL4 meaurement not done", repeated endlessly many times per second.  This will go on for hours if unnoticed and only stops when the ath9k module is removed.  An example of this is in the top part of the attachment.

I do not use the wireless much on this box, and after noticing this the first time I went back through my logs and it also occurred with my previous kernel, 3.6.2.

After removing the ath9k module, the 'df' command "Failed" and an Oops appears in syslog whenever df is tried.  An example of this is in the second part of the attachment.
Comment 1 Sujith 2013-06-03 02:29:33 UTC
Which wireless card are you using ? Can you post the output of lspci ?
Comment 2 Mark E. 2013-06-15 09:14:13 UTC
It's build into the motherboard:

Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 850d
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f7c00000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM at f7c80000 [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel

The card was not in use when this was taken.
Comment 3 Sujith 2013-06-15 09:24:39 UTC
Can you try with a recent kernel like 3.10-rc5 ? Various fixes for AR9485 have been merged recently.
Comment 4 Mark E. 2013-07-15 17:13:27 UTC
All apologies for the tardy reply.  I'm now using a (hand rolled) 3.9.6 and the problem hasn't reoccurred, if that makes sense -- I believe the menu options for atheros wifi are different in that version.
Comment 5 Mark E. 2013-07-18 15:22:20 UTC
I spoke to soon, although apparently the problem is not as predictable now as it was when first reported.  I'm going to switch to 3.10.1 today and will report back within the week.
Comment 6 Mark E. 2013-07-21 10:07:54 UTC
I just spend a while trying this with 3.10.1 and 3.9.6; it does not happen consistently on 3.9.6, but it does happen occasionally.

It happens consistently on 3.10.1 as per steps 1) and 2) in the original report. However, the `df` related Oops does not happen.

I did not manually alter the .config from 3.9.6 to 3.10.1.
Comment 7 Sujith 2013-08-20 06:25:45 UTC
A patch has been posted: https://patchwork.kernel.org/patch/2846838/

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