[intrepid] ath5k linux-backports-modules crash

Bug #290991 reported by Fajar A. Nugraha
50
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux-backports-modules-2.6.27 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: linux-backports-modules-2.6.27-7-generic

I'm running intrepid on acer aspire one. Bultin wireless card (from lspci) :
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Sometimes wireless would stop working with this error on syslog :

Oct 30 14:28:06 acer kernel: [ 130.534664] ------------[ cut here ]------------
Oct 30 14:28:06 acer kernel: [ 130.534678] WARNING: at /build/buildd/linux-backports-modules-2.6.27-2.6.27/debian/build/build-generic/compat-wireless-2.6/net/mac80211
/main.c:232 ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211]()
Oct 30 14:28:06 acer kernel: [ 130.534701] Modules linked in: af_packet i915 drm binfmt_misc ipv6 rfcomm bridge stp bnep sco l2cap bluetooth vboxdrv ppdev parport_pc
lp parport pci_slot sbs sbshc container iptable_filter ip_tables x_tables arc4 ecb crypto_blkcipher ath5k lbm_cw_mac80211 lbm_cw_cfg80211 cpufreq_ondemand cpufreq_user
space acpi_cpufreq freq_table joydev mmc_block snd_hda_intel snd_pcm_oss acer_wmi snd_mixer_oss led_class uvcvideo snd_pcm compat_ioctl32 videodev v4l1_compat evdev vi
deo output snd_seq_dummy wmi sdhci_pci sdhci mmc_core r8101 snd_seq_oss snd_seq_midi snd_rawmidi battery ac button snd_seq_midi_event psmouse snd_seq serio_raw snd_timer snd_seq_device iTCO_wdt iTCO_vendor_support snd intel_agp agpgart shpchp pci_hotplug soundcore snd_page_alloc pcspkr ext3 jbd mbcache sd_mod crc_t10dif sg pata_acpi ata_generic ata_piix libata scsi_mod dock ehci_hcd uhci_hcd usbcore thermal processor fan fbcon tileblit font bitblit softcursor fuse
Oct 30 14:28:06 acer kernel: [ 130.535064] Pid: 3747, comm: ath5k_pci Not tainted 2.6.27-7-generic #1
Oct 30 14:28:06 acer kernel: [ 130.535078] [<c037c3f6>] ? printk+0x1d/0x1f
Oct 30 14:28:06 acer kernel: [ 130.535104] [<c0131de9>] warn_on_slowpath+0x59/0x90
Oct 30 14:28:06 acer kernel: [ 130.535152] [<c025134a>] ? __ratelimit+0xba/0xe0
Oct 30 14:28:06 acer kernel: [ 130.535174] [<c037c3f6>] ? printk+0x1d/0x1f
Oct 30 14:28:06 acer kernel: [ 130.535220] [<f8ca3a38>] ? ath5k_reset+0x208/0x210 [ath5k]
Oct 30 14:28:06 acer kernel: [ 130.535271] [<c036940f>] ? wireless_send_event+0x15f/0x230
Oct 30 14:28:06 acer kernel: [ 130.535300] [<f8cdb875>] ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211]
Oct 30 14:28:06 acer kernel: [ 130.535353] [<f8ce0527>] lbm_cw_ieee80211_scan_completed+0xb7/0x2f0 [lbm_cw_mac80211]
Oct 30 14:28:06 acer kernel: [ 130.535408] [<c0143f3b>] ? queue_work_on+0x4b/0x60
Oct 30 14:28:06 acer kernel: [ 130.535436] [<f8ce07cd>] ieee80211_scan_work+0x6d/0x180 [lbm_cw_mac80211]
Oct 30 14:28:06 acer kernel: [ 130.535493] [<f8ce0760>] ? ieee80211_scan_work+0x0/0x180 [lbm_cw_mac80211]
Oct 30 14:28:06 acer kernel: [ 130.535546] [<c0143645>] run_workqueue+0x95/0x160
Oct 30 14:28:06 acer kernel: [ 130.535564] [<c0147576>] ? finish_wait+0x16/0x70
Oct 30 14:28:06 acer kernel: [ 130.535583] [<c01438e8>] worker_thread+0x88/0xf0
Oct 30 14:28:06 acer kernel: [ 130.535601] [<c01474b0>] ? autoremove_wake_function+0x0/0x50
Oct 30 14:28:06 acer kernel: [ 130.535621] [<c0143860>] ? worker_thread+0x0/0xf0
Oct 30 14:28:06 acer kernel: [ 130.535640] [<c0147141>] kthread+0x41/0x80
Oct 30 14:28:06 acer kernel: [ 130.535656] [<c0147100>] ? kthread+0x0/0x80
Oct 30 14:28:06 acer kernel: [ 130.535675] [<c0105297>] kernel_thread_helper+0x7/0x10
Oct 30 14:28:06 acer kernel: [ 130.535695] =======================
Oct 30 14:28:06 acer kernel: [ 130.535706] ---[ end trace d8bbd9c128eb2cd5 ]---
Oct 30 14:28:06 acer kernel: [ 130.537802] ------------[ cut here ]------------

After this error occured, wireless would stop working :
- iwlist wlan0 scanning returns no result or complains about device down
- ifconfig wlan0 up says device not available
- network manager applet shows no available network

rebooting doesn't fix the problem; shutdown and cold startup required.
This error most often occures when connecting to WPA2 network. In my case, I'm using
- linux-backports-modules-2.6.27-7-generic 2.6.27-7.4
- network-manager 0.6.6-0ubuntu5 (from hardy, needed due to wireless settings)
- WPA2 Enterprise/PEAP/GTC

Connecting to non-encrypted networks works fine.

Revision history for this message
Specx (adautomeira) wrote :

I'm having the same problem.

I'm using a WPA2 personal connection.

Sometimes it connects and others don't.

Sometimes, I don't know, when or how, it changes the BSSID from 00:00:00:00:00:00 (for example) to none.

Revision history for this message
Leon Nardella (leon.nardella) wrote :

I can confirm this bug.
Sometimes wireless will stop working and it works again after a reboot, a cold boot being needed.
I'm willing to send you whatever logs you need, just let me know how.

Revision history for this message
Ivo Cavalcante (iscc) wrote :

Exactly same behavior here. Not sure it helps, but I can reproduce the error quite easy: connect to network "A" (WPA2 Personal), then to "B" (not-secure), then back to "A" - error triggered, no connection at all, cold boot required. Also, if connected to "A" and, for some reason, need to reconnect (reset the router, e.g.), the problem rises again.

My system is a Microboard Centturion Plus notebook (Brazilian brand). Any information needed, just ask!

Revision history for this message
Ivo Cavalcante (iscc) wrote :

Some more information: my system is a Turion X2, Ubuntu 8.10 amd64 (upgraded from 8.04).

lspci -v output (edited):

06:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
        Subsystem: Device 1a3b:1026
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at fe1f0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ath5k_pci
        Kernel modules: ath5k, ath_pci

Revision history for this message
Duncan Cockburn (cobi) wrote :

Another 'me too'. I have exactly the same hardware, and see the same syslog as Fajar, but I'm using the latest network-manager from Intrepid and attempting to connect to an WPA2 enterprise network using PEAP.

I have been able to connect to LEAP and encrypted WPA networks without these problems.

Revision history for this message
Duncan Cockburn (cobi) wrote :

For whatever reason this has now started working - so I can't attach a dmesg showing the error from boot. However I've attached the hardware config for completeness and keep an eye out if it happens again. The dmesg output was definitely similar to the reporters with the 'not tainted' line followed by the trace

Revision history for this message
Duncan Cockburn (cobi) wrote :
Revision history for this message
Duncan Cockburn (cobi) wrote :
Revision history for this message
Duncan Cockburn (cobi) wrote :

And finally, a dmesg.log showing the problem...

It connected ok to the network, then disconnected, reconnected, disconnected ... and here is the error.

Revision history for this message
Eduardo Cereto (dudus) wrote :

I'm marking this bug as Confirmed since at least three people have confirmed it. I'm also experiencing the very same issue

Changed in linux-backports-modules-2.6.27:
status: New → Confirmed
Revision history for this message
Kare Nuorteva (kare) wrote :

I'm experiencing this bug also. Any additional info required?

Revision history for this message
Fajar A. Nugraha (fajar-fajar) wrote :
Download full text (3.5 KiB)

Still happens on linux-image-2.6.27-9-generic and linux-backports-modules-2.6.27-9-generic. Looking at the trace, the problematic module might be mac80211, which is on linux-image-2.6.27-9-generic.

Dec 22 09:59:27 acer kernel: [ 239.461219] ------------[ cut here ]------------
Dec 22 09:59:27 acer kernel: [ 239.461241] WARNING: at /build/buildd/linux-backports-modules-2.6.27-2.6.27/debian/build/build-generic/compat-wireless-2.6/net/mac80211/rx.c:2200 __lbm_cw_ieee80211_rx+0x19f/0x600 [lbm_cw_mac80211]()
Dec 22 09:59:27 acer kernel: [ 239.461253] Modules linked in: af_packet i915 drm binfmt_misc bridge stp bnep rfcomm sco l2cap bluetooth vboxdrv ipv6 ppdev parport_pc lp parport pci_slot sbs sbshc container iptable_filter ip_tables x_tables arc4 ecb crypto_blkcipher ath5k lbm_cw_mac80211 lbm_cw_cfg80211 cpufreq_ondemand cpufreq_userspace acpi_cpufreq freq_table joydev mmc_block acer_wmi led_class snd_hda_intel video snd_pcm_oss snd_mixer_oss output uvcvideo compat_ioctl32 evdev videodev v4l1_compat snd_pcm sdhci_pci sdhci wmi mmc_core snd_seq_dummy r8101 psmouse battery serio_raw ac button snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device iTCO_wdt iTCO_vendor_support snd pcspkr intel_agp shpchp pci_hotplug agpgart soundcore snd_page_alloc ext3 jbd mbcache sd_mod crc_t10dif sg pata_acpi ata_generic ata_piix libata scsi_mod dock ehci_hcd uhci_hcd usbcore thermal processor fan fbcon tileblit font bitblit softcursor fuse
Dec 22 09:59:27 acer kernel: [ 239.461468] Pid: 5231, comm: Xorg Tainted: G W 2.6.27-9-generic #1
Dec 22 09:59:27 acer kernel: [ 239.461477] [<c037c4b6>] ? printk+0x1d/0x1f
Dec 22 09:59:27 acer kernel: [ 239.461495] [<c0131de9>] warn_on_slowpath+0x59/0x90
Dec 22 09:59:27 acer kernel: [ 239.461529] [<c037e578>] ? _read_lock+0x8/0x20
Dec 22 09:59:27 acer kernel: [ 239.461553] [<c0214ba8>] ? cap_socket_sock_rcv_skb+0x8/0x10
Dec 22 09:59:27 acer kernel: [ 239.461569] [<c02fec15>] ? sk_filter+0x85/0xc0
Dec 22 09:59:27 acer kernel: [ 239.461583] [<c03351f8>] ? tcp_v4_rcv+0x508/0x6f0
Dec 22 09:59:27 acer kernel: [ 239.461597] [<c0316efd>] ? ip_local_deliver_finish+0xad/0x1a0
Dec 22 09:59:27 acer kernel: [ 239.461610] [<c031707f>] ? ip_local_deliver+0x8f/0xa0
Dec 22 09:59:27 acer kernel: [ 239.461623] [<c0316e50>] ? ip_local_deliver_finish+0x0/0x1a0
Dec 22 09:59:27 acer kernel: [ 239.461636] [<c0316856>] ? ip_rcv_finish+0x156/0x340
Dec 22 09:59:27 acer kernel: [ 239.461653] [<f8cd19af>] __lbm_cw_ieee80211_rx+0x19f/0x600 [lbm_cw_mac80211]
Dec 22 09:59:27 acer kernel: [ 239.461689] [<c014a72d>] ? enqueue_hrtimer+0x7d/0x130
Dec 22 09:59:27 acer kernel: [ 239.461703] [<c02eae1c>] ? skb_put+0xc/0xa0
Dec 22 09:59:27 acer kernel: [ 239.461716] [<c014b474>] ? hrtimer_start+0xc4/0x1c0
Dec 22 09:59:27 acer kernel: [ 239.461733] [<f8ca7c83>] ath5k_tasklet_rx+0x2e3/0x550 [ath5k]
Dec 22 09:59:27 acer kernel: [ 239.461756] [<c0118e38>] ? read_hpet+0x8/0x20
Dec 22 09:59:27 acer kernel: [ 239.461771] [<c0137258>] tasklet_action+0x78/0x100
Dec 22 09:59:27 acer kernel: [ 239.461783] [<c0137682>] __do_softirq+0x92/0x120
Dec 22 09:59:27 acer kernel: [ 239.461794] [<c01377...

Read more...

Revision history for this message
Max Bowsher (maxb) wrote :

I have an Aspire One (AR2425 chip), and *was* experiencing this occasionally - but not since upgrading to the 2.6.27-10 / -11 kernel and linux-backports-modules from intrepid-proposed. I hesitate to say "fixed", since I could never reproduce reliably, but it seems worth a try for other people experiencing the same problem.

Revision history for this message
michaël (mr-michaelcox) wrote :

I can confirm this bug on my asus x51RL running intrepid (backports-generic modules installed). This ath5k driver frequently crashes my whole system too (not reachable via ssh, nor ctrl-alt-backspace, nor the alt-sysrq R E I S U B combo's can save it).

Revision history for this message
Leon Nardella (leon.nardella) wrote :

This bug seems to be fixed on my Acer Aspire One on Intrepid's kernel 2.6.27-11.
I've done several reboots since yesterday and the wireless network is being picked and working just as expected.

The only issue I had was that I lost any wireless connectivity after upgrading the kernel, since the respective backports modules weren't installed.

I wonder whether it's the expected behavior or it should be installed automatically.

All in all, congrats!

Revision history for this message
Florian Echtler (floe) wrote :

On my Aspire One, running Intrepid and kernel 2.6.27-11 also, I don't see the failed connection problem. However, I tend to get a complete system freeze when transferring larger amounts of data via ssh. Numlock light flashes, indicating a kernel panic.

Revision history for this message
blackest_knight (blackest-knight) wrote :

I strongly suspect there is a hardware issue with the Aspire One rather than a software one, my Aspire one is often up for days then the wifi stops working and after several attempts the only thing thats worked was to power down and remove the battery. The hardware literally disappears from the system. I seem to experience this problem when the Aspire One has been left on a soft surface like a bed or a chair so maybe i'm not allowing it enough ventilation, however the system didn't seem particularly warm.

This is on ubuntu hardy, there are a lot of reports with wireless quitting on windows too. Acer built down to a price and maybe this is the cost.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.