Rapid Storage Technology
Intel® RST, RAID
2126 Discussions

How to send NVMe sanitize(0x84) command under Intel RST Driver?

wkao
Beginner
782 Views

I am a software Engineer,

I am wondering how to send NVMe sanitize(0x84) command under Intel RST Driver? 

 

Thanks,

Wkao

Labels (3)
0 Kudos
6 Replies
JedG_Intel
Moderator
690 Views

Hello wkao,


Thank you for posting at Intel Community Forums


I'd like to gather some information for me to address your concern correct, please share the details below.


1. Are you currently using RAID?

2. What is your RST driver version?

3. What are you hoping to achieve by using the sanitize command?


Additionally, to have a better understanding of your system configuration and components please generate System Support Utility (SSU) report. Please follow instructions here and send the report - How to get the Intel® System Support Utility Logs on Windows*


I hope to hear from you soon!


Best regards,

Jed G.

Intel Customer Support Technician


0 Kudos
wkao
Beginner
606 Views

Hi JedG,

 

The attachment is the SSU log, thanks!

 

Here are some information you asked:

1. No, I'm not using RAID, I have only one NVMe device on my PC with IRST(also called VMD in BIOS) enabled
2. V19.0.0.1067
3. I'm now developing a SSD tool on Windows that can do some basic action to the NVMe devices. for example: get Identify, get SMART, update FW, sanitize, Format NVM...


I can now get the Identify information under IRST driver by using this function "DoIdentifyDeviceNVMeIntelRst()" in the link below.
https://github.com/hiyohiyo/CrystalDiskInfo/blob/master/AtaSmart.cpp
or I can even send some vendor specific command by changing the Opcode and the command works fine.

But as for the Sanitize(0x84) and FormatNVM(0x80) command, these commands would fail under IRST driver.
So I'm wondering is there any way to send Sanitize(0x84) or FormatNVM(0x80) command under IRST driver?

 

 

Best regards,

Wes

0 Kudos
wkao
Beginner
606 Views

Hi JedG,

The attachment is the SSU log, Thanks!

 

Here are some information you asked:

1. No, I'm not using RAID, I have only one NVMe device on my PC with IRST(also called VMD in BIOS) enabled
2. V19.0.0.1067
3. I'm now developing a SSD tool on Windows that can do some basic action to the NVMe devices. for example: get Identify, get SMART, update FW, sanitize, Format NVM...
I can now get the Identify information under IRST driver by using this function "DoIdentifyDeviceNVMeIntelRst()" in the link below.
https://github.com/hiyohiyo/CrystalDiskInfo/blob/master/AtaSmart.cpp
or I can even send some vendor specific command by changing the Opcode and the command works fine.

But as for the Sanitize(0x84) and FormatNVM(0x80) command, these commands would fail under IRST driver.
So I'm wondering is there any way to send Sanitize(0x84) or FormatNVM(0x80) command under IRST driver?

 

Best regards,

WKao

0 Kudos
Spookytemplate
Employee
544 Views

You will not be able to send such destructive command in normal mode of the OS. Driver/OS blocks such commands. You can try in WinPE because it allows for much more. 

0 Kudos
JedG_Intel
Moderator
368 Views

Hello wkao,

 

I wanted to check if you need further assistance. Please let me know at your earliest convenience so that we can determine the best course of action to resolve this matter.

 

Best regards,

Jed G.

Intel Customer Support Technician


0 Kudos
JedG_Intel
Moderator
247 Views

Hello wkao,

 

I have not heard back from you so I will close this inquiry now. If you need further assistance, please submit a new question as this thread will no longer be monitored.

 

Best regards,

Jed G.

Intel Customer Support Technician


0 Kudos
Reply