What to do with ModePageCode.CONTROL_MODE_PAGE of SCSI ModeSenseStage?

Felipe Gutierrez felipe at usto.re
Wed Apr 15 10:17:31 PDT 2015


Formatted message: <a href="http://www.t10.org/cgi-bin/ac.pl?t=r&f=r1504157_f.htm">HTML-formatted message</a>

thanks Rechard, I am going to read this.
On Wed, Apr 15, 2015 at 2:07 PM, Richard Deglin-SSI <
r.deglin at ssi.samsung.com> wrote:
>  I suggest you go get a copy of SPC4r37.pdf.
>
>
>
> Rich Deglin
> Principal Engineer and Firmware Architect, Enterprise Product Development
>
> Samsung Semiconductor Inc.
> Office   408 544 4204
> Cell	      408 410 6584
>
>
>
> *From:* owner-t10 at t10.org [mailto:owner-t10 at t10.org] *On Behalf Of *Felipe
> Gutierrez
> *Sent:* Wednesday, April 15, 2015 9:50 AM
> *To:* Patrick Dirks
> *Cc:* Paul Suhler; t10 at t10.org
> *Subject:* Re: What to do with ModePageCode.CONTROL_MODE_PAGE of SCSI
> ModeSenseStage?
>
>
>
> Hi all,
>
>
>
> I am trying to find the right document for CONTROL MODE PAGE SCSI
> function. I am basing my search at the CACHING MODE PAGE which I found here
> ftp://ftp.t10.org/t10/document.05/05-239r0.pdf
>
>
>
> But I do not know if this document is the right to follow, since there is
> a column "SATType" at caching and "changeable" at Control mode page
>
> ftp://ftp.t10.org/t10/document.05/05-359r1.pdf
>
>
>
>
>
>
>
> On Fri, Apr 10, 2015 at 3:12 PM, Patrick Dirks <pdirks at vmware.com> wrote:
>
> ... and when you say "connect from vmware" do you mean from inside a VM
> running on ESX?  With an RDM, or pass-through RDM?  Or in some other way?
>
>
>
> My reason for asking is that a VM sees a virtualized SCSI target that has
> no direct connection to the underlying device, although RDMs (Raw Device
> Mappings, for those not familiar with vSphere) have varying degrees of
> pass-through abilities.
>
>
>
> Thanks,
>
> -Patrick Dirks.
>
>
>
> On Apr 10, 2015, at 10:34 AM, Felipe Gutierrez <felipe at usto.re> wrote:
>
>
>
>  hello Paul, thanks for the answer.
>
>
>
> I am starting to develop this feature. Do you mind if I ask you the point
> at the drafts I can see the parameters to execute at the iSCSI interface? I
> can see the "7.5.8 Control mode page" chapter, but I don't know how to put
> it in the code.....
>
>
>
> On Fri, Apr 10, 2015 at 12:54 PM, Paul Suhler <Paul.Suhler at hgst.com>
> wrote:
>
> I would like to add that Wikipedia may not have the current definition of
> the page.  I would suggest using a draft from the T10 web site, either:
>
>
>
> ·	     SPC-4 (the final draft is at:
> http://www.t10.org/cgi-bin/ac.pl?t=f&f=spc4r37.pdf
>
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.t10.org_cgi-2Dbin_ac
.pl-3Ft-3Df-26f-3Dspc4r37.pdf&d=AwMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMN
tXt-uEs&r=ZR7kEvKQeu_N_WWCpy7b1lxcaFj1rHJjhJYF6snO4_w&m=W_qTq7zZm-mvXvtRnQfWH
lY-qu5ejgYbNwo_ykDJOqI&s=j6dfCrFnnJiRWoKP7PuEdX9quLAuDEgXOV3IiFZKFAI&e=>),
> or
>
> ·	     SPC-5 (the current draft is at:
> http://www.t10.org/cgi-bin/ac.pl?t=f&f=spc5r03.pdf
>
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.t10.org_cgi-2Dbin_ac
.pl-3Ft-3Df-26f-3Dspc5r03.pdf&d=AwMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMN
tXt-uEs&r=ZR7kEvKQeu_N_WWCpy7b1lxcaFj1rHJjhJYF6snO4_w&m=W_qTq7zZm-mvXvtRnQfWH
lY-qu5ejgYbNwo_ykDJOqI&s=CPP-oh_WIzf9iux0lKvZWIdYQCzpaZa5OjnfG_1eIf8&e=>
> )
>
>
>
> Good luck,
>
>
>
> Paul
>
>
>
> *From:* owner-t10 at t10.org [mailto:owner-t10 at t10.org] *On Behalf Of *Knight,
> Frederick
> *Sent:* Friday, April 10, 2015 6:24 AM
> *To:* Felipe Gutierrez; t10 at t10.org
> *Subject:* RE: What to do with ModePageCode.CONTROL_MODE_PAGE of SCSI
> ModeSenseStage?
>
>
>
> MODE PAGEs are optional.  So this could be viewed as a host bug (they do
> not support compliant products), or as an additional requirement that
> VMware places on a SCSI device above and beyond what the standard requires
> (several hosts have those kinds of requirements).
>
>
>
> You could always try implementing the CONTROL MODE PAGE with all zeros (in
> bytes 2-11).	As for specifically which fields VMware cares about, and what
> values they expect/require in those fields – you’ll have to have VMware
> answer that part.
>
>
>
>		  Fred Knight
>
>
>
>
>
> *From:* owner-t10 at t10.org [mailto:owner-t10 at t10.org <owner-t10 at t10.org>]
*On
> Behalf Of *Felipe Gutierrez
> *Sent:* Thursday, April 09, 2015 1:59 PM
> *To:* t10 at t10.org; Felipe Gutierrez
> *Subject:* What to do with ModePageCode.CONTROL_MODE_PAGE of SCSI
> ModeSenseStage?
>
>
>
> Hi,
>
>
>
> I am using a iSCSI target write in Java (jscsi.org
>
<https://urldefense.proofpoint.com/v2/url?u=http-3A__jscsi.org&d=AwMFaQ&c=Sqc
l0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=ZR7kEvKQeu_N_WWCpy7b1lxcaFj1rHJjhJ
YF6snO4_w&m=W_qTq7zZm-mvXvtRnQfWHlY-qu5ejgYbNwo_ykDJOqI&s=zQHyv5pfvOHV0DtIe91
4-SZtPGbDs4E8DckKceCqr9o&e=>).
> I can connect from microsoft windows initiator and linux open-iscsi
> initiator. My problem is when I try to connect from vmware. I can discovery
> my iqn, but when I try to format the disk the target doesn't recognize the
> message CONTROL_MODE_PAGE(0x0a, 0x00)
> http://en.wikipedia.org/wiki/SCSI_mode_page
>
<https://urldefense.proofpoint.com/v2/url?u=http-3A__en.wikipedia.org_wiki_SC
SI-5Fmode-5Fpage&d=AwMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=ZR7
kEvKQeu_N_WWCpy7b1lxcaFj1rHJjhJYF6snO4_w&m=W_qTq7zZm-mvXvtRnQfWHlY-qu5ejgYbNw
o_ykDJOqI&s=osWF30elMDtCb5X0BXHyuua_F1huKKQ9l9VCOwhL3OU&e=>
> (0Ah/00h).
>
>
>
> The target iscsi code is here
>
http://grepcode.com/file/repo1.maven.org/maven2/org.jscsi/target/2.5.2/org/js
csi/target/connection/stage/fullfeature/ModeSenseStage.java?av=f#143
>
<https://urldefense.proofpoint.com/v2/url?u=http-3A__grepcode.com_file_repo1.
maven.org_maven2_org.jscsi_target_2.5.2_org_jscsi_target_connection_stage_ful
lfeature_ModeSenseStage.java-3Fav-3Df-23143&d=AwMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiD
JAXVeAw-YihVMNtXt-uEs&r=ZR7kEvKQeu_N_WWCpy7b1lxcaFj1rHJjhJYF6snO4_w&m=W_qTq7z
Zm-mvXvtRnQfWHlY-qu5ejgYbNwo_ykDJOqI&s=8SLqCun7nDR60lnajSlvIHwsaMcnASkGn__eiy
PwMd4&e=>
>
>
>
> questions:
>
>
>
> 1 - Is there at vmware some parameter to disable the initiator send this
> message?
>
>
>
> 2 - If answer 1 is no, is there a manual to help me develop a code to this
> message?
>
>
>
> Thanks,
>
> Felipe
>
>
>
>
>
>
>



More information about the T10 mailing list