[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel oops when removing USB CDROM



On Wed, Mar 02, 2005 at 03:27:26PM +0100, xerces8 wrote:
> From: Justin Pryzby <justinpryzby@users.sourceforge.net>
> 
> > On Wed, Mar 02, 2005 at 10:12:02AM +0100, xerces8 wrote:
> > > Yesterday I noticed than when disconnecting the USB CDROM I get a kernel oops.
> > > Something like "scsi badness in lib/get_kobject.c"
> > > (did not write down the exact message)
> > > 
> > > The oops happens immediatelly after I disconnect the USB cable.
> > > 
> > > The kernel is kernel-image-2.6.8-2-k7-smp_2.6.8-13_i386.deb
> > > 
> > > HW data:
> > >  - VIA KT400 + VIA 8235
> > >  - USB CDROM is an LG GSA-4163 ATAPI DVD burner in an external USB2/FW
> > >    enclosure with a Prolific chipset
> > > 
> > > 
> > > I also noticed, than when connecting the unit, entries in /dev/ are
> > > created, but not in /media/ or /etc/fstab. Bug ?
> > Because you're using udev, right?
> > 
> > /media/ is where you might mount the new /dev/ devices (according to
> > manually written rules in fstab).  If you want thing to be
> > automounted, you need kernel automounter support, and the automounter
> > package.
> 
> Will that (auto)create /media/cdrom1 ?
I doubt it.  All the automounter will do (AIUI) is call "mount
/dev/foo" for you when it gets some notification that the "foo" device
has become available.  You must be able to mount it manually, too,
otherwise the automount will fail.

Justin



Reply to: