After digging the newsgroup, I found a reference to this Linux Gazette
article:
http://www.linuxgazette.com/issue57/stoddard.html
With a lot of experimentation, I managed to make it work perfectly for me.
Hope it can help you too!
I leave the "/sbin/modprobe ide-scsi" in the rc.local script file but add
these lines to the /etc/modules.conf file
(Note that the article state /sbin/insmod, I'm not sure if it does the same
with these parameters)
alias parport_lowlevel parport_pc
alias sound-slot-0 emu10k1
alias usb-controller usb-uhci
alias eth0 ne
options ne io=0x220 irq=5
# added this for ide-scsi of my CD-RW on hdd
# and a regular cdrom on hdc
alias scd0 srmod
alias scsi_hostadapter ide-scsi
options ide-scsi
options ide-cd ignore=hdd
# end
and most important, I modified my image section of lilo.conf as follow:
image=/boot/vmlinuz-2.2.16-22
label=linux
read-only
root=/dev/hda2
append="hdc=ide-cd hdd=ide-scsi"
and of course, run /sbin/lilo to apply changes and reboot.
Now, cdrecord -scanbus reports correctly and I can mount my regular CDROM. I
havent tried to burn a cd yet but I'm confident it will work fine as it used
to work with my previous installation.
Thanks for your observations, it really helped me get on the right track.
> I've now found a similar problem (to the one quoted below): my IDE ZIP
> drive doesn't work after the mods, and the messages I get are like the
> ones in the quote (including the fact that the ZIP drive gets listed as
> the first in the list from cdrecord -scanbus).
> If I remove the line
> /sbin/modprobe ide-scsi
> from /etc/rc.d/rc.local (and reboot)
> then the ZIP drive works fine again but of course the CD-RW doesn't.
> My guess is that what's happening is that ide-scsi is coming in and
> grabbing all the devices it can see that haven't been claimed yet, but
> that allowing it to do that within /etc/rc.d/rc.local lets it do its
> work too early.
> What does work (for me) is to leave the modprobe line out from
> /etc/rc.d/rc.local and then enter it manually after the machine has
> booted. I'd like not to have to do that, though, so does anyone know
> where the "best" place would be to put the modprobe command?
> John Foster
> > I have the same problem with RH7, that link says nothing about sr_mod. I
> > followed those instructions carefully, now cdrecord -scanbus reports ok
> > Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
> > Linux sg driver version: 2.1.38
> > Using libscg version 'schily-0.1'
> > scsibus0:
> > 0,0,0 0) 'MATSHITA' 'CD-ROM CR-586 ' 'KS15' Removable CD-ROM
> > 0,1,0 1) 'HP ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
> > ...
> > Problem, my matshita is a cd reader, and I can't mount it anymore. Same
> > for the CD-Writer.
> > for cd-writer it says:
> > mount: block device /dev/cdrom1 is write-protected, mounting read-only
> > mount: wrong fs type, bad option, bad superblock on /dev/cdrom1,
> > or too many mounted file systems
> > and for the matshita:
> > mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> > or too many mounted file systems