Click to See Complete Forum and Search --> : How to mount firewire CD-ROM?
eoram
01-02-2003, 02:20 PM
I have a Dell Latitude X200. It comes with a dockable media base with a CDRW/DVD drive and floppy drive. I have installed Redhat 8.0 on it. The media base CDRW/DVD is seen as a firewire device. The problem I'm having is that I can't figure out how to mount this drive to use it. When I do a cat /proc/scsi/scsi the drive is detected. I've tried mounting using the following command:
mount -t iso9660 /dev/sda1 /mnt/cdrom
I've tried sda1, sda2, sda3, sda4, but these are not valid block devices. How do I figure out what this device is called so that I can mount it?
Thanks.
mdwatts
01-02-2003, 03:23 PM
If the firewire cdrom uses scsi emulation, then you need to use either scd0|scd1 or sr0|sr1.
Most distros use scd0 or scd1.
Check your system logfile
dmesg | grep scsi
as it should tell you the correct device.
eoram
01-02-2003, 04:23 PM
Thanks. I ran dmesg | grep scsi and got the following:
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
scsi: device set offline - not ready or command retry failed after bus reset: Host 0 channel 0 id 0 lun 0
sr0: scsi-1 drive
I then tried :
mount /dev/sr0 /mnt/cdrom
I got the following reply:
mount: special device /dev/sr0 does not exist
I then tried:
mount /dev/scd0 /mnt/cdrom
I got:
mount: block device /dev/scd0 is write protected, mounting read-only
mount: no medium found
I have a cd in the CD-Rom drive.
Any ideas?
Thanks.
mdwatts
01-02-2003, 05:31 PM
You need to have the firewire modules loaded.
Check first using
lsmod (list loaded modules)
If not loaded, load using
modprobe ohci1394
modprobe ieee1394
Then try mounting again using sr0
mount -t iso9660 /dev/sr0 /mnt/cdrom
Just had 2 do insmod ohci1394, then this one ieee1394
then i modprobe these 2.
And checked with dmesg, what happend, and this is what i got
ieee1394: Device added: Node[01:1023] GUID[0001db085001033c] [Freecom Technologies]
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[01:1023]: Max speed [S400] - Max payload [2048]
scsi0 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
SBP-2 module load options:
- Max speed supported: S400
- Max sectors per I/O supported: 255
- Max outstanding commands supported: 8
- Max outstanding commands per lun supported: 1
- Serialized I/O (debug): no
Vendor: _NEC Model: NR-7800A Rev: 1.31
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray