From: Philipp Raich Date: Tue, 11 Oct 2011 20:38:58 +0200 Subject: [ath9k-devel] need help debugging/pinning down obscure freezes/hangs using AR9287 Message-ID: <8E4915FC-90CA-46C6-B15D-BFFC3037BA22@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi. When using the ath9k module my system freezes in less than a few minutes, and I'm not able to find out why. Could someone help me by telling me where to find useful information on where or why this happens? (Or should i begin to insert my own debugging-output in the code???) The crashes almost disappear if i crank the TX-Power up and thus improve the signal quality (i think this could be a hint), and almost only appear when the connection is under "heavy load" (firing up a youtube-video works reliably most of the time), but may also appear at any given time. [To me it sounds like something the module expects to be there gets "lost"... (null-pointer anyone?)] Even worse, I do not have a working SysRq-Key on this machine (remapping other key did not work, PS/2-keyboard won't work), but I think it would be useless anyway, the tty running Xorg usually shows a beautiful color-pattern as soon as the crashes occur, when running a serial console as it happens, the screen just freezes. I used the almost recent version of ath9k (via compat-wireless tarball '2011-10-10') and enabled debugging as far as I could get it to work (I see the nodes under /sys/kernel/debug/ieee80211/phy0/ath9k but could not find anything really helpful there... Mostly because I have no idea where to look and what the numbers mean I was not able to find any insightful documentation). What would be most interesting to me is, what happens before the crashes occur? What is ath9k doing? The usual kernel-debugging stuff... I thought I saw debug-printks in the code, and hoped to enable it via 'modprobe ath9k debug=0xffffffff', but with no luck. Was it disabled in the recent past? Did I miss a step in enabling it? Can somebody give me a little guidance on what to do next? I would really like to improve the situation for me and everyone else, or at least help as much as I can, and I think I need a hint. Thanks, Philipp Raich