Re: Inquiry data and emulated SG devices

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Garzik
Date: Wednesday, October 17, 2007 - 6:31 pm

Robert Hancock wrote:

Via the this-doesnt-really-matter-but-it-should-be-noted department:

According to the latest on t10.org, MMC retroactively permitted SCSI 
version to be zero, for MMC-compliant USB and ATAPI devices.



The above tweak is entirely software->software communication...  as the 
comment you quoted notes, it's just a signal to the SCSI midlayer.

At the moment, the SCSI midlayer assumes any device that reports scsi 
version as less than 2 is forced to SCSI version 2.  Ultimately that's 
incorrect behavior for all ATAPI devices (and later MMC revisions).

At the time, libata simply worked around this SCSI buglet in its own 
code, since that was easier than auditing all SCSI code paths to ensure 
new ATAPI/USB MMC logic does not break ancient devices.

But if someone is motivated enough to revisit this...

	Jeff


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Inquiry data and emulated SG devices, Robert Hancock, (Wed Oct 17, 6:22 pm)
Re: Inquiry data and emulated SG devices, Jeff Garzik, (Wed Oct 17, 6:31 pm)
Re: Inquiry data and emulated SG devices, Mathieu Fluhr, (Thu Oct 18, 2:59 am)
Re: Inquiry data and emulated SG devices, Jeff Garzik, (Thu Oct 18, 3:06 am)
Re: Inquiry data and emulated SG devices, James Bottomley, (Thu Oct 18, 3:57 am)
Re: Inquiry data and emulated SG devices, Mathieu Fluhr, (Thu Oct 18, 4:57 am)
Re: Inquiry data and emulated SG devices, James Bottomley, (Thu Oct 18, 5:13 am)
Re: Inquiry data and emulated SG devices, Mathieu Fluhr, (Thu Oct 18, 5:44 am)