Re: [linux-usb-devel] 2.6.0-test4 - PL2303 OOPS - see also 2.4.22: OOPS on disconnect PL2303 adapter

From: Michael Frank
Date: Sat Sep 06 2003 - 04:44:43 EST


On Saturday 06 September 2003 13:48, Greg KH wrote:
> On Sat, Sep 06, 2003 at 10:31:19AM +0800, Michael Frank wrote:
> > It's not loaded on boot, but only when needed. The scripts:
> >
> > usb1)
> > if [ ! -e /proc/bus/usb ]; then
> > echo Loading USB
> > modprobe usbcore
> > mount -t usbdevfs usbdevfs /proc/bus/usb
> > modprobe ohci_hcd
> > modprobe sd_mod
> > modprobe pl2303
> > modprobe lp
> > fi
> > ;;
> >
> > usb0)
> > echo Unloading USB
> > rmmod usb-storage sd_mod scsi-mod
> > rmmod pl2303 usbserial
> > rmmod lp parport
> > rmmod ohci_hcd
> > umount usbdevfs
> > rmmod usbcore
> > ;;
> >
> > Perhaps this is too dumb and I should do some checking along the way,
> > however joe user should be unable to oops things up...
>
> I agree. Can you add that oops to a new bug at bugzilla.kernel.org?
>

Yes, will do, and more testing as well.

Regards
Michael

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