My install of Mandrake 6.0 (on an AMD350, 96M RAM with 2 IDE HDs, 1
MITSUMI CR-2801TE CD-R 1 MITSUMI FX240S CD-ROM) failed to configure
the IDE CD-R correctly with SCSI emulation, but I was able to manually
mount both as IDE CDs.
The file: /usr/doc/xcdroast-0.96e/README.ATAPIgives directions for
re-compiling the kernel to:
4) In "Floppy, IDE and other block devices", disable "IDE/ATAPI CD-ROM
support" and enable instead "scsi emulation"
5) in "SCSI support" enable "SCSI support", "SCSI CD-ROM support" and
"SCSI generic support", everything directly in the kernel.
make boot returned an error that the image was too big, and something
to the effect of making more modules I went back into make xconfig, and
aggressively converted kernel build ins to modules, and managed to
compile a kernel that fit (now I managed to break a number of other
things, but that is a subject of a different post).
Now the CD-R and CD-ROM are configured a SCSI devices.
From the boot sequence:
hdc: CR-2801TE, ATAPI CDROM drive
hdd: FX240S, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 90680D4, 6485MB w/256kB Cache, CHS=826/255/63
hdb: Maxtor 82160D2, 2060MB w/256kB Cache, CHS=523/128/63
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: MITSUMI Model: CR-2801TE Rev: 1.07
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Vendor: MITSUMI Model: CD-ROM FX240S
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
scsi : detected 2 SCSI cdroms total.
sr0: scsi3-mmc drive: 8x/8x writer xa/form2 cdda tray
Uniform CDROM driver Revision: 2.55
sr1: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
where MITSUMI Model: CR-2801TE is the CD-R and
MITSUMI Model: CD-ROM FX240S is the CD-ROM . . . good
cdrecord -scanbus reports:
Cdrecord release 1.8a22 Copyright (C) 1995-1999 Jörg Schilling
scsibus0:
0) 'MITSUMI ' 'CR-2801TE ' '1.07' Removable CD-ROM
1) 'MITSUMI ' 'CD-ROM FX240S !B' 'j01 ' Removable CD-ROM
2) *
so the CDs are configured
and xcdroast finds the drives as both SCSI IDE in the section
SCSI/IDE-Info
but, if I try to mount either drive manually, I get:
[root@extralin /root]# mount -t iso9660 /dev/hdc /mnt/disk
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
[root@extralin /root]# mount -t iso9660 /dev/hdd /mnt/disk
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
or too many mounted file systems
[root@extralin /root]# mount -t iso9660 /dev/sda /mnt/disk
mount: the kernel does not recognize /dev/sda as a block device
(maybe `insmod driver'?)
[root@extralin /root]# mount -t iso9660 /dev/sdb /mnt/disk
mount: the kernel does not recognize /dev/sdb as a block device
(maybe `insmod driver'?)
[root@extralin /root]# mount -t iso9660 /dev/sdc /mnt/disk
mount: the kernel does not recognize /dev/sdc as a block device
(maybe `insmod driver'?)
[root@extralin /root]# mount -t iso9660 /dev/sdd /mnt/disk
mount: the kernel does not recognize /dev/sdd as a block device
(maybe `insmod driver'?)
[root@extralin /root]#
Now the SCSI emulation has been compiles into the kernel, but no harm in
looking at the modules. . .
[root@extralin /root]# lsmod
Module Size Used by
nfsd 150648 1 (autoclean)
lockd 30888 1 (autoclean) [nfsd]
sunrpc 52644 1 (autoclean) [nfsd lockd]
ne2k-pci3812 1 (autoclean)
83906244 0 (autoclean) [ne2k-pci]
vfat 11356 0 (unused)
fat25664 0 [vfat]
awe_wave 158028 0 (unused)
sb 33076 0
uart401 5904 0 [sb]
sound 57272 0 [awe_wave sb uart401]
soundlow 300 0 [sound]
soundcore 2372 6 [sb sound]
The pertanent bits of /etc/fstab look like:
/dev/cdrom /mnt/cdrauto user,noauto,nosuid,exec,nodev,ro 0 0
/dev/hdd/mnt/cdrom auto user,noauto,nosuid,exec,nodev,ro 0 0
Well I am at a loss. Sorry for the length of this post, but I hope that
I have provided enough info so stat somebody can point me in the right
directiom. Thank you in advance. . .jrt