by
hdparam -I /dev/drive
Look for frozen in output:
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
If still frozen, attempt hybernation/reset
echo -n mem > /sys/power/state
Need to set password first
hdparm --user-master u --security-set-pass password /dev/drive
Use password to do secure erase
hdparm --user-master u --security-erase password /dev/drive
Link to original info: SSD_Secure_Erase
tags: