* Digital Audio Extraction with ATAPI drives far from perfect
@ 2006-01-03 22:20 Sebastian
2006-01-04 9:20 ` Jens Axboe
2006-01-06 8:06 ` Joshua Kwan
0 siblings, 2 replies; 33+ messages in thread
From: Sebastian @ 2006-01-03 22:20 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2662 bytes --]
Hello all!
I'd be kind if you would cc me in case you reply as I'm not (yet)
subscribed to this list.
I'm a music buff :) Well, I guess most people are in one way or the
other. But in addition to that I like bitperfect ripping very much.
Since some time this doesn't work well with linux anymore.
I'd like to know if there's something in the making already or what
could be done to solve this issue. A supporting layer for the ide
system, a new driver maybe? I think this can't be fixed in userspace,
right?
I ripped an audio disc in different ways and compared the results using
md5sum. As you can see the wav data is perfect when using ide-scsi
emulation. On the contrary, using ide lead to errors.
Linux version 2.6.15 (root@section_eight) (gcc-Version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8))
In all cases I used the same drive, a NEC ND-4550A dvd writer.
The first series of wav files was ripped with EAC in Windows and is
bitperfect:
8cab5ca4820a753ebb3cb7e3c5c34e6a 01.Man In A Suitcase.wav
187f90f900cffd36ce56e97a3bcf595e 02.Box Of Six.wav
8cc168bb50e80a06693a01a9cd34bbdf 03.Mysterons.wav
e82169e5ea1b441b80db96fce12fd109 04.Justified.wav
8d807b7ac19f90049aec6ff177e9b486 05.Department S.wav
130306e9a564c844d5269256f38afca7 06.Area Code 51.wav
96489dbfcab8f97e7e450cf8db2c8aaa 07.Has To Be.wav
4597a6ed75e201916a3479f05eb86405 08.No. 5.wav
f978327a98fc6359be2fc25eb865211d 09.Among The Cybermen.wav
e316e140b4b0cd66e5822edae22dadb1 10.Unspeakable Elvis.wav
3792a680b1ba729de9185043d331186f 11.Xodiak.wav
ba534fd8eb42dd84aa7b59ab3ae6f132 12.Northern Wisdom.wav
d6346ab76696dddf735a5b752aa7888b 13.Trinity Road.wav
The second series was ripped with deprecated ide-scsi emulation and yielded the
same results as EAC.
The third series was done with ide-cd. Erroneous data is marked
with a (!):
e8319ccc20d053557578b9ca3eb368dd track01.cdda.wav (!)
cb978f86ddc18c9df1b7e91705380bc5 track02.cdda.wav (!)
35f1b296d72a8708d03aeb540a3b4f30 track03.cdda.wav (!)
e82169e5ea1b441b80db96fce12fd109 track04.cdda.wav
8d807b7ac19f90049aec6ff177e9b486 track05.cdda.wav
02561939763d67aacf23157c09966a89 track06.cdda.wav (!)
9724b0a3e2295084613da9df7397ae6d track07.cdda.wav (!)
c2d85b3d10428aad66664d0fb3e4c71a track08.cdda.wav (!)
5116b2fae44b8b86fbf40b9bac9a8268 track09.cdda.wav (!)
9e6a5ab2dab76e1677667f586895293a track10.cdda.wav (!)
3792a680b1ba729de9185043d331186f track11.cdda.wav
ba534fd8eb42dd84aa7b59ab3ae6f132 track12.cdda.wav
d6346ab76696dddf735a5b752aa7888b track13.cdda.wav
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-03 22:20 Digital Audio Extraction with ATAPI drives far from perfect Sebastian
@ 2006-01-04 9:20 ` Jens Axboe
2006-01-04 9:24 ` Jens Axboe
2006-01-06 8:06 ` Joshua Kwan
1 sibling, 1 reply; 33+ messages in thread
From: Jens Axboe @ 2006-01-04 9:20 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On Tue, Jan 03 2006, Sebastian wrote:
> Hello all!
>
> I'd be kind if you would cc me in case you reply as I'm not (yet)
> subscribed to this list.
>
> I'm a music buff :) Well, I guess most people are in one way or the
> other. But in addition to that I like bitperfect ripping very much.
> Since some time this doesn't work well with linux anymore.
>
> I'd like to know if there's something in the making already or what
> could be done to solve this issue. A supporting layer for the ide
> system, a new driver maybe? I think this can't be fixed in userspace,
> right?
>
> I ripped an audio disc in different ways and compared the results using
> md5sum. As you can see the wav data is perfect when using ide-scsi
> emulation. On the contrary, using ide lead to errors.
>
> Linux version 2.6.15 (root@section_eight) (gcc-Version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8))
>
> In all cases I used the same drive, a NEC ND-4550A dvd writer.
>
> The first series of wav files was ripped with EAC in Windows and is
> bitperfect:
>
> 8cab5ca4820a753ebb3cb7e3c5c34e6a 01.Man In A Suitcase.wav
> 187f90f900cffd36ce56e97a3bcf595e 02.Box Of Six.wav
> 8cc168bb50e80a06693a01a9cd34bbdf 03.Mysterons.wav
> e82169e5ea1b441b80db96fce12fd109 04.Justified.wav
> 8d807b7ac19f90049aec6ff177e9b486 05.Department S.wav
> 130306e9a564c844d5269256f38afca7 06.Area Code 51.wav
> 96489dbfcab8f97e7e450cf8db2c8aaa 07.Has To Be.wav
> 4597a6ed75e201916a3479f05eb86405 08.No. 5.wav
> f978327a98fc6359be2fc25eb865211d 09.Among The Cybermen.wav
> e316e140b4b0cd66e5822edae22dadb1 10.Unspeakable Elvis.wav
> 3792a680b1ba729de9185043d331186f 11.Xodiak.wav
> ba534fd8eb42dd84aa7b59ab3ae6f132 12.Northern Wisdom.wav
> d6346ab76696dddf735a5b752aa7888b 13.Trinity Road.wav
>
> The second series was ripped with deprecated ide-scsi emulation and yielded the
> same results as EAC.
>
> The third series was done with ide-cd. Erroneous data is marked
> with a (!):
>
> e8319ccc20d053557578b9ca3eb368dd track01.cdda.wav (!)
> cb978f86ddc18c9df1b7e91705380bc5 track02.cdda.wav (!)
> 35f1b296d72a8708d03aeb540a3b4f30 track03.cdda.wav (!)
> e82169e5ea1b441b80db96fce12fd109 track04.cdda.wav
> 8d807b7ac19f90049aec6ff177e9b486 track05.cdda.wav
> 02561939763d67aacf23157c09966a89 track06.cdda.wav (!)
> 9724b0a3e2295084613da9df7397ae6d track07.cdda.wav (!)
> c2d85b3d10428aad66664d0fb3e4c71a track08.cdda.wav (!)
> 5116b2fae44b8b86fbf40b9bac9a8268 track09.cdda.wav (!)
> 9e6a5ab2dab76e1677667f586895293a track10.cdda.wav (!)
> 3792a680b1ba729de9185043d331186f track11.cdda.wav
> ba534fd8eb42dd84aa7b59ab3ae6f132 track12.cdda.wav
> d6346ab76696dddf735a5b752aa7888b track13.cdda.wav
Can you try and see how, say, track01 differ? Is it single bytes, chunks
of 2352 bytes, or?
--
Jens Axboe
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 9:20 ` Jens Axboe
@ 2006-01-04 9:24 ` Jens Axboe
2006-01-04 15:08 ` Mark Lord
` (2 more replies)
0 siblings, 3 replies; 33+ messages in thread
From: Jens Axboe @ 2006-01-04 9:24 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On Wed, Jan 04 2006, Jens Axboe wrote:
> On Tue, Jan 03 2006, Sebastian wrote:
> > Hello all!
> >
> > I'd be kind if you would cc me in case you reply as I'm not (yet)
> > subscribed to this list.
> >
> > I'm a music buff :) Well, I guess most people are in one way or the
> > other. But in addition to that I like bitperfect ripping very much.
> > Since some time this doesn't work well with linux anymore.
> >
> > I'd like to know if there's something in the making already or what
> > could be done to solve this issue. A supporting layer for the ide
> > system, a new driver maybe? I think this can't be fixed in userspace,
> > right?
> >
> > I ripped an audio disc in different ways and compared the results using
> > md5sum. As you can see the wav data is perfect when using ide-scsi
> > emulation. On the contrary, using ide lead to errors.
> >
> > Linux version 2.6.15 (root@section_eight) (gcc-Version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8))
> >
> > In all cases I used the same drive, a NEC ND-4550A dvd writer.
> >
> > The first series of wav files was ripped with EAC in Windows and is
> > bitperfect:
> >
> > 8cab5ca4820a753ebb3cb7e3c5c34e6a 01.Man In A Suitcase.wav
> > 187f90f900cffd36ce56e97a3bcf595e 02.Box Of Six.wav
> > 8cc168bb50e80a06693a01a9cd34bbdf 03.Mysterons.wav
> > e82169e5ea1b441b80db96fce12fd109 04.Justified.wav
> > 8d807b7ac19f90049aec6ff177e9b486 05.Department S.wav
> > 130306e9a564c844d5269256f38afca7 06.Area Code 51.wav
> > 96489dbfcab8f97e7e450cf8db2c8aaa 07.Has To Be.wav
> > 4597a6ed75e201916a3479f05eb86405 08.No. 5.wav
> > f978327a98fc6359be2fc25eb865211d 09.Among The Cybermen.wav
> > e316e140b4b0cd66e5822edae22dadb1 10.Unspeakable Elvis.wav
> > 3792a680b1ba729de9185043d331186f 11.Xodiak.wav
> > ba534fd8eb42dd84aa7b59ab3ae6f132 12.Northern Wisdom.wav
> > d6346ab76696dddf735a5b752aa7888b 13.Trinity Road.wav
> >
> > The second series was ripped with deprecated ide-scsi emulation and yielded the
> > same results as EAC.
> >
> > The third series was done with ide-cd. Erroneous data is marked
> > with a (!):
> >
> > e8319ccc20d053557578b9ca3eb368dd track01.cdda.wav (!)
> > cb978f86ddc18c9df1b7e91705380bc5 track02.cdda.wav (!)
> > 35f1b296d72a8708d03aeb540a3b4f30 track03.cdda.wav (!)
> > e82169e5ea1b441b80db96fce12fd109 track04.cdda.wav
> > 8d807b7ac19f90049aec6ff177e9b486 track05.cdda.wav
> > 02561939763d67aacf23157c09966a89 track06.cdda.wav (!)
> > 9724b0a3e2295084613da9df7397ae6d track07.cdda.wav (!)
> > c2d85b3d10428aad66664d0fb3e4c71a track08.cdda.wav (!)
> > 5116b2fae44b8b86fbf40b9bac9a8268 track09.cdda.wav (!)
> > 9e6a5ab2dab76e1677667f586895293a track10.cdda.wav (!)
> > 3792a680b1ba729de9185043d331186f track11.cdda.wav
> > ba534fd8eb42dd84aa7b59ab3ae6f132 track12.cdda.wav
> > d6346ab76696dddf735a5b752aa7888b track13.cdda.wav
>
> Can you try and see how, say, track01 differ? Is it single bytes, chunks
> of 2352 bytes, or?
Oh, and try and disable DMA on the cd driver and repeat your results
with ide-cd. It uses DMA, where ide-scsi does not. Dunno what Windows
does. It could just be a problem with your drive and DMA enabled rips.
--
Jens Axboe
^ permalink raw reply [flat|nested] 33+ messages in thread* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 9:24 ` Jens Axboe
@ 2006-01-04 15:08 ` Mark Lord
2006-01-04 15:13 ` Jens Axboe
2006-01-04 15:50 ` Sebastian
2006-01-05 6:43 ` Sebastian
2 siblings, 1 reply; 33+ messages in thread
From: Mark Lord @ 2006-01-04 15:08 UTC (permalink / raw)
To: Jens Axboe; +Cc: Sebastian, linux-kernel
Jens Axboe wrote:
...
> Oh, and try and disable DMA on the cd driver and repeat your results
> with ide-cd. It uses DMA, where ide-scsi does not.
Eh? Sure it does!
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 15:08 ` Mark Lord
@ 2006-01-04 15:13 ` Jens Axboe
0 siblings, 0 replies; 33+ messages in thread
From: Jens Axboe @ 2006-01-04 15:13 UTC (permalink / raw)
To: Mark Lord; +Cc: Sebastian, linux-kernel
On Wed, Jan 04 2006, Mark Lord wrote:
> Jens Axboe wrote:
> ...
> >Oh, and try and disable DMA on the cd driver and repeat your results
> >with ide-cd. It uses DMA, where ide-scsi does not.
>
> Eh? Sure it does!
Only for transfers multiple of 1k, which the DMA ripping is not.
--
Jens Axboe
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 9:24 ` Jens Axboe
2006-01-04 15:08 ` Mark Lord
@ 2006-01-04 15:50 ` Sebastian
2006-01-04 19:36 ` Alistair John Strachan
2006-01-06 13:39 ` jerome lacoste
2006-01-05 6:43 ` Sebastian
2 siblings, 2 replies; 33+ messages in thread
From: Sebastian @ 2006-01-04 15:50 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2697 bytes --]
Hello all! Hi Jens!
I'd be kind if you would cc me in case you reply as I'm not (yet)
subscribed to this list.
On Mi, Jan 04, 2006 at 10:24:44 +0100, Jens Axboe wrote:
> On Wed, Jan 04 2006, Jens Axboe wrote:
> >
> > Can you try and see how, say, track01 differ? Is it single bytes, chunks
> > of 2352 bytes, or?
>
> Oh, and try and disable DMA on the cd driver and repeat your results
> with ide-cd. It uses DMA, where ide-scsi does not. Dunno what Windows
> does. It could just be a problem with your drive and DMA enabled rips.
Hi Jens,
I did as you said and disabled dma:
/dev/hdc:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
Then I reripped the whole disc. Now this is remarkable. The rip still
has errors, but the errors are not only in the same tracks. They are
exactly the same errors (md5sums are equal to the ones I yielded from
using ide-cd before):
e8319ccc20d053557578b9ca3eb368dd track01.cdda.wav (!)
cb978f86ddc18c9df1b7e91705380bc5 track02.cdda.wav (!)
35f1b296d72a8708d03aeb540a3b4f30 track03.cdda.wav (!)
e82169e5ea1b441b80db96fce12fd109 track04.cdda.wav
8d807b7ac19f90049aec6ff177e9b486 track05.cdda.wav
02561939763d67aacf23157c09966a89 track06.cdda.wav (!)
9724b0a3e2295084613da9df7397ae6d track07.cdda.wav (!)
c2d85b3d10428aad66664d0fb3e4c71a track08.cdda.wav (!)
5116b2fae44b8b86fbf40b9bac9a8268 track09.cdda.wav (!)
9e6a5ab2dab76e1677667f586895293a track10.cdda.wav (!)
3792a680b1ba729de9185043d331186f track11.cdda.wav
ba534fd8eb42dd84aa7b59ab3ae6f132 track12.cdda.wav
d6346ab76696dddf735a5b752aa7888b track13.cdda.wav
I used the wav compare function in EAC.
1. wav ripped by EAC
####################
What happened? Where?
-------------------------------------------------
Different samples 0:04:08.318 - 0:04:08.362
2100 missing samples 0:04:08.359
Different samples 0:04:08.430 - 0:04:08.433
Different samples 0:04:09.348 - 0:04:09.398
2. wav ripped by cdparanoia
###########################
What happened? Where?
-------------------------------------------------
Different samples 0:04:08.318 - 0:04:08.362
2039 missing samples 0:04:08.414
Different samples 0:04:08.431 - 0:04:08.434
Different samples 0:04:09.349 - 0:04:09.399
I'm sorry if this isn't what you had in mind when you told me to compare
the wav files. If it doesn't help what can I do to compare the files to
your liking?
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 15:50 ` Sebastian
@ 2006-01-04 19:36 ` Alistair John Strachan
2006-01-04 21:54 ` Sebastian
2006-01-06 13:39 ` jerome lacoste
1 sibling, 1 reply; 33+ messages in thread
From: Alistair John Strachan @ 2006-01-04 19:36 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On Wednesday 04 January 2006 15:50, Sebastian wrote:
> Hello all! Hi Jens!
>
> I'd be kind if you would cc me in case you reply as I'm not (yet)
> subscribed to this list.
>
> On Mi, Jan 04, 2006 at 10:24:44 +0100, Jens Axboe wrote:
> > On Wed, Jan 04 2006, Jens Axboe wrote:
> > > Can you try and see how, say, track01 differ? Is it single bytes,
> > > chunks of 2352 bytes, or?
> >
> > Oh, and try and disable DMA on the cd driver and repeat your results
> > with ide-cd. It uses DMA, where ide-scsi does not. Dunno what Windows
> > does. It could just be a problem with your drive and DMA enabled rips.
>
> Hi Jens,
>
> I did as you said and disabled dma:
Just a thought, but could you try ripping to something without a header, like
RAW? In your case you seem to have been lucky and it'll make no difference,
but WAV headers can vary slightly even if the PCM contained within is
identical.
--
Cheers,
Alistair.
'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 19:36 ` Alistair John Strachan
@ 2006-01-04 21:54 ` Sebastian
0 siblings, 0 replies; 33+ messages in thread
From: Sebastian @ 2006-01-04 21:54 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
I'd be kind if you would cc me in case you reply as I'm not (yet)
subscribed to this list.
On Mi, Jan 04, 2006 at 07:36:03 +0000, Alistair John Strachan wrote:
> Just a thought, but could you try ripping to something without a header, like
> RAW? In your case you seem to have been lucky and it'll make no difference,
> but WAV headers can vary slightly even if the PCM contained within is
> identical.
>
> --
> Cheers,
> Alistair.
>
I know that this can happen. But it's not the issue here.
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 15:50 ` Sebastian
2006-01-04 19:36 ` Alistair John Strachan
@ 2006-01-06 13:39 ` jerome lacoste
1 sibling, 0 replies; 33+ messages in thread
From: jerome lacoste @ 2006-01-06 13:39 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On 1/4/06, Sebastian <sebastian_ml@gmx.net> wrote:
> Hello all! Hi Jens!
[...]
> I used the wav compare function in EAC.
>
> 1. wav ripped by EAC
> ####################
>
> What happened? Where?
> -------------------------------------------------
>
> Different samples 0:04:08.318 - 0:04:08.362
> 2100 missing samples 0:04:08.359
> Different samples 0:04:08.430 - 0:04:08.433
> Different samples 0:04:09.348 - 0:04:09.398
>
> 2. wav ripped by cdparanoia
> ###########################
>
> What happened? Where?
> -------------------------------------------------
>
> Different samples 0:04:08.318 - 0:04:08.362
> 2039 missing samples 0:04:08.414
> Different samples 0:04:08.431 - 0:04:08.434
> Different samples 0:04:09.349 - 0:04:09.399
>
> I'm sorry if this isn't what you had in mind when you told me to compare
> the wav files. If it doesn't help what can I do to compare the files to
> your liking?
It's funny. It looks like the problems happened twice in the more or
less same position.
Jerome
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-04 9:24 ` Jens Axboe
2006-01-04 15:08 ` Mark Lord
2006-01-04 15:50 ` Sebastian
@ 2006-01-05 6:43 ` Sebastian
2 siblings, 0 replies; 33+ messages in thread
From: Sebastian @ 2006-01-05 6:43 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Hello all!
I'd be kind if you would cc me in case you reply as I'm not (yet)
subscribed to this list.
On Mi, Jan 04, 2006 at 10:24:44 +0100, Jens Axboe wrote:
> unno what Windows does.
EAC prefers ASPI, but it falls back to Windows' native SCSI emu layer if
ASPI is not installed.
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-03 22:20 Digital Audio Extraction with ATAPI drives far from perfect Sebastian
2006-01-04 9:20 ` Jens Axboe
@ 2006-01-06 8:06 ` Joshua Kwan
2006-01-06 23:25 ` Sebastian
1 sibling, 1 reply; 33+ messages in thread
From: Joshua Kwan @ 2006-01-06 8:06 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 507 bytes --]
Hi Sebastian,
On 01/03/2006 02:20 PM, Sebastian wrote:
> The second series was ripped with deprecated ide-scsi emulation and yielded the
> same results as EAC.
What were you using? cdparanoia? cdda2wav? (Are there actually that many
other options on Linux?)
This may well be a userspace problem, where your ripping program doesn't
perform enough integrity checks on the data it's just read, and ide-scsi
happens to make things slow enough for errors to not occur?
Shooting in the dark,
--
Joshua Kwan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 948 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-06 8:06 ` Joshua Kwan
@ 2006-01-06 23:25 ` Sebastian
2006-01-06 23:30 ` Mark Knecht
0 siblings, 1 reply; 33+ messages in thread
From: Sebastian @ 2006-01-06 23:25 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
Hi all!
On Fri, Jan 06, 2006 at 12:06:15AM -0800, Joshua Kwan wrote:
> Hi Sebastian,
>
> On 01/03/2006 02:20 PM, Sebastian wrote:
> > The second series was ripped with deprecated ide-scsi emulation and yielded the
> > same results as EAC.
>
> What were you using? cdparanoia? cdda2wav? (Are there actually that many
> other options on Linux?)
I use cdparanoia.
>
> This may well be a userspace problem, where your ripping program doesn't
> perform enough integrity checks on the data it's just read, and ide-scsi
> happens to make things slow enough for errors to not occur?
>
I reripped the disc with ide-cd but now with read speed reduced to 2x.
Exactly the same md5sums as with ide-cd at full velocity.
> Shooting in the dark,
>
> --
> Joshua Kwan
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-06 23:25 ` Sebastian
@ 2006-01-06 23:30 ` Mark Knecht
2006-01-07 10:39 ` Sebastian
0 siblings, 1 reply; 33+ messages in thread
From: Mark Knecht @ 2006-01-06 23:30 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On 1/6/06, Sebastian <sebastian_ml@gmx.net> wrote:
> Hi all!
> On Fri, Jan 06, 2006 at 12:06:15AM -0800, Joshua Kwan wrote:
> > Hi Sebastian,
> >
> > On 01/03/2006 02:20 PM, Sebastian wrote:
> > > The second series was ripped with deprecated ide-scsi emulation and yielded the
> > > same results as EAC.
> >
> > What were you using? cdparanoia? cdda2wav? (Are there actually that many
> > other options on Linux?)
> I use cdparanoia.
Try cdparanoia -Bvz
This will cause the rip to be extremely careful and make sure
everything is exactly right. It works well for me and was recommended
by someone I trust. I hop it works for you..
Cheers,
Mark
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-06 23:30 ` Mark Knecht
@ 2006-01-07 10:39 ` Sebastian
2006-01-07 10:56 ` Jens Axboe
0 siblings, 1 reply; 33+ messages in thread
From: Sebastian @ 2006-01-07 10:39 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]
Hi everybody,
On Fr, Jan 06, 2006 at 03:30:47 -0800, Mark Knecht wrote:
> On 1/6/06, Sebastian <sebastian_ml@gmx.net> wrote:
> > Hi all!
> > On Fri, Jan 06, 2006 at 12:06:15AM -0800, Joshua Kwan wrote:
> > > Hi Sebastian,
> > >
> > > On 01/03/2006 02:20 PM, Sebastian wrote:
> > > > The second series was ripped with deprecated ide-scsi emulation and yielded the
> > > > same results as EAC.
> > >
> > > What were you using? cdparanoia? cdda2wav? (Are there actually that many
> > > other options on Linux?)
> > I use cdparanoia.
>
> Try cdparanoia -Bvz
>
> This will cause the rip to be extremely careful and make sure
> everything is exactly right. It works well for me and was recommended
> by someone I trust. I hop it works for you..
>
> Cheers,
> Mark
>
I used cdparanoia -BzX -O48 for every rip.
Just to be clear, I'm not writing to this list because I have problems
with an application. :) Rather I like to know where to fix this problem, in
kernelland or userspace, like, should I start getting into cdparanoia or
reading the o'Reilly book about kernel drivers?
Thanks
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-07 10:39 ` Sebastian
@ 2006-01-07 10:56 ` Jens Axboe
2006-01-07 11:00 ` Jens Axboe
[not found] ` <20060107112443.GA18749@section_eight.mops.rwth-aachen.de>
0 siblings, 2 replies; 33+ messages in thread
From: Jens Axboe @ 2006-01-07 10:56 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On Sat, Jan 07 2006, Sebastian wrote:
> Hi everybody,
>
> On Fr, Jan 06, 2006 at 03:30:47 -0800, Mark Knecht wrote:
> > On 1/6/06, Sebastian <sebastian_ml@gmx.net> wrote:
> > > Hi all!
> > > On Fri, Jan 06, 2006 at 12:06:15AM -0800, Joshua Kwan wrote:
> > > > Hi Sebastian,
> > > >
> > > > On 01/03/2006 02:20 PM, Sebastian wrote:
> > > > > The second series was ripped with deprecated ide-scsi emulation and yielded the
> > > > > same results as EAC.
> > > >
> > > > What were you using? cdparanoia? cdda2wav? (Are there actually that many
> > > > other options on Linux?)
> > > I use cdparanoia.
> >
> > Try cdparanoia -Bvz
> >
> > This will cause the rip to be extremely careful and make sure
> > everything is exactly right. It works well for me and was recommended
> > by someone I trust. I hop it works for you..
> >
> > Cheers,
> > Mark
> >
> I used cdparanoia -BzX -O48 for every rip.
> Just to be clear, I'm not writing to this list because I have problems
> with an application. :) Rather I like to know where to fix this problem, in
> kernelland or userspace, like, should I start getting into cdparanoia or
> reading the o'Reilly book about kernel drivers?
I missed most of this thread, please don't dump people from the cc list!
Can you put one of the tracks somewhere where I can reach them? Just one
of the EAC/ide-scsi ripped vs the ide-cd version. You should probably
just privately mail me, we don't want to encourage music piracy :-)
--
Jens Axboe
^ permalink raw reply [flat|nested] 33+ messages in thread* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-07 10:56 ` Jens Axboe
@ 2006-01-07 11:00 ` Jens Axboe
2006-01-07 11:53 ` Sebastian
[not found] ` <20060107112443.GA18749@section_eight.mops.rwth-aachen.de>
1 sibling, 1 reply; 33+ messages in thread
From: Jens Axboe @ 2006-01-07 11:00 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On Sat, Jan 07 2006, Jens Axboe wrote:
> On Sat, Jan 07 2006, Sebastian wrote:
> > Hi everybody,
> >
> > On Fr, Jan 06, 2006 at 03:30:47 -0800, Mark Knecht wrote:
> > > On 1/6/06, Sebastian <sebastian_ml@gmx.net> wrote:
> > > > Hi all!
> > > > On Fri, Jan 06, 2006 at 12:06:15AM -0800, Joshua Kwan wrote:
> > > > > Hi Sebastian,
> > > > >
> > > > > On 01/03/2006 02:20 PM, Sebastian wrote:
> > > > > > The second series was ripped with deprecated ide-scsi emulation and yielded the
> > > > > > same results as EAC.
> > > > >
> > > > > What were you using? cdparanoia? cdda2wav? (Are there actually that many
> > > > > other options on Linux?)
> > > > I use cdparanoia.
> > >
> > > Try cdparanoia -Bvz
> > >
> > > This will cause the rip to be extremely careful and make sure
> > > everything is exactly right. It works well for me and was recommended
> > > by someone I trust. I hop it works for you..
> > >
> > > Cheers,
> > > Mark
> > >
> > I used cdparanoia -BzX -O48 for every rip.
> > Just to be clear, I'm not writing to this list because I have problems
> > with an application. :) Rather I like to know where to fix this problem, in
> > kernelland or userspace, like, should I start getting into cdparanoia or
> > reading the o'Reilly book about kernel drivers?
>
> I missed most of this thread, please don't dump people from the cc list!
>
> Can you put one of the tracks somewhere where I can reach them? Just one
> of the EAC/ide-scsi ripped vs the ide-cd version. You should probably
> just privately mail me, we don't want to encourage music piracy :-)
One more question - when using ide-scsi, does it use the SG_IO ioctl to
rip cdda, or does it use CDROMREADAUDIO like I'm assuming it does with
ide-cd? Is there a way to force SG_IO usage with a given device in
cdparanoia? If so, please try ide-cd with SG_IO usage instead.
--
Jens Axboe
^ permalink raw reply [flat|nested] 33+ messages in thread* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-07 11:00 ` Jens Axboe
@ 2006-01-07 11:53 ` Sebastian
2006-01-07 11:57 ` Jens Axboe
0 siblings, 1 reply; 33+ messages in thread
From: Sebastian @ 2006-01-07 11:53 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
On Sa, Jan 07, 2006 at 12:00:04 +0100, Jens Axboe wrote:
>
> One more question - when using ide-scsi, does it use the SG_IO ioctl to
> rip cdda, or does it use CDROMREADAUDIO like I'm assuming it does with
> ide-cd? Is there a way to force SG_IO usage with a given device in
> cdparanoia? If so, please try ide-cd with SG_IO usage instead.
>
There's one reference in cdparanoia to CDROMREADAUDIO, none at all to SG_IO:
interface/cooked_interface.c line 89:
do {
if((err=ioctl(d->ioctl_fd, CDROMREADAUDIO, &arg))){
if(!d->error_retry)return(-7);
switch(errno){
...
http://svn.xiph.org/trunk/cdparanoia/interface/cooked_interface.c
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread* Re: Digital Audio Extraction with ATAPI drives far from perfect
2006-01-07 11:53 ` Sebastian
@ 2006-01-07 11:57 ` Jens Axboe
0 siblings, 0 replies; 33+ messages in thread
From: Jens Axboe @ 2006-01-07 11:57 UTC (permalink / raw)
To: Sebastian; +Cc: linux-kernel
On Sat, Jan 07 2006, Sebastian wrote:
> On Sa, Jan 07, 2006 at 12:00:04 +0100, Jens Axboe wrote:
> >
> > One more question - when using ide-scsi, does it use the SG_IO ioctl to
> > rip cdda, or does it use CDROMREADAUDIO like I'm assuming it does with
> > ide-cd? Is there a way to force SG_IO usage with a given device in
> > cdparanoia? If so, please try ide-cd with SG_IO usage instead.
> >
>
> There's one reference in cdparanoia to CDROMREADAUDIO, none at all to SG_IO:
>
> interface/cooked_interface.c line 89:
>
> do {
> if((err=ioctl(d->ioctl_fd, CDROMREADAUDIO, &arg))){
> if(!d->error_retry)return(-7);
> switch(errno){
> ...
>
> http://svn.xiph.org/trunk/cdparanoia/interface/cooked_interface.c
(please, don't drop me from the cc list!!)
it might be using the older sg interface, opening read/write to /dev/sgX
char devices directly. In which case you can't test it with ide-cd,
sadly.
--
Jens Axboe
^ permalink raw reply [flat|nested] 33+ messages in thread
[parent not found: <20060107112443.GA18749@section_eight.mops.rwth-aachen.de>]
end of thread, other threads:[~2006-01-10 23:04 UTC | newest]
Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-03 22:20 Digital Audio Extraction with ATAPI drives far from perfect Sebastian
2006-01-04 9:20 ` Jens Axboe
2006-01-04 9:24 ` Jens Axboe
2006-01-04 15:08 ` Mark Lord
2006-01-04 15:13 ` Jens Axboe
2006-01-04 15:50 ` Sebastian
2006-01-04 19:36 ` Alistair John Strachan
2006-01-04 21:54 ` Sebastian
2006-01-06 13:39 ` jerome lacoste
2006-01-05 6:43 ` Sebastian
2006-01-06 8:06 ` Joshua Kwan
2006-01-06 23:25 ` Sebastian
2006-01-06 23:30 ` Mark Knecht
2006-01-07 10:39 ` Sebastian
2006-01-07 10:56 ` Jens Axboe
2006-01-07 11:00 ` Jens Axboe
2006-01-07 11:53 ` Sebastian
2006-01-07 11:57 ` Jens Axboe
[not found] ` <20060107112443.GA18749@section_eight.mops.rwth-aachen.de>
[not found] ` <20060107115340.GW3389@suse.de>
[not found] ` <20060107115449.GB20748@section_eight.mops.rwth-aachen.de>
[not found] ` <20060107115947.GY3389@suse.de>
2006-01-07 14:08 ` Sebastian
2006-01-07 14:22 ` Jens Axboe
2006-01-07 16:06 ` Sebastian
2006-01-07 17:44 ` Brad Campbell
2006-01-07 18:02 ` Sebastian
2006-01-07 18:39 ` Lee Revell
2006-01-07 18:45 ` Brad Campbell
2006-01-09 9:30 ` Jens Axboe
2006-01-09 9:49 ` Sebastian
2006-01-09 10:03 ` Jens Axboe
2006-01-10 22:43 ` Rene Herman
2006-01-10 22:52 ` Lee Revell
2006-01-10 23:05 ` Rene Herman
2006-01-07 17:24 ` Sebastian
2006-01-07 19:18 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®