On Sat, 4 Mar 2006, Andrew Morton wrote:

> Alan Stern <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, 3 Mar 2006, Andrew Morton wrote:
> > 
> >  > The kernel is 2.6.16-rc5-mm2 plus a little bit.  I've got `reboot -f' in
> >  > rc.local (don't ask) and after maybe 200 reboots I hit a USB oops.
> >  ...
> >  > The faulting line is here:
> >  > 
> >  >  if (i == 0 && desc->bInterfaceClass == USB_CLASS_COMM
> > 
> >  I suppose it's beyond the realm of folly to ask if any of these problems 
> >  are at all reproducible?
> > 
> 
> I seem to be able to get it to oops about once per two hours in an infinite
> reboot cycle.  There's no clean pattern to it.  Mainline kenrel survived
> eight hours so it's probably something in -mm.
> 
> Bisecting 1400 patches at two hours each sounds fun.

No, it doesn't.  :-(

How about if, instead of rebooting over and over, you run a shell script 
like this:

        #!/bin/sh
        umount /proc/bus/usb

        while : ; do
                rmmod uhci-hcd
                rmmod ohci-hcd
                rmmod ehci-hcd
                ... any other USB modules you might have loaded
                rmmod usbcore
                sleep 1
                modprobe usbcore
                modprobe ehci-hcd
                modprobe ohci-hcd
                modprobe uhci-hcd
                sleep 2
        done

Maybe it will provoke the fault a lot quicker.

Or maybe the fault won't happen at all, which would be a reasonably good 
indication (although not a perfect one) that the error isn't in the USB 
code.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to