LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   cdrom: drive not ready for command (https://www.linuxquestions.org/questions/linux-hardware-18/cdrom-drive-not-ready-for-command-33885/)

ZenBee 10-27-2002 02:05 AM

cdrom: drive not ready for command
 
Hi,

I hope someone has a lead for me......

During CDRom install of RedHat 8.0 I had big probs to use my CDROM or CDRW, so i installed from HDD instead, to get the system running.

The system runs now, but i've got some issues getting the CDROM and the CDRW mounted.

During the boot process it identifies my devices like this:
hda: 80Gb Western Digital
hdc: LITEON CD/DVD
hdd: LITEON CDWRITER

When i login to the system (as root) and try to mount the cdrom from the konsole:
mount -t iso9660 /dev/hdc /mnt/cdrom

i get the following error:
mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems

if i do a dmesg i get the following:

hdc: drive not ready for command
hdc: status error: status=0x48 { DriveReady DataRequest }
hdc: drive not ready for command
hdc: status error: status=0x48 { DriveReady DataRequest }
hdc: drive not ready for command
hdc: ATAPI reset complete
hdc: status error: status=0x48 { DriveReady DataRequest }
end_request: I/O error, dev 16:00 (hdc), sector 0

These messages keep repeating......

Anyone an idea to get this thing to Rock ??

Thanks in advance,

unSpawn 10-27-2002 08:04 AM

Dunno the cause, but I had this once with a cdrom that wouldn't run unless I did "hdparm -d 0 /dev/hdc" which disabled it using DMA. After that it worked fine.

ZenBee 10-27-2002 08:19 AM

Hi UnSpawn,

Thanx for the suggestion.... but to no avail :(

Hope someone else can help me ?

jetblackz 10-27-2002 12:21 PM

Post outputs of

/etc/fstab
ls -la /dev/hdc
ls -la /dev/hdd
ls -la /mnt/cdrom

Is it a combo drive DVD/CDRW?

ZenBee 10-27-2002 01:24 PM

Hi JetBlackz,

/etc/fstab

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 /mnt/hda6 vfat defaults 0 0
/dev/hda9 swap swap defaults 0 0
/mnt/hda6/psyche-i386-disc1.iso /mnt/disc1 iso9660 ro,loop,auto 0 0
/mnt/hda6/psyche-i386-disc2.iso /mnt/disc2 iso9660 ro,loop,auto 0 0
/mnt/hda6/psyche-i386-disc3.iso /mnt/disc3 iso9660 ro,loop,auto 0 0
/mnt/hda6/psyche-i386-disc3.iso /mnt/disc4 iso9660 ro,loop,auto 0 0
/mnt/hda6/psyche-i386-disc3.iso /mnt/disc5 iso9660 ro,loop,auto 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdc /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdd /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0

ls -la /dev/hdc
brw-rw---- 1 root disk 22, 0 Aug 31 01:31 /dev/hdc

ls -la /dev/hdd
brw-rw---- 1 root disk 22, 64 Aug 31 01:31 /dev/hdd

ls -la /mnt/cdrom
total 8
drwxrwxrwx 2 root root 4096 Oct 26 16:17 .
drwxr-xr-x 11 root root 4096 Oct 27 09:34 ..

The CD/DVD is a combo drive from Liteon (hdc)
The Burner is a liteon cdrw unit (hdd)


Thanks for the help,

ZenBee 10-28-2002 12:28 PM

Thanks for the time everyone......

I've upgraded to the latest stable kernel (2.4.19) and the CDROM 's are mounting like they should......

I think it had something to do with the VT8235 not completely beeing recognised on ide1 with udma.....

Max


All times are GMT -5. The time now is 06:14 AM.