Re: restarting a kernel thread

Greg KH (greg@kroah.com)
Mon, 30 Jun 2003 11:00:02 -0700


On Mon, Jun 30, 2003 at 07:10:33PM +0200, martin f krafft wrote:
> i am doing some USB development these days and just managed to crash
> khubd:
>
> kernel: <6>note: khubd[9] exited with preempt_count 1
>
> the system seems happy still, USB is not working anymore, though.
>
> I have USB support built into the kernel, and a custom driver
> written as a module.
>
> Restarting would fix the problem and get USB back into operation,
> but I am wondering if there is a way to restart the khubd kernel
> thread manually. Is there?

Not really, sorry. Make usbcore a module and then just reload it will
work.

> I am soon going to switch to UML for this kind of development...

For USB development? Ok...please send us the patches that get USB
support working under UML as others have wanted to do this for quite
some time :)

Oh, what kind of driver are you working on?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/