Quantcast
Channel: Intel Communities : All Content - Solid State Drives
Viewing all articles
Browse latest Browse all 3689

730, Linux hdparm & "security level" inconsistencies

$
0
0

Hello

 

I have a brand new 730 series 480GB SSD (model SSDSC2BP480G4, firmware L2010420) for which I'm trying to set up the master password, the user password and the "maximum" security level using hdparm under Linux.

I've hit  an unexpected and unexplained problem: after I set the 2 passwords and the security level to "maximum", once I disconnect and reconnect the drive the security level reverts to "high"!

 

Here's the summary of how it goes, all details are in the attached log file:

1. Hot plug  the SDD, it gets detected correctly, hdparm -I reports "Master password revision code = 65534", security "supported" but "not enabled"

2. Set the master password using "hdparm --user-master m --security-set-pass masterpwd /dev/sdb", after this "Master password revision code = 1", security is still "supported" but "not enabled"

3. Set the user password and the maximum security level using "hdparm --user-master u --security-mode m --security-set-pass userpwd /dev/sdb"; after this "Master password revision code" is still 1, but security becomes "enabled" and "Security level maximum"

4. Flush caches using "hdparm -f /dev/sdb" and "hdparm -F /dev/sdb"

5. "Freeze security" using "hdparm --security-freeze /dev/sdb"

6. Flush caches again using "hdparm -f /dev/sdb" and "hdparm -F /dev/sdb"

7. At this point "Master password revision code = 1", "security" is "supported", "enabled", "not locked", "frozen" and "Security level maximum"

8. Cleanly "stop" the SDD using "sync; echo 1 >/sys/block/sdb/device/delete"

9. Unplug the SDD, wait a few seconds and plug it back in

10. At this point "Master password revision code = 1", "security" is "supported", "enabled", "locked", "not frozen" but the drive reverted by itself to "Security level high".

11. Even if the drive reports "Security level high", the master password doesn't seem to unlock it

12. The user password can unlock the drive (but this was to be expected, regardless of the security level)

 

As mentioned, all details are in the attached log file.

 

Please let me know if I'm missing something - I can't see why the device reverts from the maximum security level to "high" and this is driving me nuts. I also have an older device (SSDSC2CW120A3, FwRev=400i) that works correctly (i.e. it stays on the "maximum" security level).

 

Thank you

Dan


Viewing all articles
Browse latest Browse all 3689

Trending Articles