Openmoko Bug #2232: unplugging with gadgetfs causes panic: "softlockup: blocked tasks"

Openmoko Public Trac bugs at docs.openmoko.org
Sun Feb 15 15:16:37 CET 2009


#2232: unplugging with gadgetfs causes panic: "softlockup: blocked tasks"
-----------------------------+----------------------------------------------
 Reporter:  lindi            |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  in_testing     
 Priority:  normal           |      Milestone:                 
Component:  System Software  |        Version:  unspecified    
 Severity:  normal           |       Keywords:                 
 Haspatch:  0                |      Blockedby:                 
Estimated:                   |    Patchreview:                 
 Blocking:                   |   Reproducible:                 
-----------------------------+----------------------------------------------

Comment(by lindi):

 This time "lsusb -vvv" on laptop just took a really long time and
 eventually showed only the hub. Hitting ctrl-c on usb.c does not seem to
 kill it now:

 {{{
 lindi at ginger:~/scm/usb-root/sink$ sudo ./usb -r 1.3 -p 1
 /dev/gadget/s3c2410_udc ep0 configured
 serial="1.3"
 ^Creset source fd: Interrupted system call
 ^Creset sink fd: Interrupted system call
 ep0 stall: Identifier removed
 ^Cep0 read after poll: Interrupted system call
 }}}

 Shouldn't there be a kernel space patch to fix the issue? Bad userland
 software should not be able to crash the kernel.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2232#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list