On Fri, 19 Mar 2004, Sean Neakums wrote:

> Alan Stern <[EMAIL PROTECTED]> writes:
> 
> > It would help to know what gphoto2 is doing.  There should be more 
> > debugging in the usbfs driver, without it we're sort of in the dark.  
> > However, you can try using strace on the gphoto2 program; that will give 
> > us some idea of what's going on.
> 
> gphoto2 is in this state at the point of hanging:
> 
>     $ ps -C gphoto2 -o comm,s,wchan
>     COMMAND          S WCHAN
>     gphoto2          D usb_disable_device
> 
> Further gphoto2 instances also enter D but with WCHAN of 'down'.
> 
> I'll do some stracing and get back to you with the results.

Another useful thing to try might be a tasklist dump (Alt-SysRq-T from a
console screen, not an X window) while gphoto2 is hung.  Although at this
point it's not so important to know what's hung and where; it's more
important to know what went wrong originally to cause the hangs.  Well, we
learn a little more each time...

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to