On Mon, 2008-02-25 at 20:05 +0100, Gerold Jury wrote:
> I have two DVD drives, one connected to the SATA port (LG) the other to the
> IDE port (PHILIPS) of a via chipset.
> They are driven by VIA SATA support (SATA_VIA) and VIA PATA support
> When I write an iso image to the drive on the SATA port /dev/sr0 it has some
> extra bytes on disk which make the disk unreadable.
> Writing to the IDE drive /dev/sr1 works well.
I take it kernels < 2.6.23 are known to be functional? If so, a git
bisect should be really easy if you're a git user _and_ the breakage is
in drivers/ata/sata_via.c, there are only two meaningful commits
homer:..git/linux-2.6 # git bisect start -- drivers/ata/sata_via.c
homer:..git/linux-2.6 # git bisect good v2.6.22
homer:..git/linux-2.6 # git bisect bad v2.6.23
Bisecting: 2 revisions left to test after this
A full bisection would take quite a few more builds.
(I haven't noticed anybody else reporting similar troubles, and quite a
lot of time has passed since 2.6.22 was released.. that makes me
suspicious of your hardware)