CONTROL Mode Page - Which document should I read? spc-2 or scp-5?

Felipe Gutierrez felipe at usto.re
Wed Apr 22 05:57:05 PDT 2015


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

hummm, I didn't know that about wireshark. Thanks.
What do you think if I try to see the connection of vmware initiator with
freenas target with tcpdump. Since vmware is connecting to freenas I can
know what is wrong with my target.
On Tue, Apr 21, 2015 at 5:58 PM, ronnie sahlberg <ronniesahlberg at gmail.com>
wrote:
> You should probably use SPC4 or SPC5. SPC-2 is very old.
> You can specify which exact version you report in the standard inquiry
> page that you return to the initiator.
>
>
> For wireshark, don't look trust it too much when it says SPC-2. The
> wireshark SCSI dissector was written a long long time ago and has not
> been updated regarding these mode pages for a long time.
> I don;t even know if wireshark even tries to check which version of
> SPC is in play.
> I think it might actually have SPC-2 hardcoded.
>
>
>
> On Tue, Apr 21, 2015 at 1:41 PM, Felipe Gutierrez <felipe at usto.re> wrote:
> > When I click http://www.t10.org/cgi-bin/ac.pl?t=f&f=spc2r20.pdf to fill
> > shows up "Resquested URL not found". However, I found the doc at other
> site.
> >
> > How about the other questions I made. Am I in a right way?
> > thanks Frederick
> >
> > On Tue, Apr 21, 2015 at 5:29 PM, Knight, Frederick
> > <Frederick.Knight at netapp.com> wrote:
> >>
> >> Fill out the registration form and give it your e-mail address.  That
> will
> >> allow you access to the document.
> >>
> >>
> >>
> >> From: owner-t10 at t10.org [mailto:owner-t10 at t10.org] On Behalf Of Felipe
> >> Gutierrez
> >> Sent: Tuesday, April 21, 2015 10:08 AM
> >> To: t10 at t10.org
> >> Subject: CONTROL Mode Page - Which document should I read? spc-2 or
> scp-5?
> >>
> >>
> >>
> >> Hi, I am new in SCSI commands, so I would like a help to see if I am
> >> understanding well these messagens.
> >>
> >>
> >>
> >> My first scenario is at windows and I am analyzing Mode Sense (6)
> >> messagens. With wireshark I can see that the initiator (83) sends a
> message
> >> Mode Sense(6) and the target (117) respond with a message Data In LUN
> (Mode
> >> Sense (6) Respond Data) and after that there is another respond from the
> >> target (117) Respond LUN (Mode Sense(6) Good), which means the target is
> >> responding well to the initiator. I presume.... Is that right?
> >>
> >>
> >>
> >> 14724  38.244115000 10.0.1.83	   50501  50501  iSCSI	10.0.1.117
> >> iscsi-target	102	 SCSI: Mode Sense(6) LUN: 0x00
> >>
> >> 14725  38.255535000 10.0.1.117	  iscsi-target	     3260    iSCSI
> >> 10.0.1.83	       50501  126      SCSI: Data In LUN: 0x00 (Mode Sense(6)
> >> Response Data)
> >>
> >> 14726  38.255616000 10.0.1.117	  iscsi-target	     3260    iSCSI
> >> 10.0.1.83	       50501  102      SCSI: Response LUN: 0x00 (Mode
> Sense(6))
> >> (Good)
> >>
> >>
> >>
> >> My second scenario is where I am trying to implement the code. I connect
> >> from vmware initiator (61) ant it send a message Mode Sense(6) and the
> >> target does not seem to respond. After that there is another message
> from
> >> the initiator Read(10) LUN. Is the right?
> >>
> >>
> >>
> >> 43028  166.062627000	    10.0.1.61	      60209  60209  iSCSI
> >> 10.0.1.117       iscsi-target	 114	  SCSI: Mode Sense(6) LUN:
> 0x13
> >>
> >> 53657  194.869915000	    10.0.1.61	      25713  25713  iSCSI
> >> 10.0.1.117       iscsi-target	 114	  SCSI: Read(10) LUN: 0x13
> (LBA:
> >> 0x00000000, Len: 1)
> >>
> >>
> >>
> >> I am implementing the Mode Sense(6) - Control Mode Page as says spc5
> >> http://www.t10.org/cgi-bin/ac.pl?t=f&f=spc5r03.pdf, but looking at
> wireshark
> >> the SCSI CDB Mode Sense(6) says "..00 1010 = SPC-2 Page Code: Control
> >> (0x0a)" SPC-2. I think it is why my implementation is not sending the
> >> correct message to the initiator. Is that right?
> >>
> >>
> >>
> >> looking at the t10.org I don't have access to this document
> >> (http://www.t10.org/drafts.htm). If I am at the right path could please
> >> anyone send to me this document?
> >>
> >>
> >>
> >> And... if you have other tips that will help.
> >>
> >>
> >>
> >> Thanks a lot.
> >>
> >> Felipe
> >>
> >>
> >
> >
>



More information about the T10 mailing list