Comment 29 for bug 356768

Revision history for this message
shamwow (sh4m-w0w) wrote :

Allright kids I'm pretty sure this is an interrupt thing with atk5k. My Atheros-based PCI wireless card has always sucked pretty hard, but upon installing a fresh copy of Ubuntu 9.10 (Karmic Koala) , I'm getting random system hangs. I never got those with my old crappy copy of Ubuntu 8.x. But now EVERYTHING locks up, the capslock/numlock light starts blinking, mocking me...no mouse, no keyboard... and worst of all my Smiths mp3s stop playing, and I have to stop emo crying long enough to power cycle the machine. Needless to say, I cannot live like this, not when I'm trying to develop under Sun VirtualBox.

I'm pretty sure its ath5k somehow ... check out this kern.log. Crash occurred around Mar 14 20:18.

#Gnome segfaults like two hours previous. Big surprise there. Whatevs.
Mar 14 18:18:22 failwhale-desktop kernel: [87849.251192] gnome-screensav[12974]: segfault at 0 ip 00479f48 sp bfb46e60 error 4 in libGL.so.185.18.36[410000+81000]

#Nothing for two hours

#Then this "ath5k" unsupported jumbo thing. Sometimes its other ath5k related messages (noise calibration floor timeout). But always a crash within a few minutes proximity (<10mins).
Mar 14 20:12:38 failwhale-desktop kernel: [94705.066295] ath5k phy0: unsupported jumbo

#OH NOES CRASH !! HARD LOCK! ENTIRE SYSTEM FREEZE!

#Reboot
Mar 14 20:20:46 failwhale-desktop kernel: imklog 4.2.0, log source = /var/run/rsyslog/kmsg started.
Mar 14 20:20:46 failwhale-desktop kernel: [ 0.000000] Initializing cgroup subsys cpuset
Mar 14 20:20:46 failwhale-desktop kernel: [ 0.000000] Initializing cgroup subsys cpu
Mar 14 20:20:46 failwhale-desktop kernel: [ 0.000000] Linux version 2.6.31-20-generic (buildd@rothera) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 201

Anyway, I'm downloading the kernel sources right now, I'm going to patch this shit manually since its been going on since last April 2009 at least, if not longer.

Downloading
package: linux-source-2.6.31

and I'm going to attempt to manual patch these crap ath5k drivers with vi, then recompile the modules. I'll let you know how it goes.

I will be manually adding the ten necessary lines to the ath5k driver sources from Bob Copeland's patch found here:
http://bugzilla.kernel.org/attachment.cgi?id=19574

Naturally I will be using vi on a transparent xterm.

For the curious, here's system info:

root@failwhale-desktop:/usr/src# uname -a
Linux failwhale-desktop 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686 GNU/Linux

root@failwhale-desktop:/usr/src# lcpci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 LE] (rev a2)
03:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 AHCI Controller (rev 02)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
05:01.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
05:02.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 04)

Wish me luck