Georg Acher wrote:
>
> On Tue, Apr 11, 2000 at 06:19:35PM +0000, Johan Verrept wrote:
> >
> > hello all,
> >
> > i have a little question.
> > I am trying to set up a urb reuse thingie in my driver and i ran into an oops
> > or something, dunno for sure... I get lotsa hexdump and the last line is :
> >
> > Aie disabling interrupt handler.
> >
> > Then my machine is dead.
> > (at least all input/output seems to be dead, numlock still works ??)
> >
> > is it allowed to resubmit an urb while I am still in the completion handler of
> > that urb ?
>
> Yes, it is possible for control, bulk, and isochronous, interrupt doesn't
> make much sense. Speaking for usb-uhci: Before calling the completion the
> URB is released from the internal management.
ok. thanks for the answer, it's bulk btw.
Another question related to this, when i unplug my device, what happens
to the queued urb's ?
is the completion handler called ?
If it isn't, can I still call usb_unlink_urb() on it ?
If not, then what ?
does the completion handler have to return quickly ?
...and one more ;-)
i presume the following allows me to queue mulitple urbs for quick data
transport ?
urb->transfer_flags |= USB_QUEUE_BULK;
does it have any effect on the unlinking stuff ?
> > if it is, any idea's why i get this crash ?
>
> Can you show some code?
nothin usefull, but i traced it to a point beyond the usb part
so it has to be there somewhere...
I got an improvement, i can look at the oops thingie now, I had the hang
because at the end it is trying to kill the idle task... the kernel
doesn't like that much ;-)
*grumble* gotta keep lookin'...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]