Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm tired of swapping CDs in and out of my cdrom drive, and I'd like to be able to box up my 150-some discs and get them out of my way. So I've been using dd to make ISO images of all the discs (which I can then mount and be on my way without actually needing the CD, or burn a copy of if I need an actual disc for whatever reason).
That's all great. On about 4/5 CD's, dd works properly and I get an ISO file. But on the other 1/5 of the discs, it runs for a while and then says "dd: error reading /dev/cdrom: Input/output error." The ISO file always ends up smaller than it should be--sometimes a full disc will produce a 2MB ISO file this way. So, although I actually haven't tried mounting one, I know these are not valid discs.
I don't think the problem is copy-protection, though I could be wrong, because, for instance, when I attempted to produce images of SimCity 4, the first disc worked fine, but the second disc gave me the error. The discs that are failing are in perfect condition--in fact, all of the damaged discs I have produced a flawless copy.
My CDROM drive seems to usually run at a slower speed, without whirring up and making more noise, when it ends up producing an I/O error. (This isn't 100% true, but it usually is.)
The problem is, however, these specific discs--I can retry three or four times (after deleting the half-completed file), and I get the same result. As soon as I try a different CD, it works perfectly.
I tried Googling this issue for quite a while, and found some information on it, but nothing that seemed to apply to my exact situation. Has anyone had this happen to them before? Is there a workaround I could try?
No, they are all data CD's. (I'm sure they all have audio *on* them, but they are still data CD's.)
One of them (which is from the '90s) apparently has both an audio track that will play in a CD player and a data part, but since that is only one of the CD's I'm having trouble with, that can't be the problem in itself.
As for mounting, I tried with the disk both mounted and not mounted. In general, though, I think GNOME would have mounted the disks as soon as I put them in. I did try umounting it once to see if something else accessing it was the problem.
Last edited by scorchgeek; 09-18-2011 at 03:17 PM.
Reason: forgot answer to 2nd question
Okay, update: I tried doing the same thing on my server. It failed in the same place and dmesg gives almost identical output, down to the logical blocks and sectors being the same. So it seems there is something inherently wrong with the disk (at least this particular one).
As for what that is and how I might be able to go about fixing it, I'm still stumped.
If a disc might be an audio disc or a multi-session disc, you might try a CD burning program to duplicate the disc. For some you may have smudges or small scratches. Cleaning them may help. The problem could be your drive. I always have problems with internal CD/DVD drives after 6 mo. or so. External drives have always given me better luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.