Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-15-2004, 07:39 PM   #1
Registered: Aug 2003
Posts: 32

Rep: Reputation: 15
Input/output error when reading from CD-RW drive

I've been a casual linux user (grad student in the sciences) for years, but I've just recently made the switch at home, too.

Things were going fine until I encountered an error while trying to read from my CD-ROM drive:

I'm getting "Input/output error" -- it doesn't matter whether I'm logged in as root or not.

I've installed programs off this CD before and things worked fine -- but this is a new machine and a new install of redhat (though I'm using an older version). This is a CD-RW rather than a regular CD-ROM, also.

When I look at the cdrom, this is what I see:

[root@localhost]# ls -l /mnt/cdrom
total 72552
dr-xr-xr-x 2 root root 2048 Nov 22 2002 bin
dr-xr-xr-x 5 root root 2048 Nov 22 2002 iraf
-r--r--r-- 1 root root 74286597 Nov 22 2002 OOo_1.0.1_LinuxIntel_install.tar.gz
dr-xr-xr-x 3 root root 2048 Nov 22 2002 sm

I can cp the OOo_* file from the CD onto my HD just fine, but when I try to copy anything in the other directories onto my HD, I get the input/output error. If I try to list the contents of any file in the cdrom's directories, I can't see anything (but I don't get an error message, just a carriage return).

Here are the contents of my /etc/fstab, though I don't really know what this means:

[root@localhost]# more /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/hdb2 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0


Old 02-16-2004, 05:50 PM   #2
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
I would hazard a guess that your problems are to do with having owner and kudzu in your fstab. Either that, or your drive is knackered, but I doubt that since you can copy OOo file over to the harddrive.

The man mount page says that...the owner option is similar to the user option, with the restriction that the user must be the owner of the special file. The kudzu option allows the device/mount-point to be removed when there is no disc present. If I were you, I'd try a different entry in your fstab and see how you get on. Something like:
/dev/cdrom /mnt/cdrom iso9660 users,noauto 0 0
This will allow all users to mount and umount the drive, which is useful. You can add ro to the entry if you like, but I didn't bother since the files are set ro on the disc anyway.

Hope this helps.
Old 02-17-2004, 11:17 PM   #3
Registered: Aug 2003
Posts: 32

Original Poster
Rep: Reputation: 15
That did work -- thank you!


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
"/usr/bin/ls: reading directory .: Input/output error" DiZi Slackware 15 07-13-2008 10:03 AM
dd: reading `/dev/cdrom': Input/output error jimdaworm Linux - Software 46 10-25-2006 08:43 PM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
Input/Output error on second hard drive cadkins Linux - Hardware 2 01-10-2005 06:11 PM
input/output error copying from cdrom to hard drive aredshaw Linux - Hardware 4 07-16-2002 02:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 AM.

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