Re: "Fix ATAPI transfer lengths" causes CD writing regression

From: Alan Cox
Date: Tue Oct 30 2007 - 15:00:30 EST


> The nutty app I was using for burning is Brasero, a GNOME app which does
> some SG_IO directly with the drive. (I guess it has some bad error
> handling and doesn't realise when some I/O path has failed)

I would guess Brasero is issuing a command with the length of data
wrongly set. In the old code that might well just produce errors of the
"Umm wtf is this data left over for ?", with the new code the drive is
likely to change state as it knows the transfer size and that will
*correctly* cause an HSM error and what follows.

Now the question is who gets the length wrong - Brasero or the ata
translation code in libata

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