Re: Bugs(?) in the cdrom code

Eric Lammerts (eric@scintilla.utwente.nl)
Mon, 27 Sep 1999 11:22:16 +0200 (CEST)


On Mon, 27 Sep 1999, DAVID BALAZIC wrote:

> linux 2.2.12
>
> Possible bug in ide-cd.c ( ver. 4.53 ).
> The capacity as reported by cdrom_read_capacity() is one block too short for
> audio CDs on my system. ( Teac CD-532E-B as hdc on PIIX4 , Abit BH-6 board )

I had the same problem. It is caused by the fact that the start of the
lead-out area in the toc is one higher than the value returned by
cdrom_read_capacity(). I sent a patch to Jens Axboe a while ago to take
this into account but I haven't had a reaction from him.

Eric

-- 
Eric Lammerts <eric@scintilla.utwente.nl>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/