Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No ToC with cdrecord when burning audio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cruise
n00b
n00b


Joined: 01 Dec 2003
Posts: 48

PostPosted: Thu Jun 11, 2009 12:44 pm    Post subject: No ToC with cdrecord when burning audio Reply with quote

I'm in the process of figuring out using cdrecord to make audio cds, but none of my attempts so far appear to have a Toc.

Using this command:
Code:

cdrecord -v -dev=/dev/cdrw1 speed=1 -audio -pad -eject  -raw what_goes_up.wav


There are no errors, and cdrecord tells me it's fixing the drive at the end (which according to the man page means writing the ToC, yes?).

However, cdrecord -toc straight after gives me this:

Code:

Cdrecord-ProDVD-ProBD-Clone 2.01.01a57 (i686-pc-linux-gnu) Copyright (C) 1995-2009 J�g Schilling
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SAMSUNG '
Identifikation : 'CD-R/RW SW-204B '
Revision       : 'BS13'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET RAW/R16 RAW/R96R
cdrecord: Warning: The DMA speed test has been skipped.
cdrecord: Success. read toc: scsi sendcmd: no error
CDB:  43 00 00 00 00 00 00 00 04 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 4
cmd finished after 0.000s timeout 40s
cdrecord: Cannot read TOC header
cdrecord: Cannot read TOC/PMA.


cdrecord -minfo shows this:

Code:

Cdrecord-ProDVD-ProBD-Clone 2.01.01a57 (i686-pc-linux-gnu) Copyright (C) 1995-2009 J�g Schilling
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SAMSUNG '
Identifikation : 'CD-R/RW SW-204B '
Revision       : 'BS13'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET RAW/R16 RAW/R96R
cdrecord: Warning: The DMA speed test has been skipped.
Disk Is not erasable
data type:                standard
disk status:              incomplete/appendable
session status:           incomplete/appendable
BG format status:         none
first track:              0
number of sessions:       1
first track in last sess: 1
last track in last sess:  1
Disk Is not unrestricted
Disk type: CD-DA or CD-ROM
last start of lead in: -11607
last start of lead out: 359849

Track  Sess Type   Start Addr End Addr   Size
==============================================
cdrecord: Success. read track info: scsi sendcmd: no error
CDB:  52 01 00 00 00 00 00 00 04 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 4
cmd finished after 0.000s timeout 240s
    5     0 Audio  0          -1         0
    1     1 Data   0          359846     359847

Last session start address:         0
Last session leadout start address: 359847
Next writable address:              232054
Remaining writable size:            359847


So I think the data is there (looking at the CD surface shows a large section has been written to), but for some reason it's still incomplete. Running cdrecord -fix makes no difference - everything produces the same results.

What am I missing or doing wrong?
_________________
"quantam sufficit"
[ cruise / casual-tempest.net / transference.org ]
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Thu Jun 11, 2009 3:09 pm    Post subject: Reply with quote

Stupid question... have you tried playing the CD to see what happens?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
cruise
n00b
n00b


Joined: 01 Dec 2003
Posts: 48

PostPosted: Thu Jun 11, 2009 3:16 pm    Post subject: Reply with quote

Yup, everything just claims it's a blank CD, presumably because there's no ToC...
_________________
"quantam sufficit"
[ cruise / casual-tempest.net / transference.org ]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum