Configuring SCSI CD-ROM drives

ME dugan at passwall.com
Sat Aug 17 15:04:59 PDT 2002


On Sat, 17 Aug 2002, Lincoln Peters wrote:
> I found the following information in /var/log/messages:
> 
> Aug 17 12:49:02 ODYSSEUS kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI 
> HBA DRIVER, Rev 6.2.6
> Aug 17 12:49:02 ODYSSEUS kernel:         <Adaptec 2902/04/10/15/20/30C SCSI 
> adapter>
> Aug 17 12:49:02 ODYSSEUS kernel:         aic7850: Ultra Single Channel A, 
> SCSI Id=7, 3/253 SCBs
> Aug 17 12:49:02 ODYSSEUS kernel:
> Aug 17 12:49:17 ODYSSEUS kernel:   Vendor: PLEXTOR   Model: CD-ROM PX-12TS   
>   Rev: 1.02
> Aug 17 12:49:17 ODYSSEUS kernel:   Type:   CD-ROM                            
>   ANSI SCSI revision: 02
> Aug 17 12:49:17 ODYSSEUS kernel:   Vendor: PLEXTOR   Model: CD-ROM PX-12TS   
>   Rev: 1.02
> Aug 17 12:49:17 ODYSSEUS kernel:   Type:   CD-ROM                            
>   ANSI SCSI revision: 02
> Aug 17 12:49:17 ODYSSEUS kernel:   Vendor: PLEXTOR   Model: CD-ROM PX-12TS   
>   Rev: 1.02
> Aug 17 12:49:17 ODYSSEUS kernel:   Type:   CD-ROM                            
>   ANSI SCSI revision: 02
> Aug 17 12:49:17 ODYSSEUS kernel:   Vendor: PLEXTOR   Model: CD-ROM PX-12TS   
>   Rev: 1.02
> Aug 17 12:49:17 ODYSSEUS kernel:   Type:   CD-ROM                            
>   ANSI SCSI revision: 02
> Aug 17 12:49:17 ODYSSEUS kernel:   Vendor: PLEXTOR   Model: CD-ROM PX-12TS   
>   Rev: 1.02
> Aug 17 12:49:17 ODYSSEUS kernel:   Type:   CD-ROM                            
>   ANSI SCSI revision: 02
> Aug 17 12:49:17 ODYSSEUS kernel:   Vendor: PLEXTOR   Model: CD-ROM PX-12TS   
>   Rev: 1.02
> Aug 17 12:49:17 ODYSSEUS kernel:   Type:   CD-ROM                            
>   ANSI SCSI revision: 02
> Aug 17 12:49:17 ODYSSEUS kernel:   Vendor: PLEXTOR   Model: CD-ROM PX-12TS   
>   Rev: 1.02
> Aug 17 12:49:17 ODYSSEUS kernel:   Type:   CD-ROM                            
>   ANSI SCSI revision: 02
> Aug 17 12:49:17 ODYSSEUS kernel: Attached scsi CD-ROM sr1 at scsi1, channel 
> 0, id 0, lun 0
> Aug 17 12:49:17 ODYSSEUS kernel: Attached scsi CD-ROM sr2 at scsi1, channel 
> 0, id 1, lun 0
> Aug 17 12:49:17 ODYSSEUS kernel: Attached scsi CD-ROM sr3 at scsi1, channel 
> 0, id 2, lun 0
> Aug 17 12:49:17 ODYSSEUS kernel: Attached scsi CD-ROM sr4 at scsi1, channel 
> 0, id 3, lun 0
> Aug 17 12:49:17 ODYSSEUS kernel: (scsi1:A:0): 10.000MB/s transfers 
> (10.000MHz, offset 15)
> Aug 17 12:49:17 ODYSSEUS kernel: sr1: scsi-1 drive
> Aug 17 12:49:17 ODYSSEUS kernel: (scsi1:A:1): 10.000MB/s transfers 
> (10.000MHz, offset 15)
> Aug 17 12:49:17 ODYSSEUS kernel: sr2: scsi-1 drive
> Aug 17 12:49:17 ODYSSEUS kernel: (scsi1:A:2): 10.000MB/s transfers 
> (10.000MHz, offset 15)
> Aug 17 12:49:17 ODYSSEUS kernel: sr3: scsi-1 drive
> Aug 17 12:49:17 ODYSSEUS kernel: (scsi1:A:3): 10.000MB/s transfers 
> (10.000MHz, offset 15)
> Aug 17 12:49:17 ODYSSEUS kernel: sr4: scsi-1 drive
> Aug 17 12:49:17 ODYSSEUS kernel: scsi : 1 host left.
> 
> It looks like it successfully detected all 7 CD-ROM drives and set up 4 of 
> them.  It looks to me like they should be accessible at /dev/sr1, /dev/sr2, 
> /dev/sr3, and /dev/sr4, but none of those devices seem to exist.

Did not think to ask if you are running devfs. I dont use that, I use the
older "/dev". The next part makes the assumption you do too.

You may need to make the devices.

On my system, /dev/sr* are sym links to /dev/scd*

# cd /dev
# ./MAKEDEV sr*

and/or
# ./MAKEDEV scd*

On my system, scd are block special devices Major 11, minor 0-16
If you cant make the devices with MAKEDEV from the /dev/ dir, then you can
use mknod.

# mknod -m 660 /dev/scd0 b 11 0
# ln -s /dev/scd0 /dev/sr0
# mknod -m 660 /dev/scd1 b 11 1
# ln -s /dev/scd1 /dev/sr1
# mknod -m 660 /dev/scd2 b 11 2
# ln -s /dev/scc2 /dev/sr2

> And why would it detect 7 SCSI devices but only set up 4 or them?

Not sure. Are you missing /dev/*'s that go higher than 3 in /dev/ ?

> >From: ME <dugan at passwall.com>
> >Reply-To: <talk at nblug.org>
> >To: talk at nblug.org
> >Subject: Re: Configuring SCSI CD-ROM drives
> >Date: Sat, 17 Aug 2002 13:54:29 -0700 (PDT)
> >
> >On Sat, 17 Aug 2002, Lincoln Peters wrote:
> > > I just picked up a used CD rack with 7 CD-ROM drives, all daisy-chained
> > > together using SCSI.  I have hooked it up to a SCSI controller that
> > > successfully identified all 7 CD-ROM drives, but now that I have the 
> >SCSI
> > > controller configured on my RedHat 7.3 box, I can't figure out how to 
> >access
> > > the drives!
> >
> >If the SCSI card finds them all at boot, that is good. If it does not,
> >then fix that first.
> >
> >When Linux starts up, check your logs and search for (case
> >insensitive) "cd" or "sr" or "scsi" to find the section where SCSI drives
> >are found.
> >
> >Once the Linux kernel can find them, they should be available and assigned
> >to /dev/sr0 /dev/sr1 /dev/sr2 ...
> >
> > > I checked /proc/scsi/scsi, and the only thing listed is my CD-RW (which 
> >used
> > > the ide-scsi driver).  No mention of any other SCSI devices.  Anyone 
> >know
> > > what I should be doing?  Could the ide-scsi driver be conflicting with 
> >the
> > > other SCSI driver?
> >
> >Check the logs to see what the kernel says. If it says it has found the
> >drives,then, you are - or should be in business.
> >
> >-ME
> >
> >-----BEGIN GEEK CODE BLOCK-----
> >Version: 3.12
> >GCS/CM$/IT$/LS$/S/O$ !d--(++) !s !a+++(-----) C++$(++++) U++++$(+$) P+$>+++
> >L+++$(++) E W+++$(+) N+ o K w+$>++>+++ O-@ M+$ V-$>- !PS !PE Y+ PGP++
> >t at -(++) 5+@ X@ R- tv- b++ DI+++ D+ G--@ e+>++>++++ h(++)>+ r*>? z?
> >------END GEEK CODE BLOCK------
> >decode: http://www.ebb.org/ungeek/ about: http://www.geekcode.com/geek.html
> >
> 
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 



More information about the talk mailing list