hello,

Remember when i asked about rescheduling urb in the completion routine ?
I had a problem with it.
I don't know if it is me or usb-uhci. ( probably a bit of both..)
The problem arises when i start resubmitting the urb during it's
completion.
This seemed to cause an interrupt each frame.
what error does it report in such a case?
I return on ENODEV, process the urb when the lengthfield is not 0 and
the status isn't EINPROGRESS.
(This is probably too generic, but i don't know what the status field is
at successfull completion. ( 0 ?))
anything else results in a rescheduling of the urb.

What i was wondering is why the usb-uhci reports a stalled endpoint ?
Isn't it capable of detecting a removed device and return -ENODEV ?

anyway, the usb-uhci log is at the end, it ends when my system
hardlocks.
can this be related ?

        J.

Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1278 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb7567a0/0B7567A0, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b7569e0, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8b1c00/0B8B1C00, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8b13c0, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1280 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8a6ba0/0B8A6BA0, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8a6be0, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1281 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8a69a0/0B8A69A0, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8a6660, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1282 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb756b60/0B756B60, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8b1040, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1283 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8a6a20/0B8A6A20, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8a65e0, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1284 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb756820/0B756820, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b756760, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1285 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8b1f40/0B8B1F40, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8b1f00, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1286 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8a6ba0/0B8A6BA0, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8a6be0, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1287 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8a66e0/0B8A66E0, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8a6720, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1288 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb756920/0B756920, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8b13c0, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1289 
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:   TD @
cb8a6a20/0B8A6A20, MaxLen=3f DT1 EP=7 Dev=3 PID=( IN  ) buf=0ab9f010
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Len=7ff e0 SPD
Stalled CRC/Timeo  
Apr 24 23:44:56 Infinity kernel: usb-uhci-debug.h:     Link points to TD
@ 0b8a65e0, Breadth first
Apr 24 23:44:56 Infinity kernel: usb-uhci.c: interrupt, status 3, frame#
1290 
Apr 24 23:50:09 Infinity kernel: klogd 1.3-3, log source = /proc/kmsg
started.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to