On Wed, 2009-11-04 at 17:12 +0100, John Hughes wrote: > James Bottomley wrote: > > Could you tell me what the enclosure page 0 (supported diagnostic pages) > > and page 10 (additional information page that allows us to do the > > matching) say? I suspect the enclosure either doesn't support the page > > needed for the matching or there's some problem with the way the > > information is encoded. > > > Ok, here we go. (I wonder whether the "<<<additional: response too > short>>>" at the end of page 10 has something to do with the problem). Possibly ... that tends to indicate the enclosure data returned stopped in the middle of the actual specification ... although looking at the output this doesn't seem to be the case. The zeros at the end definitely indicate we have enough data, just that the expected termination doesn't seem to be present. > # sg_ses -p 0 /dev/sg17 > PROMISE 3U-SAS-16-D BP 0107 > enclosure services device > Supported diagnostic pages: > Supported diagnostic pages [0x0] > Configuration (SES) [0x1] > Enclosure status/control (SES) [0x2] > Threshold In/Out (SES) [0x5] > Enclosure busy (SES-2) [0x9] > Additional (device) element status (SES-2) [0xa] This may also be a problem. My enclosure returns page 7 as well. The traversal routine has special code to try to parse page 10 without a page 7 ... I don't think I actually ever tested that ... James -- To unsubscribe from this list: 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