Bug 693912

Summary: system freeze during open('/dev/rfcomm0')
Product: [openSUSE] openSUSE 11.4 Reporter: Juergen Weigert <jw>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jeffm, jslaby
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 357354    
Attachments: screenshot

Description Juergen Weigert 2011-05-15 21:28:09 UTC
I have set up tethering via bluetooth. The connect script uses cinternet, smpppd, to talk to my telephone modem through /dev/rfcomm0
Works usually fine.

When the bluetooth connection cannot be establised, (too far away, phone switched off, ...) the system freezes until the open() syscall times out.

I can reproduce with a simple 
  strace dd if=/dev/rfcomm0
...
open("/dev/rfcomm0", O_RDONLY|O_LARGEFILE) = 
-1 EHOSTDOWN (Host is down)
...

While the process hangs in open, I can move the mouse. As soon as I type anything, the system freezes. No mouse movement, the typed characters are lost.
The system resumes normal operation, as soon as the open call returns.

In 11.3 such freezes were not encountered.
Comment 1 Juergen Weigert 2011-05-15 21:30:58 UTC
lenovo x60s, builtin bluetooth hardware.
  Vendor: usb 0x0a5c "Broadcom Corp."
  Device: usb 0x2110 "BCM2045B"
  Driver: "btusb"

Linux e237 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 i686 i386 GNU/Linux
Comment 2 Jiri Slaby 2011-05-18 21:10:52 UTC
(In reply to comment #1)
> Linux e237 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686
> i686 i386 GNU/Linux

Does it happen with dully updated system?

Could you reproduce on console after you run:
klogconsole -r 0 -l 8
?
Comment 3 Juergen Weigert 2011-05-19 23:05:16 UTC
pulled available updates via yast, now running
Linux e237 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux

same effect.
Comment 4 Juergen Weigert 2011-05-19 23:27:04 UTC
Created attachment 430536 [details]
screenshot

I managed to provoke the freeze 3 times in a row.
The console with klogconsole -r 0 -l 8 

has some messages concerning the bluetooth device (builtin device, lenovo x60s):

 btusb_bulk_complete: hci0 urb f21a4bc0 failed to resubmit (19)
 btusb_send_frame: hci0 urb f29b6ac0 submission failed

See attached screenshot.
Comment 5 Jeff Mahoney 2012-08-02 15:58:08 UTC
With the coming release of openSUSE 12.2, openSUSE kernel developers are focusing their efforts there. Reports against openSUSE 11.4 and prior will not get the attention needed to resolve them before openSUSE 12.2 is release and openSUSE 11.4 becomes unmaintained.

Please re-test with openSUSE 12.1 or openSUSE RC2+ and re-open with an updated Product if you still encounter your issue.

We apologize for this issue not getting the attention it deserves but we are focusing our resources in the area where they will have the most impact for our users.  We're working hard to make openSUSE 12.2 the best openSUSE release yet!