iwl3945 dies (oops) in post 2.6.34 kernels
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
[ 3330.630734] general protection fault: 0000 [#1] PREEMPT SMP [ 3330.630752] last sysfs file: /sys/devices/platform/dock.0/docked [ 3330.630761] CPU 0 [ 3330.630766] Modules linked in: cryptd aes_x86_64 aes_generic fuse rfcomm sco bnep l2cap autofs4
coretemp hwmon sunrpc ppdev parport_pc parport acpi_cpufreq mperf uinput nvidia(P) snd_hda_codec_idt arc4 snd_hda_intel ecb snd_hda_codec snd_hwdep iwl3945 joydev snd_seq snd_seq_device snd_pcm iwlcore mac80211 snd_timer cfg80211 snd psmouse iTCO_wdt dell_wmi iTCO_vendor_support serio_raw tg3 battery dell_laptop dcdbas soundcore snd_page_alloc btusb bluetooth video pcspkr mac_hid ac wmi libphy firewire_ohci i2c_i801 firewire_core yenta_socket crc_itu_t ohci_hcd [last unloaded: microcode]
[ 3330.630950] [ 3330.630958] Pid: 455, comm: iwl3945 Tainted: P 2.6.35-rc0 #293 0WM416/Latitude D630 [ 3330.630967] RIP: 0010:[<ffffffffa01e70d3>] [<ffffffffa01e70d3>] iwl3945_get_channels_for_scan+0xe3/0x460 [iwl3945] [ 3330.630993] RSP: 0018:ffff8801126b1c10 EFLAGS: 00010297 [ 3330.631001] RAX: ffff8800b2853c00 RBX: 0000000000000000 RCX: 0002079700220078 [ 3330.631009] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff880112641aa0 [ 3330.631016] RBP: ffff8801126b1cc0 R08: ffff88010c22d0f2 R09: 0000000000000000 [ 3330.631024] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 3330.631032] R13: ffff880112641aa0 R14: ffff88010c22d0f2 R15: 0000000000000000 [ 3330.631040] FS: 0000000000000000(0000) GS:ffff880002600000(0000) knlGS:0000000000000000 [ 3330.631049] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 3330.631056] CR2: 0000000005d03000 CR3: 0000000001806000 CR4: 00000000000006f0 [ 3330.631064] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3330.631072] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 3330.631081] Process iwl3945 (pid: 455, threadinfo ffff8801126b0000, task ffff880115ab3fa0) [ 3330.631087] Stack: [ 3330.631092] 0000000000000000 ffffffffa01e7980 ffff880100000000 ffffffff814932ad [ 3330.631106] <0> ffff8801126424c0 ffff880115ab3fa0 ffffffff00000000 0000005800000016 [ 3330.631123] <0> ffff8801126b1fd8 0058ffff00575231 ffff8801126b1fd8 0000000000000001 [ 3330.631143] Call Trace: [ 3330.631161] [<ffffffffa01e7980>] ? iwl3945_request_scan+0x3f0/0xb40 [iwl3945] [ 3330.631178] [<ffffffff814932ad>] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [ 3330.631190] [<ffffffff81496dfd>] ? sub_preempt_count+0x9d/0xd0 [ 3330.631206] [<ffffffffa01e7ac4>] iwl3945_request_scan+0x534/0xb40 [iwl3945] [ 3330.631233] [<ffffffffa018bf60>] ? iwl_bg_start_internal_scan+0x0/0x320 [iwlcore] [ 3330.631254] [<ffffffffa018bf60>] ? iwl_bg_start_internal_scan+0x0/0x320 [iwlcore] [ 3330.631274] [<ffffffffa018c166>] iwl_bg_start_internal_scan+0x206/0x320 [iwlcore] [ 3330.631288] [<ffffffff81065f4c>] run_workqueue+0x12c/0x2a0 [ 3330.631298] [<ffffffff81065efb>] ? run_workqueue+0xdb/0x2a0 [ 3330.631311] [<ffffffff81066156>] worker_thread+0x96/0xf0 [ 3330.631323] [<ffffffff8106b1c0>] ? autoremove_wake_function+0x0/0x40 [ 3330.631333] [<ffffffff810660c0>] ? worker_thread+0x0/0xf0 [ 3330.631344] [<ffffffff8106acae>] kthread+0x8e/0xa0 [ 3330.631356] [<ffffffff81003d94>] kernel_thread_helper+0x4/0x10 [ 3330.631367] [<ffffffff81035c24>] ? finish_task_switch+0x74/0xd0 [ 3330.631377] [<ffffffff81493a40>] ? restore_args+0x0/0x30 [ 3330.631388] [<ffffffff8106ac20>] ? kthread+0x0/0xa0 [ 3330.631398] [<ffffffff81003d90>] ? kernel_thread_helper+0x0/0x10 [ 3330.631404] Code: b7 55 ce 89 55 88 41 8d 57 ff 45 89 d7 66 89 55 9a eb 10 0f 1f 44 00 00 ff c3 39 58 0c 0f 86 c5 00 00 00 48 63 d3 48 8b 4c d0 38 <44> 39 21 75 e8 0f b7 51 06 44 89 e6 41 88 56 01 48 89 4d 80 0f [ 3330.631505] RIP [<ffffffffa01e70d3>] iwl3945_get_channels_for_scan+0xe3/0x460 [iwl3945] [ 3330.631505] RSP <ffff8801126b1c10> [ 3330.631657] ---[ end trace faaae140797cc308 ]---
Signature · 1 line
Dmitry
Quoted 5 lines · Dmitry Torokhov
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
Linus doesn't have this one yet:
commit 073d5eab6fc85b6c278d507a5633b759a85dc878
Author: Reinette Chatre <[email protected]> Date: Thu May 13 14:49:44 2010 -0700
iwlwifi: fix internal scan race
It is possible for internal scan to race against itself if the device is not returning the scan results from first requests. What happens in this case is the cleanup done during the abort of the first internal scan also cleans up part of the new scan, causing it to access memory it shouldn't.
...
I suspect it might be related.
John
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.
Quoted 10 lines · Dmitry Torokhov
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
[ 3330.630734] general protection fault: 0000 [#1] PREEMPT SMP [ 3330.630752] last sysfs file: /sys/devices/platform/dock.0/docked [ 3330.630761] CPU 0 [ 3330.630766] Modules linked in: cryptd aes_x86_64 aes_generic fuse rfcomm sco bnep l2cap autofs4
Quoted 8 lines
coretemp hwmon sunrpc ppdev
parport_pcparportacpi_cpufreqmperf uinput nvidia(P)snd_hda_codec_idtarc4snd_hda_intelecbsnd_hda_codecsnd_hwdepiwl3945 joydevsnd_seqsnd_seq_devicesnd_pcmiwlcore mac80211snd_timercfg80211 snd psmouseiTCO_wdtdell_wmiiTCO_vendor_supportserio_rawtg3 batterydell_laptopdcdbas soundcoresnd_page_allocbtusb bluetooth video pcspkrmac_hidac wmi libphyfirewire_ohcii2c_i801firewire_coreyenta_socketcrc_itu_tohci_hcd[last unloaded: microcode][ 3330.630950] [ 3330.630958] Pid: 455, comm: iwl3945 Tainted: P 2.6.35-rc0 #293 0WM416/Latitude D630 [ 3330.630967] RIP: 0010:[<ffffffffa01e70d3>] [<ffffffffa01e70d3>] iwl3945_get_channels_for_scan+0xe3/0x460 [iwl3945]
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2208
johannes
Quoted 21 lines · Johannes Berg
Quoted 10 lines · Dmitry Torokhov
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
[ 3330.630734] general protection fault: 0000 [#1] PREEMPT SMP [ 3330.630752] last sysfs file: /sys/devices/platform/dock.0/docked [ 3330.630761] CPU 0 [ 3330.630766] Modules linked in: cryptd aes_x86_64 aes_generic fuse rfcomm sco bnep l2cap autofs4Quoted 8 lines
coretemp hwmon sunrpc ppdev
parport_pcparportacpi_cpufreqmperf uinput nvidia(P)snd_hda_codec_idtarc4snd_hda_intelecbsnd_hda_codecsnd_hwdepiwl3945 joydevsnd_seqsnd_seq_devicesnd_pcmiwlcore mac80211snd_timercfg80211 snd psmouseiTCO_wdtdell_wmiiTCO_vendor_supportserio_rawtg3 batterydell_laptopdcdbas soundcoresnd_page_allocbtusb bluetooth video pcspkrmac_hidac wmi libphyfirewire_ohcii2c_i801firewire_coreyenta_socketcrc_itu_tohci_hcd[last unloaded: microcode][ 3330.630950] [ 3330.630958] Pid: 455, comm: iwl3945 Tainted: P 2.6.35-rc0 #293 0WM416/Latitude D630 [ 3330.630967] RIP: 0010:[<ffffffffa01e70d3>] [<ffffffffa01e70d3>] iwl3945_get_channels_for_scan+0xe3/0x460 [iwl3945]
Can you please try this patch and report your findings?
http://bugzilla.intellinuxwireless.org/attachment.cgi?id=2447
Thanks
Abhijeet
Quoted 6 lines
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 26 lines · Abhijeet Kolekar
Quoted 25 lines · Johannes Berg
Quoted 23 lines · Dmitry Torokhov
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
[ 3330.630734] general protection fault: 0000 [#1] PREEMPT SMP [ 3330.630752] last sysfs file: /sys/devices/platform/dock.0/docked [ 3330.630761] CPU 0 [ 3330.630766] Modules linked in: cryptd aes_x86_64 aes_generic fuserfcomm sco bnep l2cap autofs4 coretemp hwmon sunrpc ppdev
parport_pcparportacpi_cpufreqmperf uinput nvidia(P)snd_hda_codec_idtarc4snd_hda_intelecbsnd_hda_codecsnd_hwdepiwl3945 joydevsnd_seqsnd_seq_devicesnd_pcmiwlcore mac80211snd_timercfg80211 snd psmouseiTCO_wdtdell_wmiiTCO_vendor_supportserio_rawtg3 batterydell_laptopdcdbas soundcoresnd_page_allocbtusb bluetooth video pcspkrmac_hidac wmi libphyfirewire_ohcii2c_i801firewire_coreyenta_socketcrc_itu_tohci_hcd[last unloaded: microcode] [ 3330.630950][ 3330.630958] Pid: 455, comm: iwl3945 Tainted: P 2.6.35-rc0#293 0WM416/Latitude D630 [ 3330.630967] RIP:
0010:[<ffffffffa01e70d3>] [<ffffffffa01e70d3>]iwl3945_get_channels_for_scan+0xe3/0x460[iwl3945]
Quoted 6 lines
Can you please try this patch and report your findings?
http://bugzilla.intellinuxwireless.org/attachment.cgi?id=2447
Thanks, will try both this patch and the one John mention. Later tonight though.
Signature · 1 line
Dmitry
[ CC <[email protected]> ]
Unfortunately, I didn't notice I compiled compat-wireless (2010-05-21) on user request against linux-image-2.6.32-5-686 and was using it since then.
AFAICS Debian Bug #582906 can be closed.
$ dpkg -l | grep linux-image
ii linux-image-2.6.32-5-686
2.6.32-13 Linux 2.6.32 for modern PCs$ sudo lsmod | grep iwl | sort cfg80211 100582 3 iwl3945,iwlcore,mac80211 compat_firmware_class 4683 1 iwl3945 iwl3945 45461 0 iwlcore 58688 1 iwl3945 mac80211 140617 2 iwl3945,iwlcore
On first sight it seems both patches fixed the issue here:
sd@seduxbox:~/src/compat-wireless/compat-wireless-2010-05-21$ cat .pc/applied-patches iwlwifi-fix-internal-scan-race.patch temp.patch
By the way, iwlwifi-fix-internal-scan-race.patch alone did it not.
Any ideas for a testcase to be sure the problem is really fixed, now?
- Sedat -
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582906
P.S.:
$ dmesg | egrep -i 'iwl|80211|wlan' [ 9.854377] cfg80211: Calling CRDA to update world regulatory domain [ 11.196129] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s [ 11.196132] iwl3945: Copyright(c) 2003-2010 Intel Corporation [ 11.196215] iwl3945 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 11.196229] iwl3945 0000:10:00.0: setting latency timer to 64 [ 11.250133] iwl3945 0000:10:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels [ 11.250136] iwl3945 0000:10:00.0: Detected Intel Wireless WiFi Link 3945ABG [ 11.250277] iwl3945 0000:10:00.0: irq 29 for MSI/MSI-X [ 11.437198] cfg80211: World regulatory domain updated: [ 11.792890] phy0: Selected rate control algorithm 'iwl-3945-rs' [ 20.000982] iwl3945 0000:10:00.0: loaded firmware version 15.32.2.9 [ 20.090054] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 30.185858] wlan0: direct probe to 00:04:0e:e4:00:3d (try 1) [ 30.188652] wlan0: direct probe responded [ 30.200042] wlan0: authenticate with 00:04:0e:e4:00:3d (try 1) [ 30.203234] wlan0: authenticated [ 30.203856] wlan0: associate with 00:04:0e:e4:00:3d (try 1) [ 30.400035] wlan0: associate with 00:04:0e:e4:00:3d (try 2) [ 30.404960] wlan0: RX AssocResp from 00:04:0e:e4:00:3d (capab=0x411 status=0 aid=1) [ 30.404966] wlan0: associated [ 30.406500] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 41.048032] wlan0: no IPv6 routers present
Quoted 44 lines · Dmitry Torokhov
Quoted 26 lines · Abhijeet Kolekar
Quoted 25 lines · Johannes Berg
Quoted 23 lines · Dmitry Torokhov
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
[ 3330.630734] general protection fault: 0000 [#1] PREEMPT SMP [ 3330.630752] last sysfs file: /sys/devices/platform/dock.0/docked [ 3330.630761] CPU 0 [ 3330.630766] Modules linked in: cryptd aes_x86_64 aes_generic fuserfcomm sco bnep l2cap autofs4 coretemp hwmon sunrpc ppdev
parport_pcparportacpi_cpufreqmperf uinput nvidia(P)snd_hda_codec_idtarc4snd_hda_intelecbsnd_hda_codecsnd_hwdepiwl3945 joydevsnd_seqsnd_seq_devicesnd_pcmiwlcore mac80211snd_timercfg80211 snd psmouseiTCO_wdtdell_wmiiTCO_vendor_supportserio_rawtg3 batterydell_laptopdcdbas soundcoresnd_page_allocbtusb bluetooth video pcspkrmac_hidac wmi libphyfirewire_ohcii2c_i801firewire_coreyenta_socketcrc_itu_tohci_hcd[last unloaded: microcode] [ 3330.630950][ 3330.630958] Pid: 455, comm: iwl3945 Tainted: P 2.6.35-rc0#293 0WM416/Latitude D630 [ 3330.630967] RIP:
0010:[<ffffffffa01e70d3>] [<ffffffffa01e70d3>]iwl3945_get_channels_for_scan+0xe3/0x460[iwl3945]Quoted 6 lines
Can you please try this patch and report your findings?
http://bugzilla.intellinuxwireless.org/attachment.cgi?id=2447
Thanks, will try both this patch and the one John mention. Later tonight though.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 29 lines · Dmitry Torokhov
Quoted 28 lines · Abhijeet Kolekar
Quoted 26 lines · Johannes Berg
Quoted 19 lines · Dmitry Torokhov
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
[ 3330.630734] general protection fault: 0000 [#1] PREEMPT SMP [ 3330.630752] last sysfs file: /sys/devices/platform/dock.0/docked [ 3330.630761] CPU 0 [ 3330.630766] Modules linked in: cryptd aes_x86_64 aes_generic fuserfcomm sco bnep l2cap autofs4 coretemp hwmon sunrpc ppdev
parport_pcparportacpi_cpufreqmperf uinput nvidia(P)snd_hda_codec_idtarc4snd_hda_intelecbsnd_hda_codecsnd_hwdepiwl3945 joydevsnd_seqsnd_seq_devicesnd_pcmiwlcore mac80211snd_timercfg80211 snd psmouseiTCO_wdtdell_wmiiTCO_vendor_supportserio_rawtg3 batterydell_laptopdcdbas soundcoresnd_page_allocbtusb bluetooth video pcspkrmac_hidac wmi libphyfirewire_ohcii2c_i801firewire_coreyenta_socketcrc_itu_tohci_hcd[last unloaded: microcode] [ 3330.630950]Quoted 4 lines
[ 3330.630958] Pid: 455, comm: iwl3945 Tainted: P 2.6.35-rc0#293 0WM416/Latitude D630 [ 3330.630967] RIP:
0010:[<ffffffffa01e70d3>] [<ffffffffa01e70d3>]iwl3945_get_channels_for_scan+0xe3/0x460[iwl3945]
Quoted 8 lines
Quoted 4 lines
Can you please try this patch and report your findings?
http://bugzilla.intellinuxwireless.org/attachment.cgi?id=2447
Thanks, will try both this patch and the one John mention. Later tonight though.
John,
Any chnace that 2nd patch be merged upstream? Without it my iwl3945 craps out regularly.
Thanks!
Signature · 1 line
Dmitry
Quoted 35 lines · Dmitry Torokhov
Quoted 34 lines · Dmitry Torokhov
Quoted 32 lines · Abhijeet Kolekar
Quoted 25 lines · Johannes Berg
Quoted 19 lines · Dmitry Torokhov
Hi,
I am getting the following crashers in iwl3945 after updating to post-2.6.34 kernels. This is with the pull from Linus's tree as of last night (the taint is from nvidia module):
[ 3330.630734] general protection fault: 0000 [#1] PREEMPT SMP [ 3330.630752] last sysfs file: /sys/devices/platform/dock.0/docked [ 3330.630761] CPU 0 [ 3330.630766] Modules linked in: cryptd aes_x86_64 aes_generic fuserfcomm sco bnep l2cap autofs4 coretemp hwmon sunrpc ppdev
parport_pcparportacpi_cpufreqmperf uinput nvidia(P)snd_hda_codec_idtarc4snd_hda_intelecbsnd_hda_codecsnd_hwdepiwl3945 joydevsnd_seqsnd_seq_devicesnd_pcmiwlcore mac80211snd_timercfg80211 snd psmouseiTCO_wdtdell_wmiiTCO_vendor_supportserio_rawtg3 batterydell_laptopdcdbas soundcoresnd_page_allocbtusb bluetooth video pcspkrmac_hidac wmi libphyfirewire_ohcii2c_i801firewire_coreyenta_socketcrc_itu_tohci_hcd[last unloaded: microcode] [ 3330.630950]Quoted 4 lines
[ 3330.630958] Pid: 455, comm: iwl3945 Tainted: P 2.6.35-rc0#293 0WM416/Latitude D630 [ 3330.630967] RIP:
0010:[<ffffffffa01e70d3>] [<ffffffffa01e70d3>]iwl3945_get_channels_for_scan+0xe3/0x460[iwl3945]Can you please try this patch and report your findings?
http://bugzilla.intellinuxwireless.org/attachment.cgi?id=2447
Quoted 9 lines
Quoted 3 lines
Thanks, will try both this patch and the one John mention. Later tonight though.
John,
Any chnace that 2nd patch be merged upstream? Without it my iwl3945 craps out regularly.
It is merged in iwlwifi-2.6. It will be sent for upstream submission.
Abhijeet
Quoted 2 lines
Thanks!