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

Openmoko Public Trac bugs at docs.openmoko.org
Sun Feb 15 17:56:17 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 balajirrao):

 The thing is, usb.c goes to an uninterruptible sleep and there's no way
 for it to get out of it. That is what the log says - 'INFO: task usb:3713
 blocked for more than 120 seconds.'

 To fix this non-killability with ^c is what I sent the patch for! You're
 right, it looks like there are races somewhere in the code
 s3c2410-udc/gadgetfs code that prevents the task from getting out of
 sleep. It might also be preferable to use killable sleep here. I'll try to
 reproduce the problem and see what can be done.

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


More information about the buglog mailing list