On Sat, 20 Mar 2004, Sean Neakums wrote:

> Below is the SysRq-T output, attached is the strace output.
> 
> Mar 20 20:36:53 revox kernel: gphoto2       D E8D67E64     0   927    926            
>          (NOTLB)
> Mar 20 20:36:53 revox kernel: e8d67e48 00000082 c0405540 e8d67e64 ee8ab960 00000000 
> 00000000 c04475a0 
> Mar 20 20:36:53 revox kernel:        ef4f8a74 e8eb6580 000084d7 90320016 00000063 
> e8dd2980 e8dd2b30 e8d67000 
> Mar 20 20:36:53 revox kernel:        e8d67000 e8d67ecc e8d67e9c c0118679 00000000 
> e8dd2980 c01183d0 00000000 
> Mar 20 20:36:53 revox kernel: Call Trace:
> Mar 20 20:36:53 revox kernel:  [wait_for_completion+153/272] 
> wait_for_completion+0x99/0x110
> Mar 20 20:36:53 revox kernel:  [default_wake_function+0/16] 
> default_wake_function+0x0/0x10
> Mar 20 20:36:53 revox kernel:  [default_wake_function+0/16] 
> default_wake_function+0x0/0x10
> Mar 20 20:36:53 revox kernel:  [device_del+105/160] device_del+0x69/0xa0
> Mar 20 20:36:53 revox kernel:  [usb_disable_device+231/320] 
> usb_disable_device+0xe7/0x140
> Mar 20 20:36:53 revox kernel:  [usb_set_configuration+157/672] 
> usb_set_configuration+0x9d/0x2a0

This matches the strace log.  The last two entries in the file show
gphoto2 doing CLAIMINTERFACE followed by SETCONFIGURATION.  That's not a
good combination in the best of circumstances -- in fact it's totally
illogical.  And it's probably responsible for the lockup plus the further 
problems.

I wrote a patch just a couple of days ago that might help.  It's on my
other computer; I'll send it to you on Monday.  Ultimately the real fix
will be to change the gphoto2 program.

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