PDA

View Full Version : problem with cdrw



ibrewale
12-05-2004, 04:15 AM
I have a Phillips CD/RW that doesn't show up on my hd install of knoppix 3.4
I feel it just needs to be set up by myself, and my question is how should I do this?

Here is my fstab


# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
#/dev/hda3 /home auto rw,auto,user,exec 0 0
/dev/hda3 /downloads auto rw,auto,user,exec 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0


Obviously it is not set up in fstab.

Also, here is the output of dmesg|grep sc:



root@box1:/home/jerry# dmesg|grep sc
vesafb: scrolling: redraw
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 16x/40x cd/rw xa/form2 cdda tray
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
sr0: CDROM not ready. Make sure there is a disc in the drive.
scsi : 0 hosts left.
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 16x/40x cd/rw xa/form2 cdda tray


It appears that it shows up under the last line, sr0: scsi3-mmc...

Thanks for the help.

Jerry

rrfish72
12-09-2004, 11:39 PM
Try this entry for your fstab:

/dev/cdrom /cdrom iso9660 defaults,ro,users,noexec,noauto 0 0

Then do ln -sf /dev/scd0 /dev/cdrom and mkdir /cdrom and create a new device for your desktop.

ibrewale
12-10-2004, 03:04 AM
I applogize, I should specify that I have a standard CDROM and a CDRW.

My CDROM works currently, the cdrom entry is in my fstab, and I have a directory of /cdrom.
When I type
eject cdrom
My CDROM door opens.

When I try to
eject cdrw, I get the following:


root@box1:/# eject cdrw
eject: unable to open `/dev/scd1'
root@box1:/#

I did try to follow your cue. I did ln -sf /dev/scd1 /cdrw and there was already a /cdrw directory, to no avail.

Any further ideas??

Thanks

rrfish72
12-10-2004, 04:44 AM
It should be /dev/cdrom1 if it is just another cdrom drive. If it is a dvd rom then it is /dev/dvd.
A second cdrom drive will probably be cdrom1, hence: ln -sf /dev/scd1 /dev/cdrom1. Then modify the fstab to cdrom1 instead of cdrom. If, according to your fstab, then it should be a dvd drive, correct? Then do: ln -sf /dev/scd1 /dev/dvd.

/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0

I did ln -sf /dev/scd1 /cdrw and there was already a /cdrw directory, to no avail...Is the incorect entry anyway because you forgot the /dev before /cdrw. How many physical cd drives do you have? To me it looks like 2 from your fstab.