Re: Digital Audio Extraction with ATAPI drives far from perfect

From: Sebastian
Date: Mon Jan 09 2006 - 04:47:35 EST


On Mo, Jan 09, 2006 at 10:30:25 +0100, Jens Axboe wrote:
> Sebastian, care to try one more thing? Patch your kernel with this
> little patch and try ripping a known "faulty" track again _not_ using
> SG_IO. See if that produces the same faulty results again, or if it
> actually works.
>
> diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
> index 1539603..2e44d81 100644
> --- a/drivers/cdrom/cdrom.c
> +++ b/drivers/cdrom/cdrom.c
> @@ -426,7 +426,7 @@ int register_cdrom(struct cdrom_device_i
> cdi->exit = cdrom_mrw_exit;
>
> if (cdi->disk)
> - cdi->cdda_method = CDDA_BPC_FULL;
> + cdi->cdda_method = CDDA_BPC_SINGLE;
> else
> cdi->cdda_method = CDDA_OLD;
>
>
> --
> Jens Axboe
>
Hi Jens,

I applied your patch, recompiled the kernel, rebooted and recompiled
cdparanoia without the Red Hat patches. Extracting the first track of my
test cd the result was the same as without the kernel patch with ide-cd
using the cooked interface (md5 e8319ccc20d053557578b9ca3eb368dd).

Sorry :)

Sebastian
--
"When the going gets weird, the weird turn pro." (HST)

Attachment: pgp00000.pgp
Description: PGP signature