On Tue, Feb 21, 2006 at 07:53:28PM -0500, Douglas Gilbert wrote: > Stefan Richter wrote: > > > What I don't understand is why mode page 8 is still accessed in your > > log: http://bugzilla.kernel.org/attachment.cgi?id=7432&action=view > > (Log lines "command: Mode Sense (10): 5a 00 08 00 00 00 00 00 d9 00", > > "SCSI transfer size = 17d9" --- yeah, into a 512 Bytes big buffer, "sda: > > got wrong page".) > > Stefan, > That sounds familiar. My guess is that a MODE SENSE (6) > response is being returned for a MODE SENSE (10) cdb. > "sdparm -f" can decode that in some contexts. No. It's a broken bridge that replies to _everything_ with page 6 and doesn't return a header at all - not 4 bytes for MODE SENSE(6), not 8 bytes for MODE SENSE(10), *zero* bytes. Just the page 6 contents. So in place of block descriptor length (offsets 6 and 7) you get the part of page 6 body. Which is going to be bits 31..16 of size in blocks. And that's going to be 0x17bd in his case (203928MB/0.5KB/65536). - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html