system half-hangs after wifi scan

Bug #48642 reported by booyo
12
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: kernel-image-2.6.15-23-386-di

some times, not allways system half-hangs after wifi network scan
half-hangs - its not possible to run sudo, ifconfig, iwconfig commands, network is down/hang, KDE is working normally (all not network related software)

part of dmesg:
4295330.743000] Unable to handle kernel paging request at virtual address 0000ffff
[4295330.743000] printing eip:
[4295330.744000] f8aeb183
[4295330.744000] *pde = 00000000
[4295330.744000] Oops: 0000 [#1]
[4295330.744000] PREEMPT
[4295330.744000] Modules linked in: i915 drm ipv6 binfmt_misc rfcomm l2cap bluetooth ppdev cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac i2c_acpi_ec i2c_core dm_mod af_packet md_mod parport_pc lp parport pcmcia yenta_socket rsrc_nonstatic pcmcia_core joydev 8139cp ath_pci ath_rate_sample 8139too mii wlan ath_hal psmouse serio_raw snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer rtc snd soundcore snd_page_alloc intel_agp agpgart tsdev evdev usbhid ext3 jbd ide_generic ehci_hcd uhci_hcd usbcore ide_cd cdrom ide_disk piix generic thermal processor fan capability commoncap vga16fb vgastate fbcon tileblit font bitblit softcursor
[4295330.744000] CPU: 0
[4295330.744000] EIP: 0060:[<f8aeb183>] Tainted: P VLI
[4295330.744000] EFLAGS: 00210246 (2.6.15-23-386)
[4295330.744000] EIP is at read_ap_result+0x1c3/0x55b [wlan]
[4295330.744000] eax: 0000ffff ebx: e808de94 ecx: 00000000 edx: f2ec6000
[4295330.744000] esi: f2ec60f5 edi: f09c101c ebp: f09c101c esp: e808dd70
[4295330.744000] ds: 007b es: 007b ss: 0068
[4295330.744000] Process iwlist (pid: 5697, threadinfo=e808c000 task=e801f550)
[4295330.744000] Stack: c18f0e38 f8934ba9 e34c92c0 e34c92c0 c18f0e38 f89307b6 f283c6b0 f09c2000
[4295330.744000] 00000001 e808df20 e7807bac c018466a c18f0e38 dfcdc600 4485368e 00000000
[4295330.744000] c18f0e38 e808df20 e7807bac 00000000 c017b92a c18f0e38 00000001 4485368e
[4295330.744000] Call Trace:
[4295330.744000] [<f8934ba9>] __ext3_journal_stop+0x19/0x40 [ext3]
[4295330.744000] [<f89307b6>] ext3_dirty_inode+0x56/0x70 [ext3]
[4295330.744000] [<c018466a>] __mark_inode_dirty+0x2a/0x190
[4295330.744000] [<c017b92a>] update_atime+0x7a/0x90
[4295330.744000] [<c01403aa>] do_generic_mapping_read+0x30a/0x4e0
[4295330.744000] [<c014ee61>] zap_pte_range+0x181/0x2a0
[4295330.744000] [<c014f062>] unmap_page_range+0xe2/0x130
[4295330.744000] [<f8ae6002>] ieee80211_iterate_nodes+0x6b/0xc2 [wlan]
[4295330.744000] [<f8aeafc0>] read_ap_result+0x0/0x55b [wlan]
[4295330.744000] [<f8aecc55>] ieee80211_ioctl_giwscan+0x5c/0xa8 [wlan]
[4295330.744000] [<f8aeafc0>] read_ap_result+0x0/0x55b [wlan]
[4295330.744000] [<c028b7ca>] wireless_process_ioctl+0x61a/0x790
[4295330.744000] [<f8b09428>] ath_ioctl_giwscan+0x0/0x18 [ath_pci]
[4295330.744000] [<c0280e0b>] dev_ioctl+0x25b/0x2b0
[4295330.744000] [<c0172ed2>] do_ioctl+0x22/0x80
[4295330.744000] [<c01730b1>] vfs_ioctl+0x51/0x1f0
[4295330.744000] [<c01732ad>] sys_ioctl+0x5d/0x90
[4295330.744000] [<c010302b>] sysenter_past_esp+0x54/0x79
[4295330.744000] Code: 8b 43 04 89 42 04 89 ca 8b 84 24 dc 00 00 00 89 50 10 c7 03 00 00 00 00 66 c7 43 02 05 8b 8b 94 24 e0 00 00 00 8b 82 28 01 00 00 <0f> b7 00 69 c0 a0 86 01 00 89 43 04 66 c7 43 08 01 00 8b 8c 24
[4295330.744000] <6>note: iwlist[5697] exited with preempt_count 1

lspci -v:
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] #09 [3109]

0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, fast devsel, latency 0, IRQ 185
        Memory at b0080000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Memory at b0000000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [d0] Power Management version 2

0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: fast devsel
        Memory at 52000000 (32-bit, non-prefetchable) [disabled] [size=512K]
        Capabilities: [d0] Power Management version 2

0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0, IRQ 193
        I/O ports at 1820 [size=32]

0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0, IRQ 201
        I/O ports at 1840 [size=32]

0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0, IRQ 209
        I/O ports at 1860 [size=32]

0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0, IRQ 217
        I/O ports at 1880 [size=32]

0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0, IRQ 193
        Memory at b0040000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] #0a [20a0]

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=0a, sec-latency=168
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: b0100000-b01fffff
        Prefetchable memory behind bridge: 0000000050000000-0000000051f00000
        Capabilities: [50] #0d [0000]

0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0, IRQ 177
        I/O ports at 1c00 [size=256]
        I/O ports at 18c0 [size=64]
        Memory at b0040800 (32-bit, non-prefetchable) [size=512]
        Memory at b0040400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: medium devsel, IRQ 177
        I/O ports at 2400 [size=256]
        I/O ports at 2000 [size=128]
        Capabilities: [50] Power Management version 2

0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0

0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 0, IRQ 185
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at 1810 [size=16]

0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: medium devsel, IRQ 11
        I/O ports at 20a0 [size=32]

0000:06:05.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001a (rev 01)
        Subsystem: AMBIT Microsystem Corp.: Unknown device 0418
        Flags: bus master, medium devsel, latency 168, IRQ 177
        Memory at b0100000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2

0000:06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 32, IRQ 225
        I/O ports at 3000 [size=256]
        Memory at b0110000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

0000:06:09.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
        Subsystem: Acer Incorporated [ALI]: Unknown device 006a
        Flags: bus master, medium devsel, latency 168, IRQ 169
        Memory at b0111000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=06, secondary=07, subordinate=0a, sec-latency=176
        Memory window 0: 50000000-51fff000 (prefetchable)
        Memory window 1: 54000000-55fff000
        I/O window 0: 00003400-000034ff
        I/O window 1: 00003800-000038ff
        16-bit legacy interface ports at 0001

Revision history for this message
karim (saidkarim) wrote : iwlist scanning - hangs after wifi scan - kernel----2.6.15-23-686
Download full text (6.5 KiB)

Hi
I can confirme that:
My `uname -r`is: 2.6.15-23-686
iwlist ath0 scanning . hangs and no way to kil the process. dmesg related to this issue is:

---------------------
[4296203.478000] ath_hal: module license 'Proprietary' taints kernel.
[4296203.480000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
[4296203.548000] wlan: 0.8.6.0 (EXPERIMENTAL)
[4296203.565000] ath_rate_sample: 1.2
[4296203.604000] ath_pci: 0.9.6.0 (EXPERIMENTAL)
[4296203.606000] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[4296203.606000] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[4296204.044000] Build date: May 29 2006
[4296204.044000] Debugging version (IEEE80211)
[4296204.045000] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[4296204.045000] ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[4296204.045000] ath0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[4296204.045000] ath0: H/W encryption support: WEP AES AES_CCM TKIP
[4296204.045000] ath0: mac 5.9 phy 4.3 radio 4.6
[4296204.045000] ath0: Use hw queue 1 for WME_AC_BE traffic
[4296204.045000] ath0: Use hw queue 0 for WME_AC_BK traffic
[4296204.045000] ath0: Use hw queue 2 for WME_AC_VI traffic
[4296204.045000] ath0: Use hw queue 3 for WME_AC_VO traffic
[4296204.045000] ath0: Use hw queue 8 for CAB traffic
[4296204.045000] ath0: Use hw queue 9 for beacons
[4296204.045000] Debugging version (ATH)
[4296204.045000] ath0: Atheros 5212: mem=0x22000000, irq=10
[4296551.417000] pcmcia: Detected deprecated PCMCIA ioctl usage.
[4296551.417000] pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
[4296551.418000] pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
[4296602.490000] cs: memory probe 0xa0000000-0xa0ffffff: clean.
[4296643.973000] pccard: card ejected from slot 0
[4296644.027000] ACPI: PCI interrupt for device 0000:02:00.0 disabled
[4296644.028000] PCMCIA: socket cf1e1028: *** DANGER *** unable to remove socket power
[4296651.097000] pccard: CardBus card inserted into slot 0
[4296651.098000] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[4296651.098000] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[4296651.515000] Build date: May 29 2006
[4296651.515000] Debugging version (IEEE80211)
[4296651.516000] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[4296651.516000] ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[4296651.517000] ath0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[4296651.518000] ath0: H/W encryption support: WEP AES AES_CCM TKIP
[4296651.519000] ath0: mac 5.9 phy 4.3 radio 4.6
[4296651.519000] ath0: Use hw queue 1 for WME_AC_BE traffic
[4296651.520000] ath0: Use hw queue 0 for WME_AC_BK traffic
[4296651.520000] ath0: Use hw queue 2 for WME_AC_VI traffic
[4296651.521000] ath0: Use hw queue 3 for WME_AC_VO traffic
[4296651.521000] ath0: Use hw queue 8 for CAB traffic
[4296651.522000] ath0: Use hw queue 9 f...

Read more...

Revision history for this message
Simon Law (sfllaw) wrote :

I can replicate this with an identical stack trace. The madwifi driver stops
working after this, which is sort of disappointing.

Changed in linux-source-2.6.15:
status: Unconfirmed → Confirmed
Revision history for this message
randallw (rwayth) wrote :

I have also seen this kernel oops. For me it is repeatble if I try "iwlist scan" when then card is not yet enabled through the network manager. If the card has been enabled then everything works fine.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this linux-source-2.6.15 kernel bug to the new "linux" package. We appreciate your patience and understanding as we make this transition. Also, if you would be interested in testing the upcoming Intrepid Ibex 8.10 release, it is available at http://www.ubuntu.com/testing . Please let us know your results. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

This bug report was marked as Confirmed a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in linux (Ubuntu):
status: Incomplete → Invalid
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.