Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Howto: Duplicate Audio CDs using cdrdao

  1. #1
    Join Date
    Dec 2006
    Beans
    7,080

    Howto: Duplicate Audio CDs using cdrdao

    This page has been moved to the Ubuntu Community wiki:

    https://help.ubuntu.com/community/cdrdao

    However support is still available from this thread. Feel free to ask any questions .
    Last edited by andrew.46; April 9th, 2012 at 11:51 PM. Reason: Update for 2012 and Oneiric.....
    You think that's air you're breathing now?

  2. #2
    Join Date
    Apr 2007
    Location
    Coffee corner
    Beans
    405
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Howto: Duplicate Audio CDs using cdrdao

    Great post, just a quick note: The ATA syntax is obsolete (see http://markmail.org/message/b7yf4kkdnywqijpb), so try
    the wodim --devices output to get the correct device (something like --device /dev/scd0)

  3. #3
    Join Date
    Dec 2006
    Beans
    7,080

    Re: Howto: Duplicate Audio CDs using cdrdao

    Hi rosencrantz,

    Quote Originally Posted by rosencrantz View Post
    Great post, just a quick note: The ATA syntax is obsolete (see http://markmail.org/message/b7yf4kkdnywqijpb), so try
    the wodim --devices output to get the correct device (something like --device /dev/scd0)
    Thanks for your post. I will admit to not having used wodim that much, I tend to use Jorg Schilling's cdrecord as a deliberate choice. cdrecord uses the same scsi syntax though. I have not tested the wodim syntax, does it work with cdrdao? Burning on my system has been flawless with the scsi address given in this guide.

    Andrew
    You think that's air you're breathing now?

  4. #4
    Join Date
    Apr 2007
    Location
    Coffee corner
    Beans
    405
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Howto: Duplicate Audio CDs using cdrdao

    Hi Andrew,
    yep, sorry - evil SuSE user, so I wrote wodim kind of automatically. Considering the fact that I have a compatibility package symlinking cdrecord directly to wodim, I suppose they kept the syntax the same after the fork - naturally, I have no way to test that assumption. AFAIK, cdrdao is not affected by the fork.
    Fiddling with cdrdao copy on SuSE 11, I tried both the SCSI specs from cdrdao scanbus, which didn't work and the /dev/cdr0 from cdrecord --devices, which did.
    Update: cdrdao scanbus warns me: "the ATA: method is considered deprecated on modern kernels! Use --devices to display the native names."
    Kernel 2.6.25 - are you using an older one or is this some weird distro/fork-specific issue?


    Greets rosencrantz
    Last edited by rosencrantz; December 16th, 2008 at 10:42 PM.

  5. #5
    Join Date
    Dec 2006
    Beans
    7,080

    Re: Howto: Duplicate Audio CDs using cdrdao

    Hi,

    Ubuntu also uses wodim instead of cdrecord with a similar symlinking device, it is actually only me who uses the real cdrecord on Ubuntu .

    But I am not one to ignore advice so I tested on my freshly reloaded Ubuntu Intrepid Ibex system with the default cdrdao and wodim installed. Forgive me if this reply is somewhat long-winded but I have investigated this thoroughly:

    Code:
    andrew@skamandros:~$ sudo cdrdao scanbus
    Cdrdao version 1.2.2 - (C) Andreas Mueller <andreas@daneb.de>
      SCSI interface library - (C) Joerg Schilling
      Paranoia DAE library - (C) Monty
    
    Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
    
    Using libscg version 'ubuntu-0.8ubuntu1'
    
    1,0,0 : Optiarc , DVD+-RW AD-5560A, DD11
    and with wodim:

    Code:
    andrew@skamandros:~$ wodim --devices
    wodim: Overview of accessible drives (1 found) :
    -------------------------------------------------------------------------
     0  dev='/dev/scd0'	rwrw-- : 'Optiarc' 'DVD+-RW AD-5560A'
    -------------------------------------------------------------------------
    which all looks reasonable. So to try the wodim syntax with cdrdao:

    Code:
    andrew@skamandros:~/Desktop$ sudo cdrdao read-cd --source-device /dev/scd0 --driver generic-mmc \
    >                       --paranoia-mode 3 audiocd.toc
    Cdrdao version 1.2.2 - (C) Andreas Mueller <andreas@daneb.de>
      SCSI interface library - (C) Joerg Schilling
      Paranoia DAE library - (C) Monty
    
    Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
    
    Using libscg version 'ubuntu-0.8ubuntu1'
    
    /dev/cdrw: Optiarc DVD+-RW AD-5560A	Rev: DD11
    Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
    
    Reading toc and track data...
    
    Track   Mode    Flags  Start                Length
    ------------------------------------------------------------
     1      AUDIO   0      00:00:32(    32)     04:19:63( 19488)
     2      AUDIO   0      04:20:20( 19520)     02:47:45( 12570)
     3      AUDIO   0      07:07:65( 32090)     04:17:65( 19340)
     4      AUDIO   0      11:25:55( 51430)     03:35:70( 16195)
     5      AUDIO   0      15:01:50( 67625)     03:43:45( 16770)
     6      AUDIO   0      18:45:20( 84395)     03:51:65( 17390)
     7      AUDIO   0      22:37:10(101785)     03:02:62( 13712)
     8      AUDIO   0      25:39:72(115497)     04:37:35( 20810)
     9      AUDIO   0      30:17:32(136307)     02:24:33( 10833)
    10      AUDIO   0      32:41:65(147140)     03:06:40( 13990)
    11      AUDIO   0      35:48:30(161130)     03:34:17( 16067)
    12      AUDIO   0      39:22:47(177197)     04:07:00( 18525)
    13      AUDIO   0      43:29:47(195722)     03:26:18( 15468)
    14      AUDIO   0      46:55:65(211190)     03:16:70( 14770)
    15      AUDIO   0      50:12:60(225960)     04:57:27( 22302)
    16      AUDIO   0      55:10:12(248262)     02:18:15( 10365)
    17      AUDIO   0      57:28:27(258627)     03:28:28( 15628)
    Leadout AUDIO   0      60:56:55(274255)
    
    PQ sub-channel reading (audio track) is supported, data format is BCD.
    Raw P-W sub-channel reading (audio track) is supported.
    Cooked R-W sub-channel reading (audio track) is supported.
    Copying audio tracks 1-17: start 00:00:00, length 60:56:55 to "data.bin"...
    Track 1...
    And this works perfectly, as does the syntax that I give in the guide:

    Code:
    andrew@skamandros:~/Desktop$ sudo cdrdao read-cd --source-device 1,0,0 --driver generic-mmc \
    >                       --paranoia-mode 3 audiocd.toc
    Cdrdao version 1.2.2 - (C) Andreas Mueller <andreas@daneb.de>
      SCSI interface library - (C) Joerg Schilling
      Paranoia DAE library - (C) Monty
    
    Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
    
    Using libscg version 'ubuntu-0.8ubuntu1'
    
    /dev/cdrw: Optiarc DVD+-RW AD-5560A	Rev: DD11
    Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
    
    Reading toc and track data...
    
    Track   Mode    Flags  Start                Length
    ------------------------------------------------------------
     1      AUDIO   0      00:00:32(    32)     04:19:63( 19488)
     2      AUDIO   0      04:20:20( 19520)     02:47:45( 12570)
     3      AUDIO   0      07:07:65( 32090)     04:17:65( 19340)
     4      AUDIO   0      11:25:55( 51430)     03:35:70( 16195)
     5      AUDIO   0      15:01:50( 67625)     03:43:45( 16770)
     6      AUDIO   0      18:45:20( 84395)     03:51:65( 17390)
     7      AUDIO   0      22:37:10(101785)     03:02:62( 13712)
     8      AUDIO   0      25:39:72(115497)     04:37:35( 20810)
     9      AUDIO   0      30:17:32(136307)     02:24:33( 10833)
    10      AUDIO   0      32:41:65(147140)     03:06:40( 13990)
    11      AUDIO   0      35:48:30(161130)     03:34:17( 16067)
    12      AUDIO   0      39:22:47(177197)     04:07:00( 18525)
    13      AUDIO   0      43:29:47(195722)     03:26:18( 15468)
    14      AUDIO   0      46:55:65(211190)     03:16:70( 14770)
    15      AUDIO   0      50:12:60(225960)     04:57:27( 22302)
    16      AUDIO   0      55:10:12(248262)     02:18:15( 10365)
    17      AUDIO   0      57:28:27(258627)     03:28:28( 15628)
    Leadout AUDIO   0      60:56:55(274255)
    
    PQ sub-channel reading (audio track) is supported, data format is BCD.
    Raw P-W sub-channel reading (audio track) is supported.
    Cooked R-W sub-channel reading (audio track) is supported.
    Copying audio tracks 1-17: start 00:00:00, length 60:56:55 to "data.bin"...
    Track 1...
    So on an Ubuntu Intrepid Ibex system both types of syntax will work. This is probably not a huge suprise when I looked more closely at the man pages and found:

    --device [prot:]bus,id,lun
    Sets the SCSI address of the CD-recorder in form of a bus/id/lun triple, e.g. ’0,2,0’ for the
    logical unit 0 of SCSI device with ID 2 on bus 0. ATAPI devices can be specified by using the
    prefix ’ATAPI:’, e.g. ’ATAPI:0,0,0’. On some systems a device node may be specified directly,
    e.g. ’/dev/sg0’ on Linux systems.
    Linux 2.6 users may also try the newer ATAPI interface with
    the ’ATA:’ prefix.
    You will note the slight difference between the ATA syntax you have spoken of and the scsi syntax I demonstrate in the guide.

    So my conclusion is that in Ubuntu at least both the scsi syntax and the device address specified by wodim can be successfully used with cdrdao. The ATA style syntax also works on my machine but this may not be the case universally I suspect.

    As for one being deprecated in favour of the other, this is a battle that Jorg Schilling and Debian can continue to fight out without me .

    All the best,

    Andrew Strong
    Last edited by andrew.46; December 17th, 2008 at 07:29 AM.
    You think that's air you're breathing now?

  6. #6
    Join Date
    Apr 2007
    Location
    Coffee corner
    Beans
    405
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Howto: Duplicate Audio CDs using cdrdao

    Thorough indeed and good to know.
    Thanks

    rosencrantz

  7. #7
    Join Date
    Sep 2007
    Location
    Seattle, USA
    Beans
    116
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto: Duplicate Audio CDs using cdrdao

    This is so excellent, thank you andrew! The other documentation available for cdrdao is completely incomprehensible, so your tutorial really saved the day. It also serves as a great workaround for this bug.

    At first I was having issues with cdrdao hanging while reading track 1 (same as http://ubuntuforums.org/showthread.php?t=719167). This turned out to be a hardware issue. I swapped out the "read" drive in a two-drive configuration and everything works fine now.

    Thanks again. Your various posts/tutorials about CD backups in Linux are really helpful.
    "I take it from your glum demeanor that your ill-advised foray into time-travel destroyed yet another reality."

  8. #8
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu 14.10 Utopic Unicorn

    Re: Howto: Duplicate Audio CDs using cdrdao

    daqron +1, thanks much Andrew. brasero and gnomebaker are not currently working on any of my Lucid computers, you saved me while I wait for a fix
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

  9. #9
    Join Date
    Dec 2006
    Beans
    7,080

    Re: Howto: Duplicate Audio CDs using cdrdao

    Quote Originally Posted by bapoumba View Post
    daqron +1, thanks much Andrew. brasero and gnomebaker are not currently working on any of my Lucid computers, you saved me while I wait for a fix
    My apologies for this somewhat epic necropost, I had temporarily lost site of this guide . Glad that the guide was useful to you all that time ago, you might be interested in this guide's big brother:

    CD and DVD Writing from the Linux Command Line
    http://www.andrews-corner.org/burning.html

    which features a lot more commandline burning
    You think that's air you're breathing now?

  10. #10
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu 14.10 Utopic Unicorn

    Re: Howto: Duplicate Audio CDs using cdrdao

    Thanks again Andrew, bookmarked
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •