[Bug 731452] New: rt2800pci wifi unusable after "scheduling while atomic"
https://bugzilla.novell.com/show_bug.cgi?id=731452 https://bugzilla.novell.com/show_bug.cgi?id=731452#c0 Summary: rt2800pci wifi unusable after "scheduling while atomic" Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: jansimon.moeller@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 HP Probook 4720s with 44:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe Subsystem: Hewlett-Packard Company Device 1453 Flags: bus master, fast devsel, latency 0, IRQ 19 Memory at d0300000 (32-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Kernel driver in use: rt2800pci prints oops message in dmesg and wifi is unusable. [ 0.000000] Linux version 3.1.0-1.2-desktop (geeko@buildhost) (gcc version 4.6.2 (SUSE Linux) ) #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) [ 0.000000] Command line: init=/bin/systemd root=/dev/sda1 resume=/dev/disk/by-id/ata-xyz-part2 splash=silent quiet vga=0x3ef [ 4.092472] cfg80211: Calling CRDA to update world regulatory domain [ 4.110292] rt2800pci 0000:44:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 4.110304] rt2800pci 0000:44:00.0: setting latency timer to 64 [ 4.191888] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 4.192442] Registered led device: rt2800pci-phy0::radio [ 4.192460] Registered led device: rt2800pci-phy0::assoc [ 4.192477] Registered led device: rt2800pci-phy0::quality [ 4.322895] cfg80211: World regulatory domain updated: [ 4.322899] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 4.322901] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 4.322904] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 4.322906] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 4.322908] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 4.322910] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.333164] phy0 -> rt2800pci_mcu_status: Error - MCU request failed, no response from hardware [ 44.801753] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [102771.961936] BUG: scheduling while atomic: kworker/u:2/13533/0x00000102 [102771.961944] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat ums_realtek uas cpufreq_stats nls_utf8 tun rfcomm bnep fuse af_packet cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq mperf microcode sha256_generic cbc dm_crypt dm_mod ecb btusb bluetooth uvcvideo videodev v4l2_compat_ioctl32 kvm_intel kvm hp_wmi sparse_keymap joydev sg fglrx(P) sr_mod cdrom pcspkr hp_accel lis3lv02d video intel_ips input_polldev arc4 container snd_hda_codec_hdmi wmi battery serio_raw rt2800pci rt2800lib snd_hda_codec_idt crc_ccitt rt2x00pci rt2x00lib ac mac80211 cfg80211 rfkill eeprom_93cx6 iTCO_wdt iTCO_vendor_support r8169 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd mei(C) soundcore button snd_page_alloc autofs4 fan processor thermal thermal_sys [102771.962057] CPU 0 [102771.962059] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat ums_realtek uas cpufreq_stats nls_utf8 tun rfcomm bnep fuse af_packet cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq mperf microcode sha256_generic cbc dm_crypt dm_mod ecb btusb bluetooth uvcvideo videodev v4l2_compat_ioctl32 kvm_intel kvm hp_wmi sparse_keymap joydev sg fglrx(P) sr_mod cdrom pcspkr hp_accel lis3lv02d video intel_ips input_polldev arc4 container snd_hda_codec_hdmi wmi battery serio_raw rt2800pci rt2800lib snd_hda_codec_idt crc_ccitt rt2x00pci rt2x00lib ac mac80211 cfg80211 rfkill eeprom_93cx6 iTCO_wdt iTCO_vendor_support r8169 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd mei(C) soundcore button snd_page_alloc autofs4 fan processor thermal thermal_sys [102771.962147] [102771.962153] Pid: 13533, comm: kworker/u:2 Tainted: P C 3.1.0-1.2-desktop #1 Hewlett-Packard HP ProBook 4720s/1411 [102771.962161] RIP: 0010:[<ffffffffa019b6b0>] [<ffffffffa019b6b0>] rt2x00pci_regbusy_read+0x60/0xe0 [rt2x00pci] [102771.962177] RSP: 0000:ffff88004ce67c80 EFLAGS: 00000282 [102771.962181] RAX: 0000000000ff001f RBX: 0000000000000086 RCX: ffff88004ce67cdc [102771.962186] RDX: 0000000000000001 RSI: 0000000000007010 RDI: ffff88022d3f5d20 [102771.962191] RBP: ffff88022d3f5d20 R08: 0000000000000001 R09: 0000000000000001 [102771.962195] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88022ecc4108 [102771.962200] R13: ffffffff8104a68b R14: ffff88004ce67c30 R15: ffff88023bc124c0 [102771.962205] FS: 0000000000000000(0000) GS:ffff88023bc00000(0000) knlGS:0000000000000000 [102771.962210] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [102771.962215] CR2: 000000001c868000 CR3: 000000008c2cb000 CR4: 00000000000006f0 [102771.962220] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [102771.962224] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [102771.962229] Process kworker/u:2 (pid: 13533, threadinfo ffff88004ce66000, task ffff88001237a680) [102771.962234] Stack: [102771.962237] ffff88023bc124c0 0000000000007010 0000000000000086 ffff88022d3f5d20 [102771.962245] 00000000000000ff 0000000000000001 ffff88022d3f6150 0000000000000001 [102771.962252] 0000000000000030 ffffffffa01bf601 0000000000000086 00ff001f00000000 [102771.962260] Call Trace: [102771.962286] [<ffffffffa01bf601>] rt2800_mcu_request.part.25+0x61/0xf0 [rt2800lib] [102771.962309] [<ffffffffa01d397f>] rt2800pci_set_state+0x4f/0x80 [rt2800pci] [102771.962325] [<ffffffffa01d41a5>] rt2800pci_set_device_state+0xe5/0x140 [rt2800pci] [102771.962344] [<ffffffffa01bea7c>] rt2800_config_ps.isra.19+0x8c/0xe0 [rt2800lib] [102771.962367] [<ffffffffa01357d0>] rt2x00lib_config+0xe0/0x2b0 [rt2x00lib] [102771.962390] [<ffffffffa0134e81>] rt2x00mac_config+0x41/0x80 [rt2x00lib] [102771.962423] [<ffffffffa014ed15>] ieee80211_dynamic_ps_enable_work+0x205/0x310 [mac80211] [102771.962477] [<ffffffff81071431>] process_one_work+0x111/0x4d0 [102771.962490] [<ffffffff81071bb2>] worker_thread+0x152/0x340 [102771.962500] [<ffffffff81075c8e>] kthread+0x7e/0x90 [102771.962515] [<ffffffff815a5474>] kernel_thread_helper+0x4/0x10 [102771.962523] Code: 44 24 08 49 c1 ef 20 eb 12 66 90 bf bc 8d 06 00 e8 06 24 12 e1 41 83 ed 01 74 30 48 8b 44 24 08 48 03 85 28 04 00 00 8b 00 89 03 [102771.962567] 89 f1 44 21 f8 d3 e8 85 c0 75 d4 b8 01 00 00 00 48 83 c4 18 [102771.962586] Call Trace: [102771.962600] [<ffffffffa01bf601>] rt2800_mcu_request.part.25+0x61/0xf0 [rt2800lib] [102771.962621] [<ffffffffa01d397f>] rt2800pci_set_state+0x4f/0x80 [rt2800pci] [102771.962636] [<ffffffffa01d41a5>] rt2800pci_set_device_state+0xe5/0x140 [rt2800pci] [102771.962654] [<ffffffffa01bea7c>] rt2800_config_ps.isra.19+0x8c/0xe0 [rt2800lib] [102771.962675] [<ffffffffa01357d0>] rt2x00lib_config+0xe0/0x2b0 [rt2x00lib] [102771.962697] [<ffffffffa0134e81>] rt2x00mac_config+0x41/0x80 [rt2x00lib] [102771.962725] [<ffffffffa014ed15>] ieee80211_dynamic_ps_enable_work+0x205/0x310 [mac80211] [102771.962775] [<ffffffff81071431>] process_one_work+0x111/0x4d0 [102771.962785] [<ffffffff81071bb2>] worker_thread+0x152/0x340 [102771.962794] [<ffffffff81075c8e>] kthread+0x7e/0x90 [102771.962804] [<ffffffff815a5474>] kernel_thread_helper+0x4/0x10 Reproducible: Always Steps to Reproduce: 1. Boot up 2. Produce some network traffic 3. wait Actual Results: Kernel oops -- 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=731452 https://bugzilla.novell.com/show_bug.cgi?id=731452#c1 Michal Kubeček <mkubecek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mkubecek@suse.com Severity|Normal |Major --- Comment #1 from Michal Kubeček <mkubecek@suse.com> 2011-12-04 12:13:23 UTC --- I have the same problem on MSI Wind U135 with the same wi-fi adapter. The traces fit the description of upstream commit ed66ba472a742cd8df37d7072804b2111cdb1014 (and the Fedora bug mentioned in it): ----------------------------------------------------------------------- rt2x00: Fix sleep-while-atomic bug in powersaving code. The generic powersaving code that determines after reception of a frame whether the device should go back to sleep or whether is could stay awake was calling rt2x00lib_config directly from RX tasklet context. On a number of the devices this call can actually sleep, due to having to confirm that the sleeping commands have been executed successfully. Fix this by moving the call to rt2x00lib_config to a workqueue call. This fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=731672 Tested-by: Tomas Trnka <tomastrnka@gmx.com> Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Cc: <stable@vger.kernel.org> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> ----------------------------------------------------------------------- I tried kernel 3.2-rc (which has this commit included) for some time on Friday and it didn't appear again. I've built kernel packages based on last 12.1 update (3.1.0-1.2) with the patch and I'm going to test them today: http://download.opensuse.org/repositories/home:/mkubecek:/branches:/openSUSE... Please try these as well. (raising Severity to Major as inability to use wi-fi for more then one hour (sometimes even less) without reboot can be IMHO classified as "major loss of function") -- 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=731452 https://bugzilla.novell.com/show_bug.cgi?id=731452#c2 --- Comment #2 from Michal Kubeček <mkubecek@suse.com> 2011-12-04 18:19:24 UTC --- With patched kernel, the bug didn't appear yet. The patch is present in stable kernel 3.1.3 and in openSUSE-12.1 branch of OpenSuSE kernel git so that it should appear in next kernel update. -- 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=731452 https://bugzilla.novell.com/show_bug.cgi?id=731452#c3 Michal Kubeček <mkubecek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Michal Kubeček <mkubecek@suse.com> 2012-01-30 17:15:50 UTC --- Fixed in released update (version 3.1.9-1.4.1). Closing the bug. -- 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.
participants (1)
-
bugzilla_noreply@novell.com