StorPort driver: No "START STOP UNIT" SCSI command received

Hi Michael,

Thank you for the information, that’s actually the behavior that I was expecting. I’m testing on Windows 7 x64 and I don’t receive it. I’m wondering if it might be a configuration problem??

Hi Arshak,

Unfortunately, on Win7 and earlier version of Storport, STOP UNIT command is swallowed for hibernation and shutdown, due to some legacy consideration/restrictions.

There was change in Win8 to allow miniport driver specifies that it wants to receive this command in the situation. (e.g. miniport specify STOR_ADAPTER_FEATURE_STOP_UNIT_DURING_POWER_DOWN in Port_Config_Info)
Please refer to: http://msdn.microsoft.com/en-us/library/windows/hardware/ff563901(v=vs.85).aspx

You may use AdapterControl or power request to adapter to send down “power down” preparation command to device.

Regards,
Michael Xing

Michael,

Thank you so much for the valuable information! Will go with HwAdapterControl