On Wed, Feb 07, 2001 at 11:00:23PM +0000, Russell King - ARM Linux wrote:
> Peter writes:
> > I bought the Arm Linux CD from Aleph one a good few months ago (version 0.9
> > according to the label on the CD) and I am unable to mount my CD drive.
> > My CD drive is a Ricoh MP7040S re-writer connected to an Eesox fast SCSI
> > card. This is the CD drive and card I used to install Linux with.
> >
> > When I try to mount the drive I get the message:-
> >
> > /dev/cdrom is not a block device.
> >
> > I have added to fstab the following line:-
> > dev/cdrom /mnt/cdrom ISO9660 noauto,user 0 0
> >
> > I have created the directory /mnt/cdrom and created a soft link
> >
> > ln -s /dev/sga /dev/cdrom
>
> Why are you using "sga"? "sga" means "SCSI generic device A".
> I think you want "scd0" or "sr0" which are the actual SCSI CDROM device
> nodes.
I have
brw-r--r-- 1 root root 11, 0 Jan 28 22:05 /dev/sr0
for a PD drive attached to an essox fast SCSI interface.
with /etc/fstab saying
/dev/sr0 /cdrom iso9660 noauto,user,noexec,ro 0 0
mount /dev/sr0 or mount /cdrom
both cause autoloading of all the modules, whiring of drives and a
successful mount.
cat /proc/scsi/eesox/0
EESOX SCSI driver version 0.0.3
Chip : Emulex FAS216
Address: 0x800D0000
IRQ : 32
DMA : 2
Term : on
Command Statistics:
Queued : 31
Issued : 31
Completed : 31
Reads : 3
Writes : 0
Others : 28
Disconnects: 2
Aborts : 0
Bus resets : 0
Host resets: 0
Attached devices:
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: MATSHITA Model: PD-1 LF-1000 Rev: A105
Type: Optical Device ANSI SCSI revision: 02
Extensions:
Host: scsi0 Channel: 00 Id: 04 Lun: 01
Vendor: MATSHITA Model: PD-1 LF-1000 Rev: A105
Type: CD-ROM ANSI SCSI revision: 02
Extensions:
So you can see there that the PD drive has two logical unit numbers, and
the CD ROM driver spots the first logical unit that's a CD. So I'd
hope that your CD Writer does the same sort of trick.
To make modules work automatically I have 2 lines in /etc/modules.conf
above sr_mod eesox
above sd_mod imm
The first loads the eesox card driver when isofs figures it needs cdrom,
cdrom loads sr_mod and sr_mod otherwise doesn't know how to find the
hardware driver
The second loads the Iomega Zip Driver driver when sr_mod is loaded for
/dev/sda1
this may be of help.
Nicholas Clark
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.