First, thanks for your reply. > I think you're greatly overcomplicating this process. First, there > should be no need to create new block devices or symlinks to block > devices. Remove all of that cruft, as its only confusing the > configuration further.
I had to create the block device for SCSI because there was none; no /dev/sr0, /dev/sr1, etc. And I already had /dev/cdrom linked to /dev/hdd. Seemed reasonable to point /dev/cdrw to the device that the cdrw was on. They're only soft links after all... But you are right, I don't really need them. > > Second, you should be able to access the vanilla CDROM drive as an IDE > drive, and the IDE CD burner as a SCSI drive. This is what I wanted and tried to do initially and couldn't access either drive. Which is why I ended up pointing both to /dev/sr0 and /dev/sr1. Maybe I should start over? > > Third, what does dmesg think you have for drive assigments (hda, hdb, > hdc & hdd)? What does the output from "cdrecord --scanbus" see? What > does 'lsmod' show? --------------- dmesg output: <snip> hda: Maxtor 91296D6, ATA DISK drive hdb: Maxtor 53073U6, ATA DISK drive hdc: NEC CD-ROM DRIVE:28D, ATAPI CDROM drive hdd: YAMAHA CRW2100E, ATAPI CDROM drive <snip> Ok there --------------- cdrecord --scanbus says: Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling Linux sg driver version: 2.1.38 Using libscg version 'schily-0.5' scsibus0: cdrecord: Warning: controller returns wrong size for CD capabilities page. 0,0,0 0) 'NEC ' 'CD-ROM DRIVE:28D' '3.03' Removable CD-ROM 0,1,0 1) 'YAMAHA ' 'CRW2100E ' '1.0N' Removable CD-ROM 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * --------------- lsmod shows: Module Size Used by parport_probe 3428 0 (autoclean) parport_pc 7464 1 (autoclean) lp 5416 0 (autoclean) parport 7312 1 (autoclean) [parport_probe parport_pc lp] vfat 9404 0 (autoclean) (unused) fat 30688 0 (autoclean) [vfat] Mvnetd 9168 1 Mvnet 52520 0 [Mvnetd] Mvnetint 11252 0 [Mvnet] Mvw 4344 0 Mvmouse 604 0 Mvkbd 752 0 Mvgic 3332 0 (unused) Mvdsp 804 0 Mserial 6412 0 Mmpip 7040 0 Mmerge 128952 0 [Mvnetd Mvnet Mvnetint Mvw Mvmouse Mvkbd Mvgic Mvdsp Mserial Mmpip] autofs 9124 1 (autoclean) lockd 31176 1 (autoclean) sunrpc 52964 1 (autoclean) [lockd] agpgart 18600 0 (unused) ide-scsi 7336 0 sg 15704 0 snd-card-ymfpci 4080 0 snd-ymfpci 34172 0 [snd-card-ymfpci] snd-pcm 29464 0 [snd-ymfpci] snd-ac97-codec 23616 0 [snd-ymfpci] snd-mixer 23356 0 [snd-ymfpci snd-ac97-codec] snd-opl3 4264 0 [snd-card-ymfpci] snd-timer 8096 0 [snd-pcm snd-opl3] snd-hwdep 2956 0 [snd-opl3] snd-mpu401-uart 2296 0 [snd-card-ymfpci] snd-rawmidi 9432 0 [snd-mpu401-uart] snd-seq-device 3652 0 [snd-rawmidi] snd 35820 1 [snd-card-ymfpci snd-ymfpci snd-pcm snd-ac97-codec snd-mixer snd-opl3 snd-timer snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 2596 0 [snd] usb-uhci 19052 0 (unused) usbcore 42088 1 [usb-uhci] 3c90x 22200 1 ------------------ OK so I backed up per your suggestion and did the following: /dev/cdrom -> /dev/hdc /dev/cdrw -> /dev/sr0 Then rebooted. Now when I try and mount the cdrom: $ mount /dev/cdrom /mnt/cdrom /dev/cdrom: Input/output error mount: you must specify the filesystem type So I tried: $ mount -t iso9660 /dev/cdrom /mnt/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems When I try and mount the cd-writer: $ mount /dev/cdrw /mnt/cdrw mount: block device /dev/cdrw is write-protected, mounting read-only But it mounts the first cdrom on /dev/hdc !!! This is what confuses me... TIA (very much) > > --- Susan Macchia <[EMAIL PROTECTED]> wrote: > > 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. ===== _____________________________ 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