Guest itmpm Posted December 25, 2002 Report Share Posted December 25, 2002 Hi. I am trying to get both a CD-ROM drive and a CD-RW drive running on my Mandrake 9.0 system. However, since connecting the spare IDE cable, I can now play music CD's on the CD-ROM (using the spare cable), but not on the CD-RW. I cannot mount either drive explicitly with the mount command. I have tried to update the devices/mount using the Mandrake Control Center, which updated the /etc/fstab file to have the following lines: /dev/hdd /mnt/cdrom iso9660 user,noauto 0 0 /dev/scd0 /mnt/cdrw iso9660 user,noauto,ro 0 0 Mandrake Control Center's Hardware List shows the following: *************************************** CDROM: /dev/hdd Model: [not listed] Vendor: [not listed] Bus: ide Channel: secondary New devfs device: ide/host0/bus1/target1/lun0/cd Old device file: /dev/hdd Media class: cdrom *************************************** CD/DVD burners: /dev/scd0 Bus: SCSI Locaton on the bus: 0:1 capacity: burner Channel: 00 New devfs device: scsi/host0/bus0/target1/lun0/cd Old device file: /dev/scd0 host: 0 info: CyberDrv CW088D CD-R/RW lun: 00 Media class: cdrom raw_type: CD-ROM ANSI SCSI revision: 02 ************************************* How do I get them both to work? MTIA, Matt Quote Link to comment Share on other sites More sharing options...
Counterspy Posted December 25, 2002 Report Share Posted December 25, 2002 Please post your etc/fstab here so we can see the whole setup. Counterspy Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted December 25, 2002 Report Share Posted December 25, 2002 seeing fstab would be helpful, and two things I suggest: 1) Make sure supermount is off, and don't even think about it when using your system! 2) Make your cdrom scd1, so that you will be able to use it as a reader when copying cd's. Don't forget to emulate the sci driver for both drives in lilo. Quote Link to comment Share on other sites More sharing options...
Guest itmpm Posted December 25, 2002 Report Share Posted December 25, 2002 Here is my /etc/fstab: /dev/hda1 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda6 /home ext3 defaults 1 2 /dev/hdd /mnt/cdrom iso9660 user,noauto 0 0 /dev/scd0 /mnt/cdrw iso9660 user,noauto,ro 0 0 /dev/fd0 /mnt/floppy auto iocharset=iso8859-1,codepage=850,sync,unhide,noauto,nosuid,umask=0,user,nodev 0 0 none /proc proc defaults 0 0 /dev/hda5 swap swap defaults 0 0 Hope it helps... :) Matt Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 25, 2002 Report Share Posted December 25, 2002 Also, how did you physically hook up the cdrom and cdrw? They should be on different IDE. This might not always be true but I had similar problems with my hard drives until I tried a certain configuration. How did you setup the master/slave configuration if they are on the same IDE? When you boot up, do you see both drives listed in the bios? If you have an image in the way (like a Dell logo), try hitting escape as soon as the image appears. Make sure all hard drives and cd's appear. Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted December 25, 2002 Report Share Posted December 25, 2002 Concerning my cdrom and cdrw devices, here is my fstab entries: /dev/scd0 /mnt/cdrom auto user , icocharset=iso8859-1,unhide,codepage=850,noauto,ro,umask=0 0 0 /dev/scd1 /mnt/cdrom2 auto user ,icocharset=8859-1,unhide,codepage=850,noauto,ro,umask=0 0 The program k3b also added these lines for use in recording and copying cd's: /dev/ide/host0/bus1/target0/lun0/cd /mnt/cdrom2 auto ro,noauto,user,exec 0 0 /dev/scsi/host0/bus0/target1/lun0/cd /mnt/cdrom auto ro,noauto,user,exec 0 0 In my system, cdrom is my writer, and cdrom2 is my reader. I also have added two enteries in lilo to the appends hdb=ide-scsi hdc=ide-scsi because my drives are on the primary slave channel, and the secondary master channel. I don't know if it matters, but your fstab entery looks out of sequence in its format. Might be why it doesn't work. I think the cdrom howto describes the sequence of this entry, and which parts can be ignored. Quote Link to comment Share on other sites More sharing options...
Glitz Posted December 25, 2002 Report Share Posted December 25, 2002 Okay, from what I can gather from your post you have two problems: 1) You can't play CDs from your CDRW. 2) You can't mount a data CD in either your CDROM or CDRW. Please correct me if I'm wrong. Well, the answer to 1) is probably that you do not have an audio cable connecting the CDRW to the sound card. There are some programs that will play CDs by extracting the digital information right off the CD but most programs just use the audio cable. I'm not sure about 2). Could you provide some more information like what commands you tried and what error messages you got back. Glitz. Quote Link to comment Share on other sites More sharing options...
Guest itmpm Posted December 25, 2002 Report Share Posted December 25, 2002 Hi. thanks all, for your responses so far. I've had a look in the /dev directory, and--horrors!! All the /dev pseudo-files mentioned so far appear to be missing! That is: /dev/scd0 /dev/scd1 /dev/hdd /dev/ide/host0/bus1/target1/lun0/cd /dev/scsi/host0/bus0/target1/lun0/cd None of them are there! Now, I could be wrong about this, but if you refer to a /dev file, isn't it supposed to exist? Matt Melchert Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted December 25, 2002 Report Share Posted December 25, 2002 Many of these items refer to symbolic links that in turn refer to the main structures of /dev. That is why you can name your cdrom "harvey" , as in /mnt/harvey and a symbolic link will connect harvey to the appropriate place in /dev, that is, the appropriate place in your system's bus. (For the record, I call my large giant rabbit Harvey!) When you mount any file system, you mount it by some name of a particular type to a particular place in the bus, which is what /dev is all about. That fact that you can use the cdrom for something is an indication that the bus point is there, somewhere. Also, cannonfodder has a good point, in that many cd devices should be on seperate buses, or seperate ide channels, for smooth operation. If your /dev/ide is missing, your harddrive would not be working, unless you are all scsi. Could you post your /etc/lilo.conf? I think we are getting close! Quote Link to comment Share on other sites More sharing options...
Guest itmpm Posted December 26, 2002 Report Share Posted December 26, 2002 Okay, here: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda1 initrd=/boot/initrd.img append="devfs=mount hdb=ide-scsi quiet" vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda1 initrd=/boot/initrd.img append="devfs=mount hdb=ide-scsi" read-only other=/dev/fd0 label=floppy unsafe image=/boot/vmlinuz-2.4.19-16mdk label=old_linux root=/dev/hda1 initrd=/boot/initrd-2.4.19-16mdk.img append="quiet devfs=mount hdb=ide-scsi" vga=788 read-only image=/boot/vmlinuz label=failsafe root=/dev/hda1 initrd=/boot/initrd.img append="devfs=nomount hdb=ide-scsi failsafe" read-only Enjoy! :D Matt Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted December 26, 2002 Report Share Posted December 26, 2002 Is your cdrom master or slave on the secondary ide? Is your writer the slave on the Primary ide? Quote Link to comment Share on other sites More sharing options...
Guest itmpm Posted December 26, 2002 Report Share Posted December 26, 2002 Hi. I checked the BIOS stuff on bootup. The CD-RW is the slave on the primary ide; the master on the secondary ide is currently set to AUTO. I tried setting it to CDROM, but it wouldn't start then so I switched it back. Currently, as it turns out I can mount cdrw but not cdrom. however, using the KsCD player program, I can play a music CD on cdrom even though I can't mount it by hand. Any other ideas? PS Happy holidays to you and yours. Matt Quote Link to comment Share on other sites More sharing options...
Guest itmpm Posted December 27, 2002 Report Share Posted December 27, 2002 I've tried numerous configurations of primary/secondary master/slave, and one thing is consistent: It doesn't read from the secondary IDE properly in any case I've thus tried. Any ideas? BTW, does it matter which of the connectors on the IDE is used for master/slave? Matt Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 27, 2002 Report Share Posted December 27, 2002 Check the product documentation for each product individually to get the correct jumper setting for master/slave/auto. Try doing it without cable select (auto) by deliberately setting master/slave. If a hard drive doesn't boot, try setting it to slave even though. That actually worked for me. In the end tell us that all 4 devices are showing up in the bios screen. Then we can debug linux knowing that all is ok physically. Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted December 27, 2002 Report Share Posted December 27, 2002 Ditto what cannonfodder said! Do not use cable select options. If you are using a mobo with a special ide for 66/100 MB bus speed, the master must go to the end of the cable, the slave in the middle. Also, make sure the drive sharing the bus is set to master or slave, and not single. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.