Thanks Richard, I seem to have solved my problem a little while ago,
and here's how I did it:
1) I edited the /etc/conf.modules file and took out the 2 lines
dealing with SCSI emulation:
alias scsi_hostadapter ide-scsi
...
post-install supermount modprobe scsi_hostadapter
...
2) I then edited my /etc/lilo.conf file and took out the line that
also dealt with SCSI emulation:
...
image=/boot/vmlinuz
label=linux
root=/dev/hda11
append="hdc=ide-scsi" <-- Took this line out!
read-only
3) I ran lilo -v (as root) to update the boot record
4) When I rebooted, some auto-hardware detection program complained
about me disabling the Yamaha CR4416E, so I chose to have it keep
the existing configuration, but not warn me in the future about it
being disabled (or something to that effect!)
Now I am able to mount either of my CDROM drives at will from the KDE
Desktop!
What still bothers me, however, is that I am now getting those pesky
messages that I got in RedHAt 6.1 in the /var/log/messages file:
Jan 22 18:45:04 fiend kernel: hdc: packet command error: status=0x51 { DriveReady
SeekComplete Error }
Jan 22 18:45:04 fiend kernel: hdc: packet command error: error=0x00
Jan 22 18:45:04 fiend kernel: ATAPI device hdc:
Jan 22 18:45:04 fiend kernel: Error: Unit attention -- (Sense key=0x06)
Jan 22 18:45:04 fiend kernel: Not ready to ready transition, medium may have changed
--
(asc=0x28, ascq=0x00)
Jan 22 18:45:04 fiend kernel: The failed "Test Unit Ready" packet command was:
Jan 22 18:45:04 fiend kernel: "00 00 00 00 00 00 00 00 00 00 00 00 "
Jan 22 18:45:04 fiend kernel: hdc: command error: status=0x51 { DriveReady SeekComplete
Error }
Jan 22 18:45:04 fiend kernel: hdc: command error: error=0x50
Jan 22 18:45:04 fiend kernel: end_request: I/O error, dev 16:00 (hdc), sector 64
Jan 22 18:45:04 fiend kernel: ATAPI device hdc:
Jan 22 18:45:04 fiend kernel: Error: Illegal request -- (Sense key=0x05)
Jan 22 18:45:04 fiend kernel: Illegal mode for this track or incompatible medium --
(asc=0x64, ascq=0x00)
Jan 22 18:45:04 fiend kernel: isofs_read_super: bread failed, dev=16:00, iso_blknum=16,
block=32
Jan 22 18:45:04 fiend kernel: hdc: command error: status=0x51 { DriveReady SeekComplete
Error }
Jan 22 18:45:04 fiend kernel: hdc: command error: error=0x50
Jan 22 18:45:04 fiend kernel: end_request: I/O error, dev 16:00 (hdc), sector 64
Anybody got any clues on what's going on wrong here? Is this drive still too new
for Linux drivers to have caught up?
Thanks,
Tom
Richard Yevchak wrote:
>
> I had a similar problem. First make sure you can mount the CD-RW manually. I
> think the installer is smart enough to determine the drive is CD-RW, so it
> sets up the SCSI emulation for you. It just doesn't change fstab to reflect
> this. Try (assuming you want to mount it on /mnt/cdrom2):
>
> mount -t iso9660 /dev/scd0 /mnt/cdrom2
>
> You may have unmount /mnt/cdrom2 first. If this works, change the following
> line (again assuming fstab is trying to mount your CD-RW on
> /mnt/cdrom2/):
>
> mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
>
> to:
>
> /mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/scd0 0 0
>
> You are changing the "dev=" portion to point at "/dev/scd0".
>
> Hope this helps.
>
> Richard
>
> On Sat, 22 Jan 2000, you wrote: > I just installed Mandrake 7.0 yesterday, but
> have been unable to mount my > Yamaha CRW4416E CRW drive! (I have no problems
> with NT or Win2K doing so!) > BTW, I am only trying to use the drive as a cdrom
> in Linux (so far!) > > In my system I have an older 12x CDROM drive which
> mounts fine with the > "supermount" arguments given to it by the /etc/fstab
> file (I can access > it by single-clicking on the "Cd-Rom" desktop icon in
> KDE): > > ---------------------------------------------------------------------
> >
> > /dev/hda1 /c vfat user,exec,conv=auto 0 0
> > /dev/hda5 /d vfat user,exec,conv=auto 0 0
> > /dev/hda6 /e vfat user,exec,conv=auto 0 0
> > /dev/hda7 /f vfat user,exec,conv=auto 0 0
> > /dev/hda8 /boot ext2 defaults 1 2
> > /dev/hda9 /home ext2 defaults 1 2
> > /dev/hda10 swap swap defaults 0 0
> > /dev/hda11 / ext2 defaults 1 1
> > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
> > none /proc proc defaults 0 0
> > none /dev/pts devpts mode=0620 0 0
> > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
> > /mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
> >
> > ---------------------------------------------------------------------
> >
> > The permissions on the /dev "files" are as follows:
> >
> > [tom@fiend tom]$ ls -lsa /dev/hdb /dev/hdc
> > 0 brw------- 1 tom disk 3, 64 May 5 1998 /dev/hdb
> > 0 brw------- 1 tom disk 22, 0 May 5 1998 /dev/hdc
> >
> > [tom@fiend etc]$ ls -lsa /dev/cdrom*
> > 0 lrwxrwxrwx 1 root root 3 Jan 21 16:47 /dev/cdrom -> hdb
> > 0 lrwxrwxrwx 1 root root 8 Jan 21 21:51 /dev/cdrom1 -> /dev/hdc
> > 0 lrwxrwxrwx 1 root root 3 Jan 21 16:47 /dev/cdrom2 -> hdc
> >
> > ---------------------------------------------------------------------
> >
> > When I try to access the Yamaha CRW4416E (by single-clicking on the
> > "Cd-Rom 2" icon on my desktop), an error box pops up that states:
> > KFM Error
> > Could not list directory contents
> > file"/mnt/cdrom2
> >
> > ---------------------------------------------------------------------
> >
> > A little more detail can be seen in the /var/log/messages file:
> >
> > Jan 22 15:20:52 fiend kernel: ide-scsi: hdc: unsupported command in request queue
>(0)
> > Jan 22 15:20:52 fiend kernel: end_request: I/O error, dev 16:00 (hdc), sector 64
> > Jan 22 15:20:52 fiend kernel: isofs_read_super: bread failed, dev=16:00,
>iso_blknum=16,
> > block=32
> > Jan 22 15:20:52 fiend kernel: ide-scsi: hdc: unsupported command in request queue
>(0)
> > Jan 22 15:20:52 fiend kernel: end_request: I/O error, dev 16:00 (hdc), sector 64
> > Jan 22 15:20:52 fiend kernel: isofs_read_super: bread failed, dev=16:00,
>iso_blknum=16,
> > block=32
> > Jan 22 15:20:52 fiend kernel: ide-scsi: hdc: unsupported command in request queue
>(0)
> > Jan 22 15:20:52 fiend kernel: end_request: I/O error, dev 16:00 (hdc), sector 64
> > Jan 22 15:20:52 fiend kernel: isofs_read_super: bread failed, dev=16:00,
>iso_blknum=16,
> > block=32
> >
> > ---------------------------------------------------------------------
> >
> > I don't think there is an issue with permissions, since I get the same
> > results when logged in as root. Strangely enough, I also had problems with
> > RedHat 6.1, spitting out the following message (when I had it installed) in
> > the /var/log/messages file:
> >
> > Jan 11 21:45:31 fiend kernel: hdc: packet command error: status=0x51 { DriveReady
> > SeekComplete Error }
> > Jan 11 21:45:31 fiend kernel: hdc: packet command error: error=0x00
> > Jan 11 21:45:31 fiend kernel: ATAPI device hdc:
> > Jan 11 21:45:31 fiend kernel: Error: Unit attention -- (Sense key=0x06)
> > Jan 11 21:45:31 fiend kernel: Not ready to ready transition, medium may have
>changed --
> > (asc=0x28, ascq=0x00)
> > Jan 11 21:45:31 fiend kernel: The failed "Test Unit Ready" packet command was:
> > Jan 11 21:45:31 fiend kernel: "00 00 00 00 00 00 00 00 00 00 00 00 "
> > Jan 11 21:45:45 fiend kernel: ATAPI device hdc:
> > Jan 11 21:45:45 fiend kernel: Error: Not ready -- (Sense key=0x02)
> > Jan 11 21:45:45 fiend kernel: (reserved error code) -- (asc=0x04, ascq=0x07)
> > Jan 11 21:45:45 fiend kernel: The failed "Test Unit Ready" packet command was:
> > Jan 11 21:45:45 fiend kernel: "00 00 00 00 00 00 00 00 00 00 00 00 "
> > Jan 11 21:45:46 fiend kernel: ATAPI device hdc:
> > Jan 11 21:45:46 fiend kernel: Error: Not ready -- (Sense key=0x02)
> > Jan 11 21:45:46 fiend kernel: (reserved error code) -- (asc=0x3a, ascq=0x02)
> > Jan 11 21:45:46 fiend kernel: The failed "Test Unit Ready" packet command was:
> > Jan 11 21:45:46 fiend kernel: "00 00 00 00 00 00 00 00 00 00 00 00 "
> > Jan 11 21:45:46 fiend kernel: ATAPI device hdc:
> > Jan 11 21:45:46 fiend kernel: Error: Not ready -- (Sense key=0x02)
> > Jan 11 21:45:46 fiend kernel: (reserved error code) -- (asc=0x3a, ascq=0x02)
> > Jan 11 21:45:46 fiend kernel: The failed "Test Unit Ready" packet command was:
> > Jan 11 21:45:46 fiend kernel: "00 00 00 00 00 00 00 00 00 00 00 00 "
> > Jan 11 21:45:46 fiend kernel: ATAPI device hdc:
> > Jan 11 21:45:46 fiend kernel: Error: Not ready -- (Sense key=0x02)
> > Jan 11 21:45:46 fiend kernel: (reserved error code) -- (asc=0x3a, ascq=0x02)
> > Jan 11 21:45:46 fiend kernel: The failed "Prevent/Allow Medium Removal" packet
>command
> > was:
> > Jan 11 21:45:46 fiend kernel: "1e 00 00 00 00 00 00 00 00 00 00 00 "
> >
> > ---------------------------------------------------------------------
> >
> > The difference between the two distributions is that with RedHat 6.1,
> > I was at least able to mount & use the drive, however I can't with Mandrake
> > 7.0.
> >
> > To top this all off, when I installed Mandrake 7.0 yesterday, I used this very
> > same Yamaha CRW4416E as the installation drive, so I know Mandrake is
> > capable of reading information from it properly!
> >
> > If anyone can point me in the right direction, I would be very
> > appreciative.
> >
> > Thanks,
> > Tom