I am running RH 7.0 and have added a Yamaha 2100EZ CD writer (IDE).  I used the
SxS for replacing a cdrom with a cdburner as the blueprint for adding the
writer.

I have no SCSI controllers.  Before I added the writer I had the following
drives:

/dev/hda    boot partitions for RH and LTP
/dev/hdb    partitions for COL2.4 boot and home directories
/dev/hdc    CD-ROM


I added the following line to my lilo.conf, then ran lilo:
    append="hdd=ide-scsi"
    
I wanted /dev/hdd to be used for the CD-RW.  I performed the following to try
and make this happen (as root of course):

    $ mknod /dev/sr0 b 11 0
    $ mkdir /mnt/cdrw
    $ ln -s /dev/sr0 /dev/cdrw
    
    Added the following line to /etc/fstab
        /dev/cdrw  /mnt/cdrw iso9660 noauto,owner,ro 0 0

    Created /etc/rc.modules as follows (there wasn't one initially):
        #!/bin/sh
        /sbin/modprobe sg
        /sbin/modprobe ide-scsi
        
At this point (after rebooting), when I tried mounting the CD-RW I got the
following:
    $ mount /dev/cdrw /mnt/cdrw
    mount: the kernel does not recognize /dev/cdrw as a block device
then I tried:
    $ mount /dev/sr0 /mnt/cdrw
    mount: the kernel does not recognize /dev/csr0 as a block device

And I could no longer access my CD-ROM.  The CD-ROM should not be using the
SCSI emulation as /dev/cdrom->/dev/hdc.  This is very puzzling to me.

So, I put both CD-ROM and the CD-RW pointing to the SCSI devices by dong the
follwing:
    $ mknod /dev/sr1 b 11 0
    $ rm /dev/cdrw;  ln -s /dev/sr1 /dev/cdrw
    $ rm /dev/cdrom; ln -s /dev/sr0 /dev/cdrom
    
Now I have the following configuration:
/dev/hda    boot partitions for RH and LTP
/dev/hdb    partitions for COL2.4 boot and home directories
/dev/sr0    CD-ROM
/dev/sr1    CD-RW

With this configuration, it appears that when I mount sr0, then mount sr1, I
can only see the content of sr1 (and visa versa, depending on mount order).  
Also, I cannot read from the CD-RW from a CD player program or anything else. 
I *can* read from the CD-ROM using a CD player program, however.

Is the ide-scsi emulator code not able to handle more than 1 device (I don't
think this is the case)? 

I can also use xcdroast and xgcombust to burn CDs and read from the CD-ROM.  So
I can still function.  But this state puzzles me and I really want to
understand what is happening.

Any help would be appreciated.

TIA



    
    


=====
_____________________________
Susan Macchia
mailto:[EMAIL PROTECTED]
_____________________________

- Running Linux - because life is too short for reboots...

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to