SD-Ioctl Test
This test verifies that SD-specific IOCTL calls work from any user mode process as expected.
Test details
Specifications |
|
Platforms |
|
Supported Releases |
|
Expected run time (in minutes) | 5 |
Category | Development |
Timeout (in minutes) | 300 |
Requires reboot | false |
Requires special configuration | false |
Type | automatic |
Additional documentation
Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):
Running the test
Before you run the test, complete the test setup as described in the test requirements: WDTF System Fundamentals Testing Prerequisites.
The test expects that an SD card is inserted into the host controller and working before the test begins.
Troubleshooting
For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.
The test sends several variations of IOCTLs to the disk and validates the response. In the case of an error sending the IOCTL or validating the response, the logs contain information about the errors. To check the WTT trace, perform the following steps:
View Task Log of Run SDIOCTL Test.
Open the log file sdioctltst.wtl.
Check for messages that may solve the issue.
For additional troubleshooting information, see Troubleshooting System Fundamentals Testing.
More information
The test will go through a series of IOCTLs and various parameters surrounding those IOCTLs. It will send them to the underlying disk and validate the response conforms to the requirements. Log information about which IOCTLs and the results are printed as tests cases in the log.
The following is a list of the IOCTLs that are covered in this file:
IOCTL_DISK_MEDIA_REMOVAL
IOCTL_DISK_GET_LENGTH_INFO
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_VERIFY
IOCTL_STORAGE_CHECK_VERIFY
IOCTL_STORAGE_CHECK_VERIFY2
IOCTL_DISK_CHECK_VERIFY
IOCTL_DISK_GET_CACHE_INFORMATION
IOCTL_STORAGE_GET_HOTPLUG_INFO
IOCTL_STORAGE_SET_HOTPLUG_INFO
IOCTL_STORAGE_GET_DEVICE_NUMBER
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX
IOCTL_STORAGE_GET_MEDIA_TYPES_EX
IOCTL_STORAGE_QUERY_PROPERTY
IOCTL_SCSI_GET_ADDRESS
IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER
IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL
IOCTL_SFFDISK_DEVICE_COMMAND
IOCTL_SFFDISK_DEVICE_PASSWORD
Parameters
Parameter name | Parameter description |
---|---|
LLU_NetAccessOnly | |
WDKDeviceID | Instance path of device to test. |