LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2009, 06:49 AM   #1
jaysrikrishna
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Rep: Reputation: 15
unable to read CD ROM


Hi friends,

I am trying to read the data from CDROM drive but it showing the
message like device not found. I tried mounting the device in
/dev/cdrom. Please help me.

Thanks,
JaY
 
Old 06-17-2009, 06:50 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
how did you mount?
 
Old 06-17-2009, 08:43 AM   #3
jaysrikrishna
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Original Poster
Rep: Reputation: 15
under root I executed " mount -t iso9660 /dev/cdrom /mnt/cdrom "

I assume that /etc/fstab entry not mandatory for manual mounting.
Also I am sure that there is no problem with my CDROM.

Following is the content of " fstab " file
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
LABEL=/cad1 /cad ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home1 /home ext3 defaults 1 2
LABEL=/opt1 /opt ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/usr1 /usr ext3 defaults 1 2
LABEL=/var1 /var ext3 defaults 1 2
LABEL=SWAP-sda9 swap swap defaults 0 0
/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
-------------------------------------------------------------------------------------------

Following information may also be useful obtained from " dmesg | grep hda"

hda: ATAPI DVD A DH18A1P, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
hda: command error: status=0x51 { DriveReady SeekComplete Error }
hda: command error: error=0x54
ATAPI device hda:
end_request: I/O error, dev hda, sector 0
Buffer I/O error on device hda, logical block 0
hda: command error: status=0x51 { DriveReady SeekComplete Error }
hda: command error: error=0x54
ATAPI device hda:
end_request: I/O error, dev hda, sector 0
Buffer I/O error on device hda, logical block 0
hda: command error: status=0x51 { DriveReady SeekComplete Error }
hda: command error: error=0x54
---------------------------------------------------------------------------------


Note: I visited many forums, many similar post are there but NO solution.

Cheers and Thanks.
JaY

Last edited by jaysrikrishna; 06-17-2009 at 09:08 AM. Reason: Just to add few more information
 
Old 06-17-2009, 10:16 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Did you tried with another cd ?
This one seems broken, or the drive is broken.
Can you read the cd on another computer?
 
Old 06-17-2009, 03:29 PM   #5
alinas
Member
 
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60

Rep: Reputation: 20
I think your dmesg data indicates possible h/w failure. See the following: http://linux.derkeiler.com/Newsgroup.../msg00004.html
 
Old 06-17-2009, 03:32 PM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,761
Blog Entries: 14

Rep: Reputation: 267Reputation: 267Reputation: 267
Quote:
Also I am sure that there is no problem with my CDROM.
(1) Why is that?

(2) Have you tried: mount -t iso9660 /dev/hda /mnt/cdrom

Last edited by mostlyharmless; 06-17-2009 at 03:33 PM. Reason: clarity
 
Old 06-18-2009, 03:32 AM   #7
jaysrikrishna
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
Did you tried with another cd ?
This one seems broken, or the drive is broken.
Can you read the cd on another computer?
I tested the CD too in another mcomp., CD is OK.
My CDROM is also OK i guess, because some day befor
I played some media file using mplayer.

I want to understand the demsg( This may gives some hints about prob.):

ATAPI device hda:
end_request: I/O error, dev hda, sector 0
Buffer I/O error on device hda, logical block 0
hda: command error: status=0x51 { DriveReady SeekComplete Error }
hda: command error: error=0x54"

Thanks for your kind Coop.
JaY
 
Old 06-18-2009, 03:42 AM   #8
jaysrikrishna
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mostlyharmless View Post
(1) Why is that?

(2) Have you tried: mount -t iso9660 /dev/hda /mnt/cdrom
(2) I tried the option, same message "No medium Found "
(1) I tested this following way. I have two system with RedHatLinux 2.6
both of the system are showing same message for OK CD. Thats why it
seems that H/W problem is less chance.

Thanks for Helping me out,
J A Y
 
Old 06-18-2009, 10:04 AM   #9
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,761
Blog Entries: 14

Rep: Reputation: 267Reputation: 267Reputation: 267
What kind of CD is in the player? I mean, you tested the CD player with an audio CD in mplayer in this machine and it worked, now you have a data CD with a known filesystem (like a boot CD) and it doesn't mount in this machine but it mounts in another computer, correct?

You could try swapping the CD player with the one in the other machine to see if the problem stays with the machine or the drive.
 
Old 06-18-2009, 08:19 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
What format is the CD? NTFS?
 
Old 06-19-2009, 02:43 AM   #11
jaysrikrishna
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Original Poster
Rep: Reputation: 15
From all above post I just want to note down some of the possible reason:

1) CDROM is damaged
2) CD itself is damaged
3) Filesystem of CD like iso9660, NTFS etc.
4) Underlying H/W problem like wire disconnection
5) mount process( improper command in shell)
6) May be something else

Test for all above are as following:
1) Try reading many number of CD of variuos format(like media, Data CDs)
in my case my CDROM is OK
2) CD is not damged, i troed it in some other comp it is OK.
3) Filesystem: I am not sure about the filesystem ( !I am very much clear in concept)
4) I think there is no Prolem
5) mount process is correct

Note: Actually I am worried about the dmesg, because this sort of error was not there in other OK system.

ATAPI device hda:
end_request: I/O error, dev hda, sector 0
Buffer I/O error on device hda, logical block 0
hda: command error: status=0x51 { DriveReady SeekComplete Error }
hda: command error: error=0x54

Thanks You ALL
JAY...
 
Old 06-19-2009, 02:58 AM   #12
alinas
Member
 
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60

Rep: Reputation: 20
Which system are you using? Are you confident about the device naming on your machine? The hda name is usually associated with the first IDE drive - normally your main hard disk...

This could be that your kernel has problem with SATA drive. I know it sounds like nothing to do with your CDROM, but try booting your system with:

boot: linux all-generic-ide

This might force the kernel to "re-think" its understanding of the hardware...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to find a udf filesystem patch, trying to read dvd rom sirius57 SUSE / openSUSE 2 03-13-2009 10:52 PM
DVD-ROM/CD-ROM unable to recognize debain boot CD gottfried Linux - Newbie 2 01-20-2004 01:39 PM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 06:07 AM
cant read CD rom matecno Mandriva 2 11-01-2003 01:21 PM
Can't read my CD-ROM kewlchen Linux - General 4 08-16-2003 09:22 PM


All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration