LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2012, 12:11 AM   #1
robert-childan
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
dd input output error (with audio CDs only)


I've been having an issue with DD today. For some reason I can't seem to create an iso from an audio CD. I'm almost certain that I've done this in the past with success.

I tried it from my desktop with an up to date Arch Linux install, then I used one of the latest Linux Mint boot cds, I tried a Slackware 13.1 boot cd that was laying around, and finally I tried my laptop running Ubuntu 12.04.

Here's what happens every time:

dd if=/dev/sr0 of=cd.iso
dd: reading ‘/dev/sr0’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0054257 s, 0.0 kB/s

If I try to copy a data cd with the same command it magically works.

I know what I'm copying isn't copy protected. Does anyone know what might be happening here?

Edit: Video DVDs also seem to be causing a problem. I copied some home movies a while back so I know it was working at one point.

Also, I'm not so much looking for alternatives as I know there are different ways to copy things, but this is just driving me mad.

Last edited by robert-childan; 09-16-2012 at 12:56 AM.
 
Old 09-16-2012, 04:45 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
You can't make an ISO from an audio CD, same as you can't mount an audio CD ... it has no filesystem no iso-9660.

Instead I recommend using cdrdao for cloning audio CDs, and vobcopy for extracting VOBs from DVDs. However, libdvdcss is not legal in some places, so check before using it.
 
Old 09-16-2012, 01:25 PM   #3
robert-childan
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
You can't make an ISO from an audio CD, same as you can't mount an audio CD ... it has no filesystem no iso-9660.

Instead I recommend using cdrdao for cloning audio CDs, and vobcopy for extracting VOBs from DVDs. However, libdvdcss is not legal in some places, so check before using it.
You can't mount /dev/zero either, but you can feed zeros into dd. I was under the impression you could just feed the raw bits and bites from the cd into an iso.
 
Old 09-17-2012, 02:53 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
Yes, but what about the copy protection, both commercial DVDs and CDs have it. If you are trying to image these, that's probably the reason they don't work.
 
Old 09-17-2012, 05:37 PM   #5
robert-childan
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
Yes, but what about the copy protection, both commercial DVDs and CDs have it. If you are trying to image these, that's probably the reason they don't work.
Maybe so, if you're trying to copying something with copy protection, but I'm still not sure exactly how that would work. Originally though I was trying to copy an audio CD that I myself had made. I ended up using brasero, but I'm still a bit puzzled.
 
Old 09-17-2012, 06:27 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350Reputation: 2350
I wanted to do this (make an ISO of a CD) the other day for testing a media distribution in a VM because it didn't recognise my USB CD/DVD drive correctly.
After a lot of googling it seems that it is not possible to use dd to copy an audio CD apparently because of the format of the data. I am puzzled by this too but I couldn't find a single example of somebody doing it either.
As for copy protection I know that the CDs I tried do not use it so I don't think that comes into it.
I've always managed to obtain ISOs of DVDs too no matter whether they're using copy protection or not -- but do need DeCSS to watch the resulting ISO.
I'd not thought of using brasero and wonder why it works when dd doesn't? Thanks for the tip though it could be useful for testing as I mentioned above.
 
  


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
[SOLVED] Onboard Audio (hda_intel) for Mic Input and Soundcard (ca0106) for Audio Output? snowdonkey Linux - General 1 07-11-2009 04:17 PM
oss audio output error: cannot open audio device (/dev/dsp)? Bug? Config error? brianpbarnes Linux - Software 1 04-25-2009 05:18 AM
Kernel Panic, Input/output while trying to boot certain Install CDs. iro_number1 Linux - Distributions 2 01-03-2009 12:18 PM
Digital output for audio cds erickFis Linux - Hardware 4 03-23-2004 04:10 PM
couple of problems with mounting CDs and disk 'input/output' errors. can anyone help? darksmiley Linux - General 5 01-24-2004 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 PM.

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
Open Source Consulting | Domain Registration