Click to See Complete Forum and Search --> : CDRW confusion!


cuttlefish
08-28-2003, 05:16 PM
I've have a Mitsumi CDRW installed on my Athlon PC running SuSE 8.1 but can't seem to get it to work as a writer although it works fine as a CDROM. Things really started to go a bit nuts when I removed a very tempremental Creative DVD. The Mitsumi is now the only optical drive installed but there are a bunch of other ones listed in /etc/fstab.
I think i've got to edit the fstab but really haven't a clue what I'm doing or which one is the actual CDRW (I guess I could delete the DVD drive). Could some one please help.

below is the contents of /etc/fstab and the error logs I've found.

/etc/fstab

/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /windows/C vfatusers,gid=users,umask=0002,iocharset=iso8859-
1,code=437 0 0
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

/var/log/message
......
Aug 13 16:52:16 linux kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Aug 13 16:52:16 linux kernel: sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/
xa/form2 cdda tray
Aug 13 16:52:16 linux kernel: Uniform CD-ROM driver Revision: 3.12
......
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 64
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 66
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 68
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 70
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 72
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 74
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 76
Aug 13 16:52:39 linux kernel: ide-scsi: hdc: unsupported command in request queue (0)
Aug 13 16:52:39 linux kernel: end_request: I/O error, dev 16:00 (hdc), sector 78
........

var/log/boot.msg

<6>SCSI subsystem driver Revision: 1.00
<3>kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

<4>hdc: no flushcache support
<6>scsi0 : SCSI host adapter emulation for IDE ATAPI devices
<4> Vendor: MITSUMI Model: CR-48XATE Rev: 1.0D
<4> Type: CD-ROM ANSI SCSI revision: 02

kshim5
08-28-2003, 05:26 PM
try comenting this out in /etc/fstab using # or removing it all together



/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0

then reboot and see if you get the same guff.

remember you have to su to edit this file

device types
this is your cdrom device
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0

this is your dvd rom device
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0

this is your floppy
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

kevinatkins
08-29-2003, 06:35 AM
Hi, just a few pointers...

If you're using SuSE, the easiest way of sorting out the hardware side would be to open up YaST, click on the 'Hardware' tab, then on 'CD-ROM Drives'. This will show you a list of all drives physically present on your machine. I'm presuming that this list will only show your CDRW. Highlight the drive and click 'Add'. This will create an entry for the drive in fstab.

Now, regarding the actual burning of CDs. What software are you using?

mdwatts
08-29-2003, 07:21 AM
SuSE has the habit of not setting up the correct symlinks for the cdrom devices as I have to remove 3 of them and recreate.

From mine... hdc is dvd & hdd is cdrw and both have scsi emulation enabled in my bootloader config (hdc=ide-scsi and hdd=ide-scsi)

As root (for mine)

rm /dev/cdrom
rm /dev/cdrecorder
rm /dev/dvd

ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr1 /dev/cdrecorder