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

Re: Can't mount CD/DVD drives

On Wed, Feb 15, 2006 at 01:51:54PM -0500, Lennart Sorensen wrote:
> On Wed, Feb 15, 2006 at 08:39:11AM -0500, Carl Brown wrote:
> > Ide_scsi is loaded, and refuses to unload.
> > 
> > # rmmod ide_scsi
> > ERROR: Removing 'ide_scsi': Device or resource busy
> > 
> > It is unclear why it is busy:
> > 
> > # lsmod|grep ide_scsi
> > ide_scsi               18116  0
> > ide_core              144888  5 ide_cd,amd74xx,ide_generic,ide_disk,ide_scsi
> > scsi_mod              151512  9 sbp2,sg,aic79xx,ide_scsi,sr_mod,sd_mod,libata,aic7xxx,scsi_transport_spi
> > 
> > ide_scsi is not listed in /etc/modules.
> > 
> > Would this mess perhaps have something to do with udev/hotplug?
> > Dpkg says:
> > rc  udev             0.056-3
> > ii  hotplug          0.0.20040329-25
> There was a problem around 2.6.12 days as far as I remember where a bad
> initrd tool generated initrd images which loaded ide-scsi, and once that
> is done the initrd tool will make future ones to match your setup.  I
> think 2.6.15 kernel will force it to not use ide-scsi at all, but I am
> not sure.

All true.  I was a faithful user of 2.6.12 debian kernel up until
yesterday.  If you unloaded the ide-scsi, it would at least oops,
sometimes harmlessly, sometimes fatally.

> Perhaps just adding ide-cd to the list of modules to load first
> explicitly in the initrd tool config will make it do the right thing if
> you then regenerate the initrd.

It sounds like there is some extra step to using debian kernels now?
It would be nice to get an FYI at least when installing one of these.
I tried the 2.6.15.x debian kernel yesterday, and it couldn't mount root,
I think because it wasn't loading the nv_sata module or the md/raid1
or something.

So what I'm hearing is that you have to boot your old kernel, run some
kind of command vis-a-vis the new kernel, and then you can boot your new
kernel?  I didn't see any mention of that when I installed it.  Am I
blind or are we getting hosed by silent changes?

Instead, I downloaded the latest 2.6.15 from kernel.org, configured it
and it works great.  No initrd needed.  I had to anyway, because debian
rudely removes the keyspan USB serial drivers for some reason.

OT: If you're configuring your kernel with make gconfig here's a tip:
save early and often.  I spent 90 minutes mulling through the config, and
when I went to save it, it segfaulted and I had to start all over.  Sigh.



Reply to: