[Bug 686439] New: Wireless Realtek 8187b breaks on various occasions
https://bugzilla.novell.com/show_bug.cgi?id=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c0 Summary: Wireless Realtek 8187b breaks on various occasions Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: tadeas.moravec@email.cz QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=424113) --> (http://bugzilla.novell.com/attachment.cgi?id=424113) the relevant parts of /var/log/NetworkManager and dmesg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 Wireless occasionally disconnects and cannot connect again. It doesn't even scan for networks, either in the NetworkManager and iwlist wlan0 scan. The chip: Bus 001 Device 003: ID 0bda:8197 Realtek Semiconductor Corp. RTL8187B Wireless Adapter The chip is supported by the Linux Kernel since 2.6.27. I run openSuse 11.4 with KDE 4.6, but this issue was present in openSuse 11.3 with either KDE 4.4 and 4.5. It's apparently not related to a specific version of either openSuse, KDE or the Kernel. There are two ways to reproduce it (I know about): 1) Open anything that's related to webcam (open Kopete settings, start Cheese): Bus 001 Device 005: ID 04f2:b008 Chicony Electronics Co., Ltd USB 2.0 Camera 2) Plug in a MP3 player via USB (it behaves like a standard USB stick) and start Amarok. Amarok segfaults, but after several attempts it runs. At the moment Amarok starts, wireless disconnects. Here's what I've been able to find out about the issue: NetworkManager log (/var/log/NetworkManager) after the disconnect (attached) dmesg (attached) in ifconfig, wlan0 is missing. Laptop:/home/tadeas # ifconfig wlan0 up SIOCSIFFLAGS: Unknown error 132 After I try ifconfig wlan0 up, nothing new appears in either NM log, dmesg or /var/log/messages You might note that the logs say "WiFi now disabled by radio killswitch". But it has not, I haven't touched the switch and the light on it is still on. Manually disabling it and re-enabling it doesn't help. Restarting the NM doesn't help. I've tried to remove and again modprobe the rtl8187 kernel module, but it doesn't help. I can unload toshiba_acpi module, but I cannot load it again: FATAL: Error inserting toshiba_acpi (/lib/modules/2.6.38-30-desktop/kernel/drivers/platform/x86/toshiba_acpi.ko): No such device I attach Amarok backtrace. I haven't been able to get it complete, it says it's missing some files, but according to it's list of required libraries to get a complete backtrace all of them are there. Reproducible: Always Steps to Reproduce: 1. Open anything webcam-related (open Kopete settings, start Cheese) OR 1. Plug an MP3 player via USB - behaves like a standard USB stick 2. Start Amarok. If it segfaults, try again until it starts Actual Results: Wireless disconnects, wlan0 is down and I cannot bring it up. Expected Results: Stay connected and working. The issue could be related to more parts of the system: it could be a kernel issue (either USB system, rtl8187 kernel module, toshiba_acpi kernel module or something else), it might be even a KDE issue (some wrong call) or something completely different. Given that the issue is reproducible I can provide any additional info. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c1 --- Comment #1 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-09 09:03:30 UTC --- Created an attachment (id=424114) --> (http://bugzilla.novell.com/attachment.cgi?id=424114) The Amarok backtrace. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c Tadeas Moravec <tadeas.moravec@email.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|Other |x86-64 -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c2 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@novell.com --- Comment #2 from Jiri Slaby <jslaby@novell.com> 2011-04-12 16:25:07 UTC --- (In reply to comment #1)
Created an attachment (id=424114) --> (http://bugzilla.novell.com/attachment.cgi?id=424114) [details] The Amarok backtrace.
Could you install libusb-1_0-0-debuginfo and regenerate the trace? Also could you install this kernel and retest: http://labs.suse.cz/jslaby/bug-686439/ I think the reads from the usb controller are busted. And they are not checked in the original driver. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c3 --- Comment #3 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-12 18:41:30 UTC --- (In reply to comment #2)
(In reply to comment #1)
Created an attachment (id=424114) --> (http://bugzilla.novell.com/attachment.cgi?id=424114) [details] [details] The Amarok backtrace.
Could you install libusb-1_0-0-debuginfo
and regenerate the trace?
Also could you install this kernel and retest: http://labs.suse.cz/jslaby/bug-686439/
I think the reads from the usb controller are busted. And they are not checked in the original driver.
Attached new Amarok backtrace with libusb-1_0-0-debuginfo. I've also installed libqt4-debuginfo and libkde4-debuginfo for additional information. There are still some question marks, but I don't have a clue what libraries are still missing. I've retested with the new kernel, but the issue is still present. rodhuffaker on forums.opensuse.org had an idea that the problem might be that the MP3 player takes too much power from the USB hub and there's not enough for the wireless: http://forums.opensuse.org/english/get-technical-help-here/wireless/457656-w... Maybe this could be a hint? -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c4 --- Comment #4 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-12 18:42:39 UTC --- Created an attachment (id=424510) --> (http://bugzilla.novell.com/attachment.cgi?id=424510) Amarok backtrace after it crashes when the USB MP3 player is plugged in. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c5 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |tadeas.moravec@email.cz --- Comment #5 from Jiri Slaby <jslaby@novell.com> 2011-04-12 19:06:36 UTC --- (In reply to comment #3)
I've retested with the new kernel, but the issue is still present.
I need dmesg from there.
Maybe this could be a hint?
This is possible, yes. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c6 --- Comment #6 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-12 19:56:58 UTC --- (In reply to comment #5)
I've retested with the new kernel, but the issue is still present.
I need dmesg from there. I've done more testing and the scenario is now this: I plug the USB MP3 player in I start Amarok. It segfaults. I start Amarok again and again. After cca tenth attempt it does neither start nor run, it just hangs and there is no output in the terminal. I cannot start another instance of Amarok, I get a message that Amarok is already running. I try to kill the Amarok process with SIGKILL. It doesn't work immediately, Amarok is apparently in uninterruptable sleep. After a while Amarok dies, it's PID disappears and the wireless crashes.
I'll upload three different dmesgs: 1) After the Amarok "hangup" 2) After the wireless crashed 3) After two minutes or so, you can notice that it keeps spamming one line. There are timestamps in dmesg, so it's easy to follow where one ends and another continues. BTW is it better to upload text files here or shall I put them to pastebin and just link there? -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c7 --- Comment #7 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-12 19:57:56 UTC --- Created an attachment (id=424526) --> (http://bugzilla.novell.com/attachment.cgi?id=424526) Dmesg after Amarok stopped reacting. It apparently entered uninterruptable sleep. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c8 --- Comment #8 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-12 19:58:23 UTC --- Created an attachment (id=424527) --> (http://bugzilla.novell.com/attachment.cgi?id=424527) Dmesg after Amarok died -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c9 --- Comment #9 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-12 19:59:06 UTC --- Created an attachment (id=424529) --> (http://bugzilla.novell.com/attachment.cgi?id=424529) Dmesg after several minutes since the wireless broke. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c Tadeas Moravec <tadeas.moravec@email.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #424527|Dmesg after Amarok died |Dmesg after Amarok died and description| |wireless broke -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c10 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|tadeas.moravec@email.cz |gregkh@novell.com --- Comment #10 from Jiri Slaby <jslaby@novell.com> 2011-04-19 13:28:31 UTC --- (In reply to comment #6)
BTW is it better to upload text files here or shall I put them to pastebin and just link there?
How you did do that is fine. Ok, so looking at the log: [ 161.443126] rtl818x_ioread8_idx: ctl msg failed 1 - -110 [ 161.943062] rtl818x_ioread8_idx: ctl msg failed 2 - -110 [ 162.443390] rtl818x_ioread8_idx: ctl msg failed 3 - -110 [ 162.943051] rtl818x_ioread8_idx: ctl msg failed 4 - -110 [ 163.943125] rtl818x_ioread8_idx: ctl msg failed 1 - -110 .. usb_control_msg failed with ETIMEDOUT. So it really looks like a USB problem. Greg, is it possible that this is a problem with power on the USB bus? When he connects a USB stick in and starts reading it, he losts both the wireless and the stick. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c11 --- Comment #11 from Jiri Slaby <jslaby@novell.com> 2011-04-19 13:30:51 UTC --- Created an attachment (id=425637) --> (http://bugzilla.novell.com/attachment.cgi?id=425637) debug patch This is what was used to generate the debug info in the dmesgs. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c12 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |gregkh@novell.com InfoProvider|gregkh@novell.com | --- Comment #12 from Greg Kroah-Hartman <gregkh@novell.com> 2011-04-19 13:34:18 UTC --- yes, this looks like a power issue. Is the device plugged into a USB hub, or directly into the machine? -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |jslaby@novell.com |ovo.novell.com | -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |tadeas.moravec@email.cz -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c14 --- Comment #14 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-04-19 14:52:22 UTC --- (In reply to comment #12)
yes, this looks like a power issue.
Is the device plugged into a USB hub, or directly into the machine?
Directly into the machine and the problem is present on all four USB slots. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c15 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|tadeas.moravec@email.cz | --- Comment #15 from Jiri Slaby <jslaby@novell.com> 2011-04-19 15:00:18 UTC --- Don't forget to remove the flag. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffm@novell.com, | |oneukum@novell.com AssignedTo|kernel-maintainers@forge.pr |gregkh@novell.com |ovo.novell.com | -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c16 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |tadeas.moravec@email.cz --- Comment #16 from Greg Kroah-Hartman <gregkh@novell.com> 2011-08-12 23:05:36 UTC --- Strange stuff, does the 3.0 kernel solve this? Can you try it in Kernel:stable? -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c17 Tadeas Moravec <tadeas.moravec@email.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|tadeas.moravec@email.cz | --- Comment #17 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-08-14 12:39:04 UTC --- 3.0 doesn't solve it, I've tried it with kernel-desktop 3.0.0-39.1 from Tumbleweed. Shall I try Kernel:stable? -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c18 --- Comment #18 from Greg Kroah-Hartman <gregkh@suse.com> 2011-08-26 15:03:48 UTC --- No, the kernels versions are the same. I really want to blame your hardware here, as I can't think of anything else to try. I'll keep this open to see if I come up with anything new... -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c19 --- Comment #19 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-08-28 12:07:53 UTC --- It is possible, unfortunately I don't have any other OS but Linux to try it out. Anyway, it's a minor issue that can be easily avoided... -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c20 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |tadeas.moravec@email.cz --- Comment #20 from Greg Kroah-Hartman <gregkh@suse.com> 2011-11-01 17:44:54 UTC --- Does the 3.1 kernel solve this? -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c21 Tadeas Moravec <tadeas.moravec@email.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|tadeas.moravec@email.cz | --- Comment #21 from Tadeas Moravec <tadeas.moravec@email.cz> 2011-11-03 09:55:24 UTC --- 3.1.0-rc9-1-desktop from 12.1 RC doesn't. However I've only tried the webcam trigger (way 1, see above) as I don't have the MP3 stick handy. I can try it later, but the problem is apparently still here. -- 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=686439 https://bugzilla.novell.com/show_bug.cgi?id=686439#c22 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #22 from Greg Kroah-Hartman <gregkh@suse.com> 2011-12-05 20:21:03 UTC --- Ok, will close out now then, thanks. -- 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