Re: USB hang

From: Greg KH
Date: Fri Sep 05 2003 - 16:37:02 EST


On Fri, Sep 05, 2003 at 11:32:09PM +0200, Momes wrote:
> On Friday 05 September 2003 18:08, Greg KH wrote:
> > On Thu, Sep 04, 2003 at 07:51:37PM +0200, Momes wrote:
> > > Hello:
> > > I'm trying to compile new kernel 2.4.22 (with XFS patch) in my machine.
> > > The problem is that it always hangs when I plug in my USB keyboard.
> > > My system needs "noapic" option in lilo.conf but it has always worked
> > > fined up to kernel 2.4.21. I've searched the archives and also used
> > > Google without found any answer, so decided to post my problem in the
> > > list with the hope that someone can give some clue.
> > >
> > > The system always stops at this point:
> > >
> > > "input: USB HID v1.00 Keyboard [BTC USB Keyboard] on usb2:3.0"
> >
> > If you boot without any USB devices plugged in, and then plug them in
> > after boot, do you still have this problem?
> >
> > And does this happen without the XFS patch?
> >
> > thanks,
> >
> > greg k-h
> > -
>
>
> When system boots with no USB device plugged in everything works OK until
> the moment I plug a USB device. In that very moment the system freezes with
> message
>
> "input: USB HID v1.00 Keyboard [BTC USB Keyboard] on usb2:3.0"
>
> as reported before.
> As you suggested I've also tried the vanila kernel without the XFS patch
> without any difference. System remains hanging.
>
> Any idea?

Can you enable CONFIG_USB_DEBUG and see if anything interesting happens
in your logs? Also if you could see where the machine hangs by possibly
using the nmi watchdog that would be really helpful.

What about if you boot without the noapic option?

thanks,

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