Re: [linux-usb-devel] init 1 kill khubd on 2.6.11

From: Andrey Borzenkov
Date: Mon May 02 2005 - 07:20:14 EST


On Monday 02 May 2005 13:30, Andrew Morton wrote:
> Andrey Borzenkov <arvidjaar@xxxxxxx> wrote:
> > > It's pretty simple to convert khubd to use the kthread API. Something
> > > like this (untested):
> >
> > Something strange is going on with this patch.
> >
> > insmod usbcore; insmod uhci-hcd works as expected, finds out all
> > devices, triggers hotplug etc. But
> >
> > {pts/2}% sudo insmod ./usbcore.ko
> > {pts/2}% sudo mount -t usbfs -o devmode=0664,devgid=43 none
> > /proc/bus/usb {pts/2}% sudo modprobe usb-interface
> >
> > results in
> >
> > ...
> > uhci_hcd 0000:00:1f.2: Unlink after no-IRQ? Controller is probably
> > using the wrong IRQ.
> > usb 1-1: khubd timed out on ep0out
>
> Does this only happen when the convert-khubd-to-kevent patch is applied?

(Do you mean patch posted in this thread?)

Now I must admit it does happen without patch too. Sometimes it goes through
but most of the time it results in those timeouts.

So I confirm that patch posted in this thread fixes original problem (khubd
killed by SIGKILL).

W.r.t. to timeouts - I appreciate hints where to start debugging. (I am
downloading vanilla kernel + -mm to give it a try).

regards

-andrey

Attachment: pgp00000.pgp
Description: PGP signature