[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
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c
Tadeas Moravec
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c2
Jiri Slaby
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
(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
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c5
Jiri Slaby
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
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
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c8
--- Comment #8 from Tadeas Moravec
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c9
--- Comment #9 from Tadeas Moravec
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c
Tadeas Moravec
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c10
Jiri Slaby
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
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c12
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c14
--- Comment #14 from Tadeas Moravec
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
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c16
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c17
Tadeas Moravec
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
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c19
--- Comment #19 from Tadeas Moravec
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c20
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c21
Tadeas Moravec
https://bugzilla.novell.com/show_bug.cgi?id=686439
https://bugzilla.novell.com/show_bug.cgi?id=686439#c22
Greg Kroah-Hartman
participants (1)
-
bugzilla_noreply@novell.com