Brandon wrote:
> Right, you definitely don't want to turn off IDE support.  Not only
>> would it prevent your CD-ROMs from working, but your floppy and hdd
>> wouldn't work either.  [:)] (Unless they happen to be SCSI.)
>> 
> 
> Heh, in which case all this ide-scsi stuff wouldn't be necessary.  [:-)] So how do I 
>set the kernel to unclaim the cdrom for the scsi module? 
> (change the symbolic link right?)
> Many thanks.

I think what the document was talking about was turning off the ide-cd 
driver support. This is the driver you are using if you are mounting a 
CD using the device file /dev/hd*.

When you use ide-scsi, you have two sets of device files to use, 
depending on what you are doing. Mounting a CD uses "block device" 
files, and these are /dev/sr* or /dev/scd* (I notice that RH 7.2 only 
has the /dev/scd* files), and use the sr driver. By the way, if compiled 
as a module, the sr driver becomes the sr_mod driver.

Programs like cdrecord (and I think some audio CD players) use 
"character device" files, and these are /dev/sg*, and use the sg driver.

Since by convention the cdrom block device files are expected to be 
named /dev/cdrom*, again by convention these will normally be made 
symbolic links to the appropriate real device files.

So one way to be sure that the ide-cd driver does not grab ahold of the 
cdrom, is to simply not compile in the ide-cd driver. If you have done 
this, and the ide-cd driver is still grabbing the cdrom, then you did 
something wrong in the compile or kernel installation step:-) After all, 
if the ide-cd driver is not in the kernel, it cannot attach to the 
cdrom. By the way, you can tell that the ide-cd driver is attached to 
the cdrom by the second set of messages in /var/log/dmesg mentioning hcd 
and hdd.

You can also leave the ide-cd driver compiled into the kernel, but tell 
it not to attach to the cdroms with the lines in /etc/lilo.conf like:
   append="hdc=ide-scsi"
If you have put those lines there, and the ide-cd driver is still 
grabbing ahold of the cdrom, then you made a mistake somewhere with lilo.

In any case, if I were in your place, since you already are somewhat 
familiar with the process, I would simply go through the kernel config / 
compile / install again, turn off ide-cd, and make sure I did not skip a 
piece of the process. And then go through the lilo config process again.

Duane




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to