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

Re: ide-scsi grabs everything



    "Jason" == Jason Pepas <j.pepas@mail.utexas.edu> writes:

    Jason> hello, I have both ide-cd and ide-scsi compiled as modules.
    Jason> When I modprobe ide-scsi, it grabs all non-hard drive ide
    Jason> devices (the burner and the zip drive).  Is there a way to
    Jason> make it just grab the burner?

Create a file called /etc/modutils/cdrw with the following lines

# Stuff to make /dev/hdc my CDROM with ide-cd 
# and to make /dev/hdd my CD-RW with ide-scsi
#           -- from the CD-Writing HOWTO :-)
#
# First, get the ide-cd drive to not latch onto /dev/hdd
options ide-cd ignore=hdd
#
#
# Set up an alias for /dev/scd0 to load sr_mod
alias scd0 sr_mod
#
#
# Now get ide-cd followed by ide-scsi loaded before the SCSI drivers
pre-install sg        modprobe ide-scsi
pre-install sr_mod    modprobe ide-scsi
pre-install ide-scsi  modprobe ide-cd
# End of File


Now run 'update-modules' and if you are using a kernel like
2.4.18-{arch} you should be there.

Of course, be sure to change the device names to what you want. In my
case hdd is the burner, hdc is a DVD ROM. The burner is seen as
/dev/scd0.

    Jason> also, before I modprobe ide-scsi, the burner should still
    Jason> be /dev/hdc, but I cannot mount it (mount reports not valid
    Jason> block device).  Any ideas?

Well, probably this is okay. Is ide-cd loaded when you tried this?

Cheers!
Shyamal



Reply to: