From: James Bottomley <James.Bottomley@SteelEye.com>
To: Timothy Thelin <Timothy.Thelin@wdc.com>
Cc: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>,
t.schorpp@gmx.de, usb-storage@lists.one-eyed-alien.net,
linux-ide@vger.kernel.org,
Linux SCSI list <linux-scsi@vger.kernel.org>
Subject: RE: [usb-storage] [Merging ATA passthru] on integratingSMART/ATA-Security in usb-storage driver
Date: Fri, 04 Nov 2005 14:40:09 -0600 [thread overview]
Message-ID: <1131136809.3532.51.camel@mulgrave> (raw)
In-Reply-To: <CA45571DE57E1C45BF3552118BA92C9D69BF40@WDSCEXBECL03.sc.wdc.com>
On Fri, 2005-11-04 at 11:59 -0800, Timothy Thelin wrote:
> Irconically that was one of the solutions I was investigating
> first. Here is the usb mailing list discussion on it:
> http://marc.theaimsgroup.com/?t=112672009700004&r=1&w=2
OK, I think the assertion that just passing through the level as scsi0
"won't work" is wrong. Most of our checks for SCSI-2 are
if (xxx->scsi_level <= SCSI_2)
which catches scsi0 as well as scsi2. The length of commands is
actually separately settable in slave_configure, but by default we use
10 byte commands even for scsi2.
> In summary, the idea of making the scsi stack "level 0 aware" was
> suggested and rejected because usb devs want to keep promoting
> the devices to level 2 for various reaons. At the end of it
> they suggested using SG_FLAG_LUN_INHIBIT so that the usb device
> could stay level 2 yet vendor specific commands could get passed
> through un-touched. Neither of us knew that flag didn't work
> anymore, and after I wasn't able to get it to work, that
> other conversation I posted previously occured to figure out
> what was going on with SG_FLAG_LUN_INHIBIT.
Well ... before embarking on a massive programme to put this flag back
(or implement a "I say SCSI2 but I'm really not" blacklist flag), I'd
like proof that just passing SCSI_UNKNOWN as the level really won't work
(and is unfixable). I think it will turn out to be the simplest course
of action.
James
next prev parent reply other threads:[~2005-11-04 20:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 19:59 [usb-storage] [Merging ATA passthru] on integratingSMART/ATA-Security in usb-storage driver Timothy Thelin
2005-11-04 20:40 ` James Bottomley [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-11-07 22:50 Timothy Thelin
2005-11-07 18:57 [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security " Patrick Mansfield
[not found] ` <Pine.LNX.4.44L0.051107144956 0.5078-100000@iolanthe.rowland.org>
2005-11-07 20:47 ` Patrick Mansfield
2005-11-08 13:51 ` [usb-storage] [Merging ATA passthru] on integratingSMART/ATA-Security " Pat LaVarre
2005-11-07 18:53 Timothy Thelin
2005-11-04 18:30 [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security " Timothy Thelin
2005-11-04 23:46 ` Pete Zaitcev
2005-11-05 16:20 ` thomas schorpp
2005-11-05 18:01 ` [usb-storage] [Merging ATA passthru] on integratingSMART/ATA-Security " Pat LaVarre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1131136809.3532.51.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=Timothy.Thelin@wdc.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mdharm-scsi@one-eyed-alien.net \
--cc=t.schorpp@gmx.de \
--cc=usb-storage@lists.one-eyed-alien.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).