[3136] in linux-scsi channel archive

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

Re: A tough one for Wizzards

daemon@ATHENA.MIT.EDU (C.J. Oster)
Tue Jan 27 21:48:59 1998

Date: 	Tue, 27 Jan 1998 19:08:31 -0500
To: "nagy@ibm.net" <nagy@ibm.net>
From: cjo@pobox.com (C.J. Oster)
Cc: linux-scsi@vger.rutgers.edu

>Hi everybody!
>the commands I tried:
># echo "scsi add-single-device 0 0 4 0" > /proc/scsi/scsi
># mount /dev/scd0 /cdrom
>mount: the kernel does not recognize /dev/scd0 as a block device
>       (maybe `insmod driver'?)
>

Once you do the "echo "scsi add-single-device 0 0 4 0" > /proc/scsi/scsi", try
# cat /proc/scsi/scsi

You should get a list of entries for all of your attached, recognized scsi
devices.  They will look like this.

Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: MATSHITA Model: CD-ROM CR-508    Rev: XS03
  Type:   CD-ROM                           ANSI SCSI revision: 02

This is of course for my cdrom drive, at id 3.  You info will differ,
what's important is that there exists an entry for your drive.
If it doesn't exits try...

# cat /proc/devices

You should see an entry under Block devices, "11 sr".  If you don't, then
the scsi cd support isn't compiled in, and/or the module isn't loaded.

If this exist, then do..

# ls -al /dev/scd*

You should get...

brw-rw----  1 root  disk    11,  0  /dev/scd0
brw-rw----  1 root  disk    11,  1  /dev/scd1
... on up until
brw-rw----  1 root  disk    11,  7  /dev/scd7

for a total of eight scsi cdroms.  If these don't exist, make them with
# /dev/MAKEDEV scd*

and if this doesn't work, you can make the nodes directly with mknod

# mknod /dev/scd0 b 11 0
# mknod /dev/scd1 b 11 1
so on and so forth until you have made all of them...
# mknod /dev/scd7 b 11 7

Now try your mount again.  If that doesn't work, then I don't really know
what your problem is.

# mount -t iso9660 /dev/scd0 /cdrom




C.J. Oster
cjo@pobox.com
FUllnet Communications
1-800-FULLNET
"We give you the world!"
----------------------------------------------------------------------

-Just because you're not parinoid doesn't mean they're not out to get you.
-A Smith & Wesson beats four aces.

 



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