[Bug 350014] New: ipw3945 module crash system on suspend
https://bugzilla.novell.com/show_bug.cgi?id=350014 User mhoppe@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=350014#c1 Summary: ipw3945 module crash system on suspend Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: mhoppe@novell.com QAContact: qa@suse.de CC: snagel@novell.com Found By: IS&T Since last ipw3945 or kernel update it is not possible to suspend (to ram or disk) anymore. Today I was able to get a dmesq output before the machine freeze. Dec 20 10:23:10 Neo dhclient: caught deadly SIGTERM Dec 20 10:23:10 Neo dhclient: could not restore resolv.conf: No such file or directory Dec 20 10:23:10 Neo ifdown: modem1 Dec 20 10:23:10 Neo ifdown-services: Stopping services from /etc/sysconfig/network/ifservices: Dec 20 10:23:10 Neo ifdown-ppp: interface modem1 is down Dec 20 10:23:11 Neo kernel: Unable to handle kernel NULL pointer dereference at 0000000000000020 RIP: Dec 20 10:23:11 Neo kernel: [<ffffffff80240a67>] wq_per_cpu+0x0/0x1a Dec 20 10:23:11 Neo kernel: PGD 64773067 PUD 64771067 PMD 0 Dec 20 10:23:11 Neo kernel: Oops: 0000 [1] SMP Dec 20 10:23:11 Neo kernel: last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_cur_freq Dec 20 10:23:11 Neo kernel: CPU 0 Dec 20 10:23:11 Neo kernel: Modules linked in: nls_iso8859_1 nls_cp437 vfat fat usb_storage ide_core nfs lockd nfs_acl sunrpc autofs4 michael _mic arc4 ieee80211_crypt_tkip ieee80211_crypt_ccmp af_packet xt_tcpudp xt_pkttype ipt_LOG xt_limit deflate zlib_deflate twofish_x86_64 twofi sh_common camellia serpent blowfish des cbc ecb blkcipher aes_x86_64 xcbc sha256 sha1 md5 crypto_null af_key ipt_REJECT xt_state iptable_mang le iptable_nat nf_nat iptable_filter nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack nfnetlink ip_tables cpufreq_conservative cpufreq_ userspace cpufreq_powersave acpi_cpufreq ip6_tables x_tables snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device microcode ext3 jbd ext2 mbcache loop dm_mod rfcomm l2cap ipw3945 thinkpad_acpi pcmcia nsc_ircc usbhid irda ac battery hid hci_usb e1000 ieee80211 ieee80211_crypt dock yenta _socket rsrc_nonstatic pcmcia_core hwmon rtc_cmos button bluetooth rtc_core iTCO_wdt rtc_lib i2c_i801 i2c_core snd_hda_intel snd_pcm crc_ccit t ff_memless sr_mod cdrom firmware_cl Dec 20 10:23:11 Neo kernel: ass iTCO_vendor_support snd_timer snd soundcore snd_page_alloc fglrx(P) intel_agp joydev uinput sg ehci_hcd sd_mo d uhci_hcd usbcore edd xfs fan ata_piix ahci libata scsi_mod thermal processor Dec 20 10:23:11 Neo kernel: Pid: 4092, comm: wpa_supplicant Tainted: P N 2.6.22.13-0.3-default #1 Dec 20 10:23:11 Neo kernel: RIP: 0010:[<ffffffff80240a67>] [<ffffffff80240a67>] wq_per_cpu+0x0/0x1a Dec 20 10:23:11 Neo kernel: RSP: 0018:ffff810064a37c80 EFLAGS: 00010246 Dec 20 10:23:11 Neo kernel: RAX: ffff81007ce6abc0 RBX: ffff81007ce6abb8 RCX: 0000000000000000 Dec 20 10:23:11 Neo kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 Dec 20 10:23:11 Neo kernel: RBP: 0000000000000000 R08: 0000000000000006 R09: ffff81007ce69b78 Dec 20 10:23:11 Neo kernel: R10: ffff810001021ba8 R11: ffffffff803f3bb0 R12: ffff810064a37e38 Dec 20 10:23:11 Neo kernel: R13: ffffffff80430c38 R14: ffff810064a37e48 R15: 0000000000008b16 Dec 20 10:23:11 Neo kernel: FS: 00002b35febd9b00(0000) GS:ffffffff80500000(0000) knlGS:0000000000000000 Dec 20 10:23:11 Neo kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Dec 20 10:23:11 Neo kernel: CR2: 0000000000000020 CR3: 000000006522c000 CR4: 00000000000006e0 Dec 20 10:23:11 Neo kernel: Process wpa_supplicant (pid: 4092, threadinfo ffff810064a36000, task ffff810063ee6850) Dec 20 10:23:11 Neo kernel: Stack: ffffffff80241079 ffff81007ce69088 ffffffff884b000a 0000000000000000 Dec 20 10:23:11 Neo kernel: ffffffff80391c85 0000000000000286 ffff81007ce6ada8 00000000fffffff4 Dec 20 10:23:11 Neo kernel: ffff81007ce69088 00000000fffffff4 ffffffff884b009d ffff81007990dd60 Dec 20 10:23:11 Neo kernel: Call Trace: Dec 20 10:23:11 Neo kernel: [<ffffffff80241079>] queue_work+0x2c/0x40 Dec 20 10:23:11 Neo kernel: [<ffffffff884b000a>] :ipw3945:ipw_send_disassociate+0x1ab/0x1fb Dec 20 10:23:11 Neo kernel: [<ffffffff80391c85>] sock_sendmsg+0xea/0x107 Dec 20 10:23:11 Neo kernel: [<ffffffff884b009d>] :ipw3945:ipw_disassociate+0x43/0xb4 Dec 20 10:23:11 Neo kernel: [<ffffffff884c0111>] :ipw3945:ipw_wx_set_mlme+0x36/0x3c Dec 20 10:23:11 Neo kernel: [<ffffffff803f808a>] ioctl_standard_call+0x200/0x2af Dec 20 10:23:11 Neo kernel: [<ffffffff884c00db>] :ipw3945:ipw_wx_set_mlme+0x0/0x3c Dec 20 10:23:11 Neo kernel: [<ffffffff803f8263>] wext_handle_ioctl+0x12a/0x38a Dec 20 10:23:11 Neo kernel: [<ffffffff884c00db>] :ipw3945:ipw_wx_set_mlme+0x0/0x3c Dec 20 10:23:11 Neo kernel: [<ffffffff8039d5eb>] dev_ioctl+0x427/0x446 Dec 20 10:23:11 Neo kernel: [<ffffffff8039271c>] sys_sendto+0x132/0x151 Dec 20 10:23:11 Neo kernel: [<ffffffff803fa014>] thread_return+0x0/0xf1 Dec 20 10:23:11 Neo kernel: [<ffffffff80391542>] sock_ioctl+0x1db/0x1e5 Dec 20 10:23:11 Neo kernel: [<ffffffff8029537f>] do_ioctl+0x2b/0xb6 Dec 20 10:23:11 Neo kernel: [<ffffffff8029564d>] vfs_ioctl+0x243/0x25c Dec 20 10:23:11 Neo kernel: [<ffffffff802956bf>] sys_ioctl+0x59/0x7a Dec 20 10:23:11 Neo kernel: [<ffffffff80209c2e>] system_call+0x7e/0x83 Dec 20 10:23:11 Neo kernel: Dec 20 10:23:11 Neo kernel: Dec 20 10:23:11 Neo kernel: Code: 83 7f 20 00 74 06 8b 35 5d 06 38 00 48 8b 07 48 63 d6 48 f7 Dec 20 10:23:11 Neo kernel: RIP [<ffffffff80240a67>] wq_per_cpu+0x0/0x1a Dec 20 10:23:11 Neo kernel: RSP <ffff810064a37c80> Dec 20 10:23:11 Neo kernel: CR2: 0000000000000020 modifications: Added SUSPEND_MODULES="ipw3945" to /etc/pm/config.d/ to get wifi working after suspend. packages: kernel-default-2.6.22.13-0.3 ipw-firmware-8-44 ipw3945-kmp-default-1.2.2_2.6.22.5_31-3 ipw3945d-1.7.22-8.2 affected system: Lenovo T60p model 8742-C3G Lenovo X61 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350014
Cristian Rodriguez
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c2
Helmut Schaa
https://bugzilla.novell.com/show_bug.cgi?id=350014
User mhoppe@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c3
--- Comment #3 from Matthias Boettger
https://bugzilla.novell.com/show_bug.cgi?id=350014
User mhoppe@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c4
--- Comment #4 from Matthias Boettger
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c5
--- Comment #5 from Helmut Schaa
But I can't use iwl for the folliwng reasons: - wifi led not working
Right, even upstream iwlwifi is not supporting it at the moment.
- information about bit rate missing
Right.
- lower link quality: IWL=71/100, IPW=84/100
Hmm, never saw this before. Is this ever the case?
- slow speed: IWL=2,25MB/s, IPW=2,75MB/s
That's unfortunately correct :(
- take long time to associate, ipw is much faster
Only for hidden networks?
- short interupts during network session (e.g. ssh)
See bug #307050.
- no adjustable power management found (the wifi card within T60 and X61 becomes very hot without it)
I'm not sure if the 3945 has it too, but with my 4965 I have /sys/bus/pci/drivers/iwl4965/xxx/power_level for adjusting the power management. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350014
User mhoppe@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c6
--- Comment #6 from Matthias Boettger
- lower link quality: IWL=71/100, IPW=84/100
Hmm, never saw this before. Is this ever the case?
It is ever the case.
- take long time to associate, ipw is much faster
Only for hidden networks?
I tested currently only a broadcasted WPA network
- no adjustable power management found (the wifi card within T60 and X61 becomes very hot without it)
I'm not sure if the 3945 has it too, but with my 4965 I have /sys/bus/pci/drivers/iwl4965/xxx/power_level for adjusting the power management.
Currently I use iwpriv set_power with ipw. Setting this is possible for me but for other users? You see, iwl is not really useable at the moment if you need to work over wifi many hours per day, especially with the interuptions. I think I found the reason for the crashing ipw module. I forgot that I put the ipw module in the list of modules to unload during suspend. If I remove ipw3945 from there everything is working during suspend but after first suspend I don't have any wifi device in NetworkManager. I need to restart network. After 2nd suspend and restarting network I'm unable to see any wifi networks. iwlist scan is empty too. After unloading und loading ipw manually everything is working again. Finally the crash is only happen if the module will be unloaded during suspend but is neccessary to get wifi working automatically after resume. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c7
--- Comment #7 from Helmut Schaa
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c8
Helmut Schaa
https://bugzilla.novell.com/show_bug.cgi?id=350014
User mhoppe@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c9
--- Comment #9 from Matthias Boettger
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c10
--- Comment #10 from Helmut Schaa
https://bugzilla.novell.com/show_bug.cgi?id=350014
User mhoppe@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c11
--- Comment #11 from Matthias Boettger
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c12
--- Comment #12 from Helmut Schaa
Yes the module did not crash and the system is responsible but I was unable to reboot or shutdown my system. I saw a modprobe -r ipw3945 in D state and the system hangs on D-BUS shutdown.
Uhhh, that might be due to an _evil_ patch by Joe which I put into the buildservice project. Are you willing to try another build? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c13
--- Comment #13 from Helmut Schaa
https://bugzilla.novell.com/show_bug.cgi?id=350014
User mhoppe@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c14
--- Comment #14 from Matthias Boettger
https://bugzilla.novell.com/show_bug.cgi?id=350014
User hschaa@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c15
Helmut Schaa
https://bugzilla.novell.com/show_bug.cgi?id=350014
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c16
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=350014
User cstender@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c17
Christopher Stender
https://bugzilla.novell.com/show_bug.cgi?id=350014
User mhoppe@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c18
--- Comment #18 from Matthias Boettger
https://bugzilla.novell.com/show_bug.cgi?id=350014
User cstender@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c19
Christopher Stender
https://bugzilla.novell.com/show_bug.cgi?id=350014
User cstender@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c20
Christopher Stender
https://bugzilla.novell.com/show_bug.cgi?id=350014
User cstender@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350014#c21
Christopher Stender
participants (1)
-
bugzilla_noreply@novell.com