external cdrw


Subject: external cdrw
From: Robert Serphillips (rserphillips@austin.rr.com)
Date: Thu Feb 28 2002 - 15:09:03 MST


Initially I had my Yamaha 8424 cdrw replacing the cdrom drive. I finally got an external case to I put the origional cdrom back into my 8500. It works fine. So then I connected the cdrw to the external scsi bus. It works fine in MacOS but when I try to mount a cd in linux it says "input/output error". The kernel recognises the drive during boot

root@dhcp-499-45.<13>~: dmesg | less
.
.
.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi1 : MESH
mesh: target 0 synchronous at 5.0 MB/s
mesh: rejecting message from target 0: 1 6 4 c 0 3f 1 2
mesh: rejecting message from target 0: 1 2 3 1
mesh: target 0 synchronous at 5.0 MB/s
  Vendor: WDIGTL Model: WDE9150 ULTRA3 Rev: 1.30
  Type: Direct-Access ANSI SCSI revision: 03
mesh: target 1 synchronous at 5.0 MB/s
  Vendor: MATSHITA Model: CD-ROM CR-8008 Rev: 8.0e
  Type: CD-ROM ANSI SCSI revision: 02
mesh: target 3 synchronous at 5.0 MB/s
  Vendor: SEAGATE Model: ST34502LW Rev: 7503
  Type: Direct-Access ANSI SCSI revision: 02
scsi2 : 53C94
  Vendor: YAMAHA Model: CRW8424S Rev: 1.0j
  Type: CD-ROM ANSI SCSI revision: 02
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi1, channel 0, id 3, lun 0
SCSI device sda: 17873040 512-byte hdwr sectors (9151 MB)
Partition check:
 /dev/scsi/host1/bus0/target0/lun0: [mac] p1 p2 p3 p4 p5 p6 p7
SCSI device sdb: 8888924 512-byte hdwr sectors (4551 MB)
 /dev/scsi/host1/bus0/target3/lun0: [mac] p1 p2 p3 p4 p5 p6 p7 p8
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0
Attached scsi CD-ROM sr1 at scsi2, channel 0, id 1, lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray

I added this to my fstab
       /dev/cdrom /mnt/cdrom auto noauto,ro,user 0 0
      /dev/cdrw /mnt/cdrw auto noauto,ro,user 0 0

Created the mount point
root@dhcp-499-45.<16>/mnt: la
total 24
drwxr-xr-x 6 root root 4096 Feb 28 15:26 ./
drwxr-xr-x 17 root root 4096 Feb 28 15:24 ../
drwxrwxr-x 2 root roberts 4096 Feb 16 19:45 Grinch/
drwxrwxr-x 2 root roberts 4096 Oct 9 1998 cdrom/
drwxrwxr-x 2 root roberts 4096 Feb 28 15:26 cdrw/
drwxrwxr-x 2 root roberts 4096 Feb 6 1996 floppy/

and set up the device links
root@dhcp-499-45.<19>/dev: la cdr*
lrwxrwxrwx 1 root roberts 9 Jan 30 12:17 cdrom -> /dev/scd0
lrwxrwxrwx 1 root roberts 9 Feb 28 15:29 cdrw -> /dev/scd1
brw------- 1 roberts disk 11, 0 Jul 25 2001 scd0
brw-rw---- 1 roberts disk 11, 1 Jul 25 2001 scd1

Is there anything I missed? One thing I noticed is that the scsi cd links only go from scd0-scd7. There is no way to distinguish between the internal and external busses. And one last thing, I can eject the cd by right clicking on my desktop simlink so I think the links are set up properly.

-Rob



This archive was generated by hypermail 2a24 : Thu Feb 28 2002 - 15:24:40 MST