Re: [linux-usb-devel] BUG: usb Mouse continual disconnect (2.6.22.10)leading to eventual crash?

From: Alan Stern
Date: Thu Nov 08 2007 - 10:04:20 EST


On Wed, 7 Nov 2007, Fortier,Vincent [Montreal] wrote:

> > -----Message d'origine-----
> > De : Andrew Morton [mailto:akpm@xxxxxxxxxxxxxxxxxxxx]
> > Envoyé : 7 novembre 2007 15:33
> >
> > (+linux-usb-devel)
> >
> > > On Wed, 7 Nov 2007 13:19:47 -0500 "Fortier,Vincent
> > [Montreal]" <Vincent.Fortier1@xxxxxxxx> wrote:
> > >
> > > I'm having a preblem with a few workstations that are hard freezing
> > > from time to time since about a week. Curiously since then we
> > > upgraded from
> > > 2.6.20.6 to 2.6.20.10...
> > >
>
> [.....]
>
> > >
> > > Looking at the changes between 2.6.20.6 and 2.6.20.10 I only found
> > > this USB related:
> > >
> > http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.22.y.git;a=commit;h=0e22438a5adfdf32b3bb1c75c81c01a29fba9770
> > >
> > > I'm presuming that maybie eventually it might hit a input max barrier
> > > (like a max of 1024) and then the kernel would be crashing?
> > >
> > > Help very much appreciated!
> >
> > People are going to want to know if this is still happening
> > in 2.6.23 or 2.6.24-rc2, please.
>
> I andrew,
>
> (logged-in at wrok to make proper reply)
>
> It might be tricky to test properly on 2.6.23.1 since theses are all
> operationnal aviation forecaster workstations 24/7 .... And sadly the
> problem only occur on a few of theses workstations AFAIK randomly ???
> Actually many of them did not had any problems using the exact same
> FAI reinstallation using the same hardware..?!?!.
>
> If someone thinks that the problem might effectively be the usb patch
> that I mentionned before (or any other patch that might make
> suddently thoses stations to freeze dur to a change that occur
> between 2.6.20.6 and .10) I would then be able to push a new kernel
> on thoses workstations without the offending patch(es) and have a
> clear answer within a week.

I have no idea what might be causing your problems, however that
particular patch you found seems most unlikely to be connected.

One reasonably non-invasive way to do more testing is to use usbmon to
record those multiple disconnect events. Instructions are in the
kernel source file Documentation/usb/usbmon.txt.

Alan Stern

-
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/