Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem mounting CD-ROM

Status
Not open for further replies.

RandyRiegel

Programmer
Sep 29, 2003
256
US
I'm trying to mount a CD-Rom in RH Linux 9 and getting the following error...

hdc: packet command error: status=0x51 {DriveReady SeekComplete Error }
hdc: request sense failure: status=0x50 { DriveReady SeekComplete Error }

these error keep happening over and over until finally it doesn't mount.

I use the following command to mount the disk.

mount -t iso9660 /dev/hdc /mnt

Anybody know what's wrong? It is an Toshiba 24x ATAPI CD-Rom Drive. It's not the CD, it happens on other cd's also. I can't get any cds to mount.

Thanks
Randy
 
Are you sure the name of the device is hdc? In Redhat, that's usually a hard disk, not a cd-rom drive. Try /dev/cda or even /dev/cdrom.

Iolair MacWalter
 
I have a line like this in my /etc/fstab:

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
 
/dev/cda and /dev/cdrom are normally symbolic links to the actual IDE or SCSI device. The IDE devices are /dev/hd and the SCSIs are /dev/sd.

The symbolic links are created at boot so that they point to the current device, so any of the above should point to the CDROM.

I noticed that you were trying to mount the CDROM to /mnt. Normally it is mounted at /mnt/cdrom or some other directory. /mnt normally has directories for each of your removable devices.


pansophic
 
/dev/hdc isn't a 'hard disk', but the master device on the secondary IDE controller. It could be a hard disk, a cdrom, or whatever else plugs in to an IDE controller.

The point wasn't the exact, specific device name, but more the 'hdparm -S 0' being the solution to a similar problem. It may not be the verbatim solution required this time around, but maybe a push in the right direction :)

Also, is it possible it's not in iso9660 format? Could the CD(s) be in UDF or something? I have an old laptop (P166MMX!) that refuses to read CD-RW media, and will only boot from a CD-R if it's burned with the disc-at-once option. Try doing scsi-emulation. At boot, pass 'hdc=ide-scsi' to the kernel. Or if the distribution has already done that for you, try removing it and using the ide driver instead (will break CD-burning capability).

If that fails to get something going, trying kicking it.

----
JBR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top