none
SCSI Compliance Test 2.0 (LOGO) test fails for Win7_x64. RRS feed

  • Question

  • I ran SCSI Compliance Test 2.0 (LOGO) test but it fails with error ''This device doesn't support the MODE SENSE (10) command. Skipping all remaining MODE SENSE (10) test cases. The Sense Key/ASC should be set to 05h/20h/00h for unsupported commands.''. On this machine SCSI Compliance Test passed. The test fails for Win7_x64 but it passes for Win8.1_x64 on same machine.

    This is what I got from logs:

    l   MODE SENSE (10) Basic Test: Checking to see if a simple MODE SENSE10 command on Page 0x3f will return GOOD status.

    l   READ CAPACITY (16) Basic Verification Test: The device must return GOOD (0x0) SCSI status and 8 bytes of parameter data describing the capacity and medium format of the block device to the data-in buffer.

    l   READ CAPACITY (16) Capacity Test: Send a READ CAPACITY command to check the reported block address. If the block address is greater than the READ CAPACITY 10 limit, ensure READ CAPACITY 10 block address is set to 0xFFFF_FFFF.

     

    Why the SCSI status is 0x2 instead of 0x0? Any suggestions?

    I have latest version of HCK and I tried apply filters but issue still exists. Below are the logs.

    Here is part of log:

    SCSI status is 0x2.
    Error: 0x0, Error 0x00000000
    Logging an error
    File=testsrc\driverstest\storage\wdk\scsicompliance\lib\core\policyscenario.cpp Line=213
    End: Fail, ASSERTION: READ CAPACITY (16) Basic Verification Test, TUID=, Repro=scsicompliance.exe  /device \\.\PhysicalDrive0 /verbosity 4  /scenario common /operation test 

    Policy: IF_IMPLEMENTED
    Unit test Policy: Test Implemented: CDB was detected to be implemented
    Start: ASSERTION: READ CAPACITY (16) Capacity Test, TUID=
    Description: Send a READ CAPACITY command to check the reported block address. If the block address is greater than the READ CAPACITY 10 limit, ensure READ CAPACITY 10 block address is set to 0xFFFF_FFFF.
    Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.11 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf
    Expectation: For block addresses greater than READ CAPACITY 10 can describe, the READ CAPACITY 10 block address is set to 0xFFFF_FFFF.
    Sending READ CAPACITY (16) command (0x9E) to device...
    Sending SCSI command to device.
    Read Capacity 16 Command:
     9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
    DeviceIoControl SUCCEEDED.
    SCSI status: 0x02
        (CHECK CONDITION)
    Sense bytes: 0x20
    Data bytes:  0x20

    == DONE ==============================================================
    SCSI status is 0x2.
    Error: 0x0, Error 0x00000000
    Logging an error
    File=testsrc\driverstest\storage\wdk\scsicompliance\lib\core\policyscenario.cpp Line=213
    End: Fail, ASSERTION: READ CAPACITY (16) Capacity Test, TUID=, Repro=scsicompliance.exe  /device \\.\PhysicalDrive0 /verbosity 4  /scenario common /operation test 

    Monday, July 7, 2014 5:45 PM

All replies

  • Hi Sandesh,

    As I remember, there is errata for this failure. Please apply filters and check the status of the test.

    Thanks,

    Mudit

    • Proposed as answer by Mudit Garg Tuesday, July 8, 2014 4:05 AM
    • Unproposed as answer by Sandesh Kakade Tuesday, July 8, 2014 4:13 PM
    Tuesday, July 8, 2014 4:05 AM
  • I had installed latest HCK 8.100.26795. I tried 'Apply Filter' but it doesn't work.

    Sandesh Kakade

    Tuesday, July 8, 2014 4:13 PM
  • Hi Sandesh,

    Filters are not bundle with kit. You have to download it separately and then apply.

    Thanks,

    Mudit

    Wednesday, July 9, 2014 3:18 AM
  • I downloaded filters from http://msdn.microsoft.com/en-us/library/windows/hardware/hh998024.aspx

    But when I apply filter it still shows test failed.

    I re-ran the test but same result.


    Sandesh Kakade

    Wednesday, July 9, 2014 6:13 PM
  • Hi Sandesh,

    Please show this error to the developer of the driver. it can be a issue with a driver.

    Thanks,

    Mudit

    Thursday, July 10, 2014 3:38 AM
  • Hi Sandesh,

    Is your DUT, is a scsi or iscsi device? If yes, then sorry to say Client OS doesn't support scsi/iscsi functionality.

    Thanks,

    Mudit

    Thursday, July 10, 2014 8:16 AM
  • Hello,

    by the way, Does this issue is about large disks? I have this error. Do you guys have any idea about what it is?

    Thanks in advance.

    https://social.technet.microsoft.com/Forums/en-US/a11c5b01-9a73-498f-b5a1-42d7a293387a/iscsi-initiator-for-target-with-size-16tbytes?forum=iaas


    Wednesday, November 12, 2014 9:07 PM