LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CDRW: can play or write, but not both! (https://www.linuxquestions.org/questions/linux-hardware-18/cdrw-can-play-or-write-but-not-both-219065/)

Lord Zoltar 08-17-2004 11:09 PM

CDRW: can play or write, but not both!
 
I'm having some trouble with my CDRW.
I discovered earlier this evening that I could not access it with cdrecord -scanbus. I googled the error message, and found some help that fixed the problem. I added the line
`alias scsi_hostadapter ide-scsi`
to /etc/moduls.conf and added
`append="hdc=ide-scsi"` to lilo.conf
I then rebooted and was able to burn CDs. yay! unfortunately, I then found myself in a situation where I could no longer mount the CDs. I did another google search and concluded that I would have to change the line in /etc/lilo.conf to `append="hdc=sr0-scsi"`. And this worked. I could mount CDs. but now I cannot burn again! cdrecord -scanbus gives me the old:
# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Help! what's going on with this?

michaelk 08-18-2004 06:46 AM

When you configure the writer for SCSI emulation your device ID for the drive changes to /dev/scd0. You need to change the /etc/fstab entry for the writer to reflect this change.

Lord Zoltar 08-24-2004 10:18 PM

ok, so now I changed the /etc/fstab line:
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0

To look like this:
/dev/scd0 /mnt/cdrom iso9660 noauto,users,ro 0 0

Now, when I run cdrecord -scanbus I get the error message:
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

and I can't even mount the cdrom drive anymore!!!
I get the following errors:
# mount /dev/cdrom
mount: can't find /dev/hdc in /etc/fstab or /etc/mtab
# mount /dev/scd0
mount: /dev/scd0 is not a valid block device

audio CD's still play, though this change seems to have been for the worse overall. I'm undoing the chagnes to fstab until I find a better fix :(


All times are GMT -5. The time now is 12:39 AM.