Share via


Non-rotating Media Test

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Type: Automated Test

Overview

The Non-rotating Media Test verifies that an ATA device (including SATA) properly reports its nominal media rotation rate as described in the ATA/ATAPI Command Set-2 (ACS-2) or later. To obtain this specification, see the T13 Technical Committee Web site at T13 Technical Committee. Compliance with this standard ensures that the operating system can differentiate between non-rotating media and standard rotating disk devices.

Details

The Non-rotating Media Test uses ATA pass-through requests (IOCTL_ATA_PASS_THROUGH) to construct and send the IDENTIFY DEVICE (0xec) command to the device. The test then evaluates the Nominal Media Rotation Rate (word 217) to verify compliance with the specification.

Run Time: 2 minutes

**Log File:**nrmtest.log.xml

System Restart Required: No

Supported operating systems for Logo or Signature testing:

  • Windows 7

  • Windows Server 2008 R2

  • Windows Vista

  • Windows Server 2008

  • Windows XP

  • Windows Server 2003

**Program:**nonrotatingmedia.exe

Requirements

Software Requirements

The test tool requires the following software:

  • Supported operating system (see list above)

  • Software components included with the device that is being tested

Hardware Requirements

The test tool requires the following hardware:

  • Device to be tested

  • Computer that meets the minimum software requirements

  • Windows keyboard

  • Two-button pointing device

  • Color display monitor capable of at least 1024 by 768 resolution, 32-bits per pixel, 60 Hz

  • Hard drive with a minimum of 20 GB available on partition C:

    One or more ATA or SATA disks attached to the test system

Processor

The test tool runs on the following processor architectures:

  • x86

  • x64

  • IA64

Running the Test

Command Syntax

Command option Description

nonrotatingmedia.exe

Without any options, shows usage information.

-d [DiskDeviceObjLink]

Starts the application and runs the test cases that are specified in the .profile file.

-nrm [0|1]

Specifies that the device in test is non-rotating media (1) or a rotating disk device (0).

 

Troubleshooting

The test writes the results to the log files nrmtest.log.xml and nrmtest.log.txt. Use the log files to determine the cause of any failures.

Code Tour

File Manifest

File Location

nonrotatingmedia.exe

[testbinroot]\nttest\driverstest\storage\wdk\

 

Test Assertions

Logo Requirement: Storage-0017

Assertion Description:

Non-rotational Media Test: Verifies that an ATA device (including SATA) identifies itself as it was identified during the device submission wizard: as non-rotating media or otherwise. The following table describes the relationship between the test result and the Nominal Media Rotation Rate reported by the IDENTIFY DEVICE command. This table does not exhaustively list all possible test results. It is also possible that a device would fail this test, for instance, if the ATA pass-through failed. Review the test results in the log file for specific details about failures.

Reported Rotation Rate Description Result for Rotating Disks* Result for Non-rotating Media*

0x0000

Rate not reported

Warn

Warn

0x0001

Non-rotating media

Warn

Pass

0x0002-0x0400

Reserved

Warn

Warn

0x0401-0xfffe

Nominal media rotation rate in rotations per minute

Pass

Warn

0xffff

Reserved

Warn

Warn

 

*The device type is determined by information provided to the device submission wizard.

 

 

Build date: 9/14/2012