From: Douglas Gilbert <dougg@torque.net>
To: christophe.varoqui@free.fr
Cc: linux-scsi@vger.kernel.org
Subject: Re: [sg3_utils] report target group
Date: Wed, 29 Dec 2004 23:21:06 +1000 [thread overview]
Message-ID: <41D2AF42.5050007@torque.net> (raw)
In-Reply-To: <1104307397.41d264c5c5d3c@imp5-q.free.fr>
christophe.varoqui@free.fr wrote:
>>I think the condition should be 'TPGS > 0' in a standard
>>INQUIRY response (not necessarily the SCCS bit set).
>>
>
> Right, I didn't noticed the ALUA field got renamed to TPGS.
>
>
>>Included in sg3_utils-1.12 beta which can be found at
>>http://www.torque.net/sg [in the news section]. I made
>>a few superficial changes. None of my hardware sets
>>'TPGS > 0' so I hope someone who has such hardware
>>can test it.
>>
>
> I don't have the hardware either.
>
> Line 206 & 214 in sg_rtg.c the payload offset might be 4 instead of 6, according
> to the spec (page 216).
Christophe,
I have uploaded a new beta of the sg3_utils v1.12
tarball. The response decoding in sg_rtg has been
reworked.
If the '#define TEST_CODE" line is uncommented in
sg_rtg.c then the utility will decode a dummy response
(constructed from the SPC-3 v21b response description).
I also took some liberties with the formatting.
Doug Gilbert
next prev parent reply other threads:[~2004-12-29 13:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-28 11:29 [sg3_utils] report target group christophe.varoqui
2004-12-28 11:32 ` christophe.varoqui
2004-12-28 12:55 ` christophe.varoqui
2004-12-29 3:00 ` Douglas Gilbert
2004-12-29 8:03 ` christophe.varoqui
2004-12-29 13:21 ` Douglas Gilbert [this message]
2004-12-29 13:43 ` christophe.varoqui
2004-12-30 5:10 ` Douglas Gilbert
2004-12-30 14:00 ` christophe.varoqui
2004-12-30 14:12 ` christophe.varoqui
2005-01-01 4:14 ` Douglas Gilbert
2005-01-01 12:57 ` christophe varoqui
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=41D2AF42.5050007@torque.net \
--to=dougg@torque.net \
--cc=christophe.varoqui@free.fr \
--cc=linux-scsi@vger.kernel.org \
/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