Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: DVD-cd usage
Date: Thu, 21 Jul 2005 18:03:38
Message-Id: 42DFE231.8010401@planet.nl
In Reply to: [gentoo-user] Re: DVD-cd usage by James
1 James schreef:
2 > Success?
3 >
4 > cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v README
5 >
6 > <results>
7 >
8 > Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J<F6>rg Schilling
9 > on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 Maximilian Decker
10 >
11 > NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
12 > and thus may have bugs that are not present in the original version.
13 > Please send bug reports and support requests to <burbon04 at gmx.de>.
14 > For more information please see http://burbon04.gmxhome.de/linux/CDREncrypt
15 > ion.html.
16 > The original author should not be bothered with problems of this version.
17 >
18 > cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
19 > cdrecord: There are unsettled issues with Linux-2.5 and newer.
20 > cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
21 > TOC Type: 1 = CD-ROM
22 > scsidev: 'ATAPI:0,0,0'
23 > devname: 'ATAPI'
24 > scsibus: 0 target: 0 lun: 0
25 > Warning: Using ATA Packet interface.
26 > Warning: The related Linux kernel interface code seems to be unmaintained.
27 > Warning: There is absolutely NO DMA, operations thus are slow.
28 > Using libscg version 'schily-0.8'.
29 > SCSI buffer size: 64512
30 > atapi: 1
31 > Device type : Removable CD-ROM
32 > Version : 0
33 > Response Format: 2
34 > Capabilities :
35 > Vendor_info : 'TOSHIBA '
36 > Identifikation : 'DVD-ROM SD-R2412'
37 > Revision : '1015'
38 > Device seems to be: Generic mmc2 DVD-ROM.
39 > Current: 0x0009
40 > Profile: 0x0010
41 > Profile: 0x0008
42 > Profile: 0x0009 (current)
43 > Profile: 0x000A
44 > Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
45 > Driver flags : MMC-3 SWABAUDIO BURNFREE
46 > Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
47 > Drive buf size : 1791936 = 1749 KB
48 > FIFO size : 4194304 = 4096 KB
49 > Track 01: data 0 MB padsize: 596 KB
50 > Total size: 0 MB (00:04.00) = 300 sectors
51 > Lout start: 1 MB (00:06/00) = 300 sectors
52 > Current Secsize: 2048
53 > ATIP info from disk:
54 > Indicated writing power: 4
55 > Is not unrestricted
56 > Is not erasable
57 > Disk sub type: Medium Type A, low Beta category (A-) (2)
58 > ATIP start of lead in: -12508 (97:15/17)
59 > ATIP start of lead out: 359845 (79:59/70)
60 > Disk type: Short strategy type (Phthalocyanine or similar)
61 > Manuf. index: 22
62 > Manufacturer: Ritek Co.
63 > Blocks total: 359845 Blocks current: 359845 Blocks remaining: 359545
64 > Starting to write CD/DVD at speed 4 in real SAO mode for single session.
65 > Last chance to quit, starting real write 2 seconds.
66 > cdrecord: fifo had 1 puts and 0 gets.
67 > cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%.
68 >
69 >
70 > ???
71 >
72 > James
73 >
74
75 Which seems to bring us back to where I at least was a bit ago---
76
77 1. There's nothing wrong with the device *per se*, or with cdrecord,
78 having now proved that it is capable of burning a file to CD (I assume
79 the file was correctly burned, but with a file as small as a README,
80 you're not going to get any noticeable buffer use)
81
82 2. The error that cdrecord was previously giving is to greater or lesser
83 degree accurate--
84
85 *there's something wonky about the files you're trying to burn*
86
87 I don't know what that might be, but it seems to me that one possible
88 chain of logic is:
89
90 a) no matter whether you use --audio or --data (or rename the file with
91 a new extension), cdrecord detects the file as audio and automatically
92 uses the --audio switch;
93
94 b) cdrecord has requirements for the encoding of a file using --audio
95 (as specified in man cdrecord, earlier quoted)
96
97 c) your file, which must be burned with the --audio switch, does not
98 meet the specifications that the --audio switch requires (as shown when
99 you posted the file specs gleaned from mPlayer).
100
101 The problem might be something else entirely, of course; this is just a
102 theory. But since we don't know what the problem actually is (and I
103 don't so much have the time atm to specify how to make sure all the
104 components from the kernel to cdrecord to your file are all in proper
105 working order), it's worth further investigation.
106
107 On that note, three questions:
108
109 1) the USE flags for cdrtools are:
110
111 on-the-fly-crypt -
112 unicode - Adds support for Unicode
113 crypt - Add support for encryption -- using mcrypt or gpg where
114 applicable
115 dvdr - Adds support for DVD writer hardware (e.g. in xcdroast)
116
117 Which ones did you use? Maybe you have a functionality needed that you
118 don't have enabled?
119
120 2) Have you tried re-encoding the audio file to the cdrecord
121 specifications, and *then* burning it?
122
123 3) (Thanks for the idea, Dave Nebinger) Have you tried making an ISO of
124 all the audio files (unaltered) that you want to burn to CD, using
125 mkisofs, and then burning the ISO instead of the files?
126
127 HTH,
128 Holly
129 --
130 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: DVD-cd usage James <wireless@×××××××××××.com>