LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-22-2004, 08:07 PM   #1
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
Cat input output error


I'm trying to back up some cds on to my harddrive. The first cd worked fine when i did cat /dev/hdc > cd1.iso but when i tried to do this again i got the following error. cat: /dev/hdc: Input/output error. I'll tried several other cds but none of them will work. I wasn't aware that i changed anything. What could cause this error?
 
Old 12-22-2004, 08:12 PM   #2
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
I have had "hang" issues on my cdroms after moving Large files from them to the hard drive,, after a few minutes they work fine again.

could dd also work for you needs?

dd if=/dev/hdd for=/home/user/cd.iso

Last edited by cythrawll; 12-22-2004 at 08:14 PM.
 
Old 12-22-2004, 08:16 PM   #3
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
dd if=/dev/dvd of=~/cd2.iso
dd: reading `/dev/dvd': Input/output error
3216+0 records in
3216+0 records out

same thing. So are you saying this is a temporary issue?
 
Old 12-22-2004, 08:17 PM   #4
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
/dev/dvd is linked to /dev/hdc.

Just another bit of information. It also stops in the same place for each disk i've tried. The one i really need copied always stopped at 1.6M.

Last edited by zaicheke; 12-22-2004 at 08:18 PM.
 
Old 12-22-2004, 08:19 PM   #5
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
well it happened to me when i was moving the large files from doom3 disks onto my hard drive for the linux version... The cd rom would become inaccessible for anywhere from about 10 to 30 mins. and then worked again. I could still read from the disk tho (with ls never tried cat.)

**edit** could it be a memory problem?

Last edited by cythrawll; 12-22-2004 at 08:20 PM.
 
Old 12-22-2004, 08:20 PM   #6
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
i'm just going to shut it down and let it sit. When yours was inaccessible did it give the same errors as mine?
 
Old 12-22-2004, 08:22 PM   #7
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
well, i got a different error, but I was trying to unmount it, and it gave me a "could not umount drive is busy" when it wasnt. Im not saying that these incidences were related, but it could be??

*edit* after doing some research, this might be caused by a disk error, i would check you dmesg log

Last edited by cythrawll; 12-22-2004 at 08:32 PM.
 
Old 12-22-2004, 08:32 PM   #8
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
I tried it on a smaller disk image and worked (after i let it sit with the power off for a while).

EDIT: I was able to copy the 100M to an iso but i can still cannot copy the 610M one. Is this a problem that will be solved just by waiting?

Last edited by zaicheke; 12-22-2004 at 08:53 PM.
 
Old 12-22-2004, 09:17 PM   #9
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
i just tried to do a cat of my dvd the same way as you are trying to do...

i get the same error, is there a file size limit for this method??

I tried using K3b to save the iso, and i get a:

error reading sector number 481, error
 
Old 12-22-2004, 09:26 PM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Sounds to me like the CD's themselves have a defect. You could try one of the CD repair kits.

Do you need to boot up these disks, or could you try backing up the files on the discs rather than doing an image backup?
 
Old 12-22-2004, 10:01 PM   #11
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
could it be copyright protection. It's a game (which i own). The one i copied was the second cd.
 
Old 12-22-2004, 10:06 PM   #12
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
i'm fairly sure it's copy right now. I have no idea why they wouldn't put copy right protection on the second of a two disk set.
 
Old 12-23-2004, 06:00 AM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,752

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
This seems to me to be a problem with using 'cat'. If you use cat for a /dev it will continue to cat forever sometimes. And if you are able to kill the process at all, your console has 'binary', strange looking characters. You can type 'reset' to fix that. But sometimes you can't even kill the process beacuse the keyboard doesn't respond, or perhaps it does let you swith to another tty and kill the process from there.
Don't use 'cat' on binaries or on /dev's.
dd doesn't care what the data is -it just writes it directly without reading it. Don't mount the drive your dd'ing from, or to, if theat's the case
BTW, the -R option(not -r) for 'cp' keeps it from reading the data it copies -sometimes cures a data corruption when using 'cp'.
 
Old 12-23-2004, 10:45 AM   #14
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
I think i'm just going to use mkisofs for now. If somone could tell me why this doesn't work for most games that would be great. The size of the disk doesn't matter, i made an iso of a home made dvd (which was 3.7G). Plus the only way i've ever been able to copy this stuff on windoze was wth Alcohol 120%, which gets by safedisk. I don't you think you can copy it with Nero.
 
Old 12-26-2004, 03:46 AM   #15
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
Yeah im getting an input output error as well

Is it because of cd protection?

I don't get how it can be done on windows though..?
 
  


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
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
dd input/output error matazar42 Linux - General 3 10-08-2005 05:22 PM
Input/output error greenthing Linux - Software 4 04-28-2005 09:54 AM
cd input/output error jamaso Slackware 10 10-03-2003 06:27 PM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration