LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-25-2004, 03:31 PM   #1
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
cdda2wav audio ripping problem


I can't get cdda2wav to work. If barfs with the attached output when run with "cdda2wav dev=/dev/cdrom". I'm using cdda2wav from cdrtools 2.01a31 with a 2.6.7 kernel. Back when I was on the 2.4 series of kernels, I never had this problem, so I don't think it' a hardware issue (Besides, I've tried it on 3 different drives, all with similar results).

ps: cdrecord works fine, if anyone needs to know.

Code:
cdrom device (/dev/hdc) is not of type generic SCSI. Setting interface to cooked_ioctl.
126976 bytes buffer memory requested, 4 buffers, 8 sectors
#Cdda2wav version 2.01a31_linux_2.6.6_i686_i686, real time sched., soundcard, libparanoia support
EnableCdda_cooked (CDIOCSETCDDA) is not available...
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1- 1          yes              no     audio    2
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      2-16          yes              no     audio    2
Table of Contents: total tracks:16, (total time 73:51.18)
  1.(22:50.31),  2.( 3:11.54),  3.( 4:02.01),  4.( 4:02.01),  5.( 2:12.00),
  6.( 4:02.01),  7.( 3:06.56),  8.( 2:55.66),  9.( 2:59.17), 10.( 4:17.35),
 11.( 3:08.26), 12.( 4:02.01), 13.( 3:06.21), 14.( 3:20.30), 15.( 3:18.68),
 16.( 3:15.60)

Table of Contents: starting sectors
  1.(       0),  2.(  102781),  3.(  117160),  4.(  135311),  5.(  153462),
  6.(  163362),  7.(  181513),  8.(  195519),  9.(  208710), 10.(  222152),
 11.(  241462), 12.(  255588), 13.(  273739), 14.(  287710), 15.(  302740),
 16.(  317658), lead-out(  332343)
CDINDEX discid: m6oMq4Nz62LBF2ekPTckrztaV0Q-
CDDB discid: 0xe7114f10
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 241740956 bytes.
recording 1370.4133 seconds stereo with 16 bits @ 44100.0 Hz ->'audio'...
cdda2wav: Operation not permitted. cannot set posix realtime scheduling policy
overlap:min/max/cur, jitter, percent_done:
  /  /  /          0%Sorry, this driver and/or drive does not support cdda reading.
cooked: Read cdda : Input/output error
 sector 0 + 8, buffer 4000D000 + 1f000

Last edited by ugenn; 06-25-2004 at 03:33 PM.
 
Old 06-25-2004, 04:48 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Can you post the invocation, too?

It should look something like this:
cdda2wav --dev ATAPI:your device





Cheers,
Tink
 
Old 06-25-2004, 11:25 PM   #3
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
I already gave that info - cdda2wav dev=/dev/cdrom. I tried it your way, but got this:

Code:
[~] $ cdda2wav dev=ATAPI:/dev/cdrom
Type: ROM, Vendor 'TEAC    ' Model 'CD-224E         ' Revision '1.7A' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 55 sectors
#Cdda2wav version 2.01a31_linux_2.6.6_i686_i686, real time sched., soundcard, libparanoia support
 DATAtrack recorded      copy-permitted tracktype
      1- 1 uninterrupted             no      data
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      2-16           no              no     audio    2
Table of Contents: total tracks:16, (total time 73:51.18)
  1.[22:50.31],  2.( 3:11.54),  3.( 4:02.01),  4.( 4:02.01),  5.( 2:12.00),
  6.( 4:02.01),  7.( 3:06.56),  8.( 2:55.66),  9.( 2:59.17), 10.( 4:17.35),
 11.( 3:08.26), 12.( 4:02.01), 13.( 3:06.21), 14.( 3:20.30), 15.( 3:18.68),
 16.( 3:15.60)

Table of Contents: starting sectors
  1.(       0),  2.(  102781),  3.(  117160),  4.(  135311),  5.(  153462),
  6.(  163362),  7.(  181513),  8.(  195519),  9.(  208710), 10.(  222152),
 11.(  241462), 12.(  255588), 13.(  273739), 14.(  287710), 15.(  302740),
 16.(  317658), lead-out(  332343)
CDINDEX discid: m6oMq4Nz62LBF2ekPTckrztaV0Q-
CDDB discid: 0xe7114f10
CD-Text: not detected
CD-Extra: not detected
Track 1 not found
 
Old 06-26-2004, 12:25 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
/me coughs ...

That's your device in the notation that cdrecord or
cdda2wav would use, not the physical device...

cdrecord -dev=ATAPI -scanbus

And then use what cdrecord uses in that output.

man is your friend!


Cheers,
Tink
 
Old 06-26-2004, 02:08 AM   #5
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
But cdrecord *does* work with dev=/dev/cdrom.

Edit:
Yeah it works now. I did it as cdrecord dev=ATPI:/dev/cdrom. It failed originally as the CD I tested on was a mixed mode CD where the first track was a data track, hence the error. Thx.

Last edited by ugenn; 06-26-2004 at 02:45 AM.
 
  


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
ripping audio CD in to mp3s nomass Mandriva 10 06-02-2006 12:12 PM
CD ripping - cdparanoia / cdda2wav = loud and long Kernel_Sanders Linux - Software 2 01-27-2005 06:34 AM
k3b; cdrecord; cdda2wav PROBLEM! pepeq Suse/Novell 2 10-20-2004 01:35 PM
cdda2wav problem bleedingturnips Linux - Software 0 06-21-2004 11:17 AM
ripping cd audio problem jogurt666 Linux - Hardware 9 01-24-2004 06:07 AM


All times are GMT -5. The time now is 05:19 PM.

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