Re: CD writing in future Linux (stirring up a hornets' nest)
From: Joerg Schilling
Date: Tue Feb 21 2006 - 05:36:11 EST
"D. Hazelton" <dhazelton@xxxxxxxxx> wrote:
> Joerg, I've been thinking about your report about Linux munging CDB's sent to
> certian ATAPI devices. While reading the MMC-5 spec again today (my memory of
> it was starting to fail and I felt I had best be on top of it in this
> discussion) a statement made about sending SCSI commands to ATAPI devices
> caught me.
>
> ATAPI command packets are fixed at a 12 byte size. Is it possible you tried to
> send a CDB in excess of that fixed size re: those drives that get a munged
> CDB?
I did write some time ago that the most probable cause for the Linux bug is that
Linux is sending uninitialized data for the amount of bytes that pad to 12 byte.
Libscg is the first application ever, that always correctly deals with CDB size
as it started to do so in August 1986 which is before any other SCSI generic
transport has been available.
Jörg
--
EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin
js@xxxxxxxxxxxxxxx (uni)
schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-
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/