SCSI CD writer setup

I am running RH 5.2 with kernel 2.2.10
I have recently installed a Yamaha CD writer/re-writer and Adaptec SCSI card.
On boot both the card and the drive are detected.

How do get access to this device once the system is up and running?

I have not configured a SCSI device under Linux  befoer.


Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

jprohartConnect With a Mentor Commented:
to mount the cd-rom, just use
 # mount /dev/scd0 /mnt/cdrom

If this doesn't work, please send the output of 'dmesg' and 'cat /proc/scsi/scsi'

Insert the SCSI driver:

# modprobe "driver"
 (where driver depends on the scsi card type, aic7xxx for 2940 pci cards, aha1542 for 1542 , ah152x for 1505,1510,1515,1520, ...)
or edit /etc/conf.modules and create an alias for your scsi driver.
In case of an isa card, you must have to configure pnp devices (see isapnpconf) or lock DMA and interrupts resources in the PC setup.

load the generic driver:
# modprobe sg

then look at the devices:
# cat /proc/scsi/scsi

you must see a line like this
Host: scsi0 Channel : 00 Id : 04 Lun : 00
  Vendor: Yamaha ......
then you can use your generic device with dev=0,4,0 (adjust with the values shown by "cat /proc/scsi/scsi").

nohjAuthor Commented:
I'm sorry but you are way ahead of me here. I need a bit more help with this.

modprobe does not seem to do anything on my PC.
I do not seem to have a driver called sg.
How do I finally mount the drive and access the file on it ?


nohjAuthor Commented:
mount /dev/scd0 /mnt/cdrom

This mounted the drive as a read only CDRom.

But thanks anyway
All Courses

From novice to tech pro — start learning today.