[5073] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Cd-Rom noticed but not detected???

daemon@ATHENA.MIT.EDU (Jon S)
Mon Nov 9 10:40:04 1998

Date: 	Sun, 08 Nov 1998 23:41:37 -0800
From: Jon S <j-m@pacbell.net>
To: Stuart Felenstein <stuartf@dimensional.com>
CC: linux-scsi@vger.rutgers.edu

I've just toyed around with my system.  I've notice that the SCSI driver
sees the CDROM as...

Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: YAMAHA   Model: CRW4260          Rev: 1.0e
  Type:   CD-ROM                           ANSI SCSI revision: 02

I can't use the device until the sr_mod module is loaded then I get ...

Detected scsi CD-ROM sr0 at scsi1, channel 0, id 6, lun 0 
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray 

You might want to check the /proc/devices file to see if an sr device is
listed (hopefully the 2.0.X kernels are similar to the 2.1.X kernels.)

Block devices:
  2 fd
  3 ide0
  8 sd
  9 md
 11 sr
 22 ide1

As far as dealing with a SCSI CD and an IDE CD I do things this way in
the /etc/fstab file...

/dev/hdd /cdrom/ide iso9660 noauto,user,ro 0 0
/dev/sr0 /cdrom/scsi iso9660 noauto,user,ro 0 0

Then I can just say 'mount /cdrom/ide' or 'mount /cdrom/scsi'.  Works
like a champ!

Jon

Stuart Felenstein wrote:
> 
> > After making changes to the kernel, like adding CD-Rom scsi support (not
> > module) also ISO9660, Unicode, and 8959 char set the boot detected the
> > drive as well as assigned it to sr0.  Great.  But then the /dev device
> > went into the abyss somewhere.  sr0 nowhere to be found.  Tried mounting
> > it anyway with no luck.
> 
> Is it possible that my IDE cd-rom (HDB) which is assigned to /mnt/cdrom is
> overriding sr0 ?
> 
> The bottome line question now is with one IDE cd rom and one SCSI how do I
> get them both setup properly with seperate mount points?
> 
> If I used mknod which I'm not sure about since I don't know what a major and
> minor number is?, then if the IDE drive is in /mnt/cdrom..where to assign
> the SCSI?
> 
> Thanks for any help you can give me,
> Stuart
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post