On Mon, Jan 09, 2006 at 10:23:22PM -0500, Alan Stern wrote: > On Mon, 9 Jan 2006, Matthew Dharm wrote: > > > This problem really breaks down into two different cases: > > 1) UFI devices which do Bad Things(tm) when probed for multi-LUN > > 2) UFI devices which answer on all LUNs when probed > > > > #2 is more common than #1 -- I think there may be a way to fix this in the > > probing code. > > How could you detect #2 while probing? Or to put it another way, how > could you tell that two INQUIRY responses actually refer to the same LUN > and not to two different but very similar LUNs?
No no... you don't try to figure out when one LUN is an alias for
another...
A long time ago, I noticed a quirk of the UFI specification in regards to
one of the options for how to indicate a LUN isn't there. Something about
a special PDT, I think, in the INQUIRY respose. I don't recall the
details, but I do recall thinking something along the lines of "that's
odd.. and it's going to confuse the SCSI core."
If I can find some time to search for that oddity of spec, then modify the
UFI protocol handler to translate that oddity into a result code the SCSI
core can understand, you can close the #2 case.
Matt
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
What the hell are you?
-- Pitr to Dust Puppy
User Friendly, 12/3/1997
pgpybBWNSMho8.pgp
Description: PGP signature
