[lkml]   [2001]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PATCH: scsi_scan.c: emulate windows behavior
Hi Rob.

> Getting more than 36 bytes should not be a problem for any device.
> The root problem seems to be that 255 is an odd number. On
> Wide-SCSI, a lot of devices have difficulty handling odd byte counts
> as they have to use additional messaging to flag the residue in the
> last 16-bit transfer. Also, the IDE-SCSI layer has trouble, as the
> IDE spec doesn't allow odd byte transfers at all. I've experienced
> issues with IDE devices that had to have their firmware patched just
> to deal with the Linux odd-byte request.

> Maybe a better change would be to use 64 or 128 byte requests. Your
> thoughts?

Probably the best option would be to tweak this to 256 if that is
available, or 252 if not - I seem to remember there's at least one
SCSI drive that can't handle other than multiples of 4 bytes.

Best wishes from Riley.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.057 / U:2.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site