We've modified the OpenSolaris b91 iscsitgtd to include the iSCSI port
number in the TargetAddress response to work with the HP-UX 11.23/IA
initiator. Now on to the next problem. A snoop of the traffic for the
HP-UX "ioscan -H 255" command which scans the target for a list of
devices is available from:
  ftp://support.thewrittenword.com/outgoing/ioscan-snoop
This command takes 4m to run, and doesn't leave a connection to the
target when complete. Seems the network traffic is:
  (initiator) SCSI: Inquiry LUN: 0x00
    (target) SCSI: Data in LUN: 0x00 (Inquriy Response Data)
    (target) SCSI: Response LUN: 0x00 (Inquriy) (Good)
  (initiator) SCSI: Inquiry LUN: 0x01
    (target) SCSI Response (Check Condition) LUN:0x01
    The Wireshark dump of this response is:
      iSCSI (SCSI Response)
          Opcode: SCSI Response (0x21)
          Flags: 0x82
              ...0 .... = o: No overflow of read part of bi-directional command
              .... 0... = u: No underflow of read part of bi-directional command
              .... .0.. = O: No residual overflow occurred
              .... ..1. = U: Residual underflow occurred
          Response: Command completed at target (0x00)
          Status: Check Condition (0x02)
          TotalAHSLength: 0x00
          DataSegmentLength: 0x00000016
          InitiatorTaskTag: 0x01a402fe
          StatSN: 0x00000009
          ExpCmdSN: 0x00000009
          MaxCmdSN: 0x00000047
          ExpDataSN: 0x00000000
          BidiReadResidualCount: 0x00000000
          ResidualCount: 0x00000000
          Request in: 78
          Time from request: 0.000085000 seconds
          SenseLength: 0x0014
      SCSI: SNS Info
          [LUN: 0x0001]
          Valid: 0
          .111 0000 = SNS Error Type: Current Error (0x70)
          Filemark: 0, EOM: 0, ILI: 0
          .... 0101 = Sense Key: Illegal Request (0x05)
          Sense Info: 0x00000000
          Additional Sense Length: 0
          Command-Specific Information: 00000000
          Additional Sense Code+Qualifier: Unknown (0x2009)
          Field Replaceable Unit Code: 0x00
          .. = SKSV: False
          Sense Key Specific: 000000
  (initiator) SCSI: Inquiry LUN: 0x02
    (target) SCSI Response (Check Condition) LUN:0x02
    Wireshark dump of this response is the same as for LUN:0x01
  (initiator) SCSI: Inquiry LUN: 0x03
    (target) SCSI Response (Check Condition) LUN:0x03
    Wireshark dump of this response is the same as for LUN:0x01
  ...

Is the HP-UX initiator doing something wrong?

-- 
albert chin ([EMAIL PROTECTED])
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to