OK, I use Red Hat, but I had some weirdness getting my jukebox
running, which gave me some problems. On my RH6.1/6.2 system the
/dev/sr* appears to be the raw device (this gets reported at boot up),
and the /dev/scd* is for file systems (i.e. what I use to mount
/mnt/cdrom0-7). I have a 7 disk jukebox, off 1 SCSI ID, 7 LUNs, that
shows up as scd0-7. My suspicion is that your system thinks you have
a jukebox. Do a:
grep scsi /var/log/messages
and see what shows up for scsi devices. Look for a pattern of the
form:
Apr 30 22:13:11 orion kernel: Detected scsi CD-ROM sr6 at scsi0,
channel 0, id 6
, lun 6
If the lun stuff shows up, it thinks you have multiple disks at one
SCSI ID. What would cause this without a jukebox, I don't know, since
I actually wanted it, but it's a place to start.
jeff smith
Benjamin Scott wrote:
>
> On Sun, 30 Apr 2000, Adam Wendt wrote:
> > I decided to try out debian.
>
> Ah, yes, Debian. The distro with an excellent package manager, or so I'm
> told, because I've never actually seen a working Debian system. Debain, the
> distro for people who harken back to the days of Linux 0.4, when men were men
> and wrote their own device drivers..... ;-)
>
> Oh, I'm sorry, you were asking for help. :-)
>
> > Now, it says they arn't block devices and I have to use /dev/sr* BUT
> > /dev/sr[0-7] goes to my first cdrom and /dev/sr[8-15] goes to the second
> > one, is it just me or is that very strange?
>
> The first part makes sense. The SCSI CD-ROM driver is "sr", and thus the
> "primary" name for the devices is /dev/sr[0-9]. Many systems (Red Hat, for
> example) setup /dev/scd[0-9] as aliases, though.
>
> The second part is bogus. From devices.txt in the kernel docs:
>
> #> 11 block SCSI CD-ROM devices
> #> 0 = /dev/sr0 First SCSI CD-ROM
> #> 1 = /dev/sr1 Second SCSI CD-ROM
> #> ...
> #>
> #> The prefix /dev/scd instead of /dev/sr has been used
> #> as well, and might make more sense.
>
> Do an "ls -l /dev/sr*" and see what the major/minor device numbers are.
>
> > dmesg shows that during booting the kernel conferms that 0-7 is my cd-r
> > and 8-15 is my cdrom.
>
> Sounds like either the kernel is configured wrong or is detecting your
> devices wrong. Have you tried downloading and compiling the latest stable
> kernel from pristine sources?
>
> You might give "cd /dev ; ./MAKEDEV sr" a shot, too.
>
> --
> Ben Scott <[EMAIL PROTECTED]>
> Net Technologies, Inc. <http://www.ntisys.com>
> Voice: (800)905-3049 x18 Fax: (978)499-7839
>
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************