Delen via


NVMe SCSI Compliance Test (LOGO)

This test verifies the device and driver capabilities of SCSI-NVMe translation.

Test details

Associated requirements

Device.Storage.ControllerDrive.NVMe.BasicFunction

See the device hardware requirements.

Platforms

Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~10 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Hard Disk Drive Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Storage Testing.

If the test fails to find the drive letter of the device, try to restart the machine with device attached, format and mount NTFS volume and assign drive letter, reboot machine to confirm drive letter and drive number of device are recognizable in diskmgmt.msc and then schedule the test.

More information

Here’s a list of SCSI commands:

SCSI command NVMe command translation HCK policy

SCSIOP_REPORT_LUNS

Identify

M

SCSIOP_INQUIRY

Identify

M

SCSIOP_MODE_SENSE

Identify, get features

M

SCSIOP_MODE_SENSE10

Identify, get features

M

SCSIOP_MODE_SELECT

No translation recommended

M

SCSIOP_MODE_SELECT10

No translation recommended

M

SCSIOP_READ_CAPACITY

Identify

M

SCSIOP_READ_CAPACITY16

Identify

M

SCSIOP_READ6

Read

If-implemented

SCSIOP_READ

Read

M

SCSIOP_READ12

Read

Not tested

SCSIOP_READ16

Read

M

SCSIOP_WRITE6

Write

If-implemented

SCSIOP_WRITE

Write

M

SCSIOP_WRITE12

Write

Not tested

SCSIOP_WRITE16

Write

M

SCSIOP_SYNCHRONIZE_CACHE

Flush

M

SCSIOP_SYNCHRONIZE_CACHE16

Flush

Not tested

SCSIOP_WRITE_LONG

Write uncorrectable

Not tested

SCSIOP_WRITE_LONG16

Write uncorrectable

Not tested

SCSIOP_UNMAP

Dataset management

M

SCSIOP_START_STOP_UNIT

Set features, get features

M

SCSIOP_SECURITY_PROTOCOL_IN

Security receive

If-implemented

SCSIOP_SECURITY_PROTOCOL_OUT

Security send

If-implemented

SCSIOP_COMPARE

Compare and write

Not tested

SCSIOP_FORMAT

Format NVM

Not tested

SCSIOP_LOG_SENSE

Get features, get log page

M

SCSIOP_REQUEST_SENSE

No translation recommended

If-implemented

SCSIOP_TEST_UNIT_READY

No translation recommended

M

SCSIOP_WRITE_DATA_BUFF

Firmware image download, firmware image activate

Not tested

 

The following shows a list of VPDs:

VPD Page code NVMe guidelines HCK policy

Supported VPD pages

0x0

M

M

Serial number

0x80

M

M

Device identification

0x83

M

M

Extended inquiry

0x86

O

Not tested

Block device characteristics

0x81

M

M

Block limits

0xB0

Not recommended

M

 

The following shows a list of mode pages:

Mode page Page code NVMe guidelines HCK policy

Supported mode pages

0x3F

M

M

Caching

0x8

M

M

Control

0xA

M

Not tested

Power condition

0x1A

M

Not tested

Informational exceptions control

0x1C

M

Not tested

 

The following shows a list of log pages:

Log page Page code NVMe guidelines HCK policy

Supported log pages

0x0

M

M

Temperature

0x0D

M

M

Information exceptions

0x2F

M

M

 

Parameters

Parameter Description

Verbosity

The level of logging verbosity. Larger values cause more verbose output.

Default value: 4

 

Command syntax

Command Description

/Device

Device under test to be used. You can get help by running scsicompliance.exe /Device /?

Example: \\.\physicaldrive1

/Operation

The operation for the test. You can get help by running scsicompliance.exe /Operation /?

Example: test

/Scenario

The scenario for the test. Use NVMe. You can get help by running scsicompliance.exe /Scenario /?

Example: NVMe

/Verbosity

The level of logging verbosity. Larger values cause more verbose output. (0 - 4) You can get help by running scsicompliance.exe /Verbosity /?

Example: 4

 

File list

File Location

scsicompliance.exe

<testbinroot>\NTTEST\driverstest\storage\wdk\

 

 

 

Send comments about this topic to Microsoft