From: Maciej Grela <maciej.grela@gmail.com>
To: Mark Lord <kernel@teksavvy.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: How to perform SECURITY ERASE on a SEC4 (security enabled/locked) PATA drive ?
Date: Wed, 4 May 2011 21:43:18 +0200 [thread overview]
Message-ID: <BANLkTikyMQSiNCB10mqR6+0fWoeYc8o2JQ@mail.gmail.com> (raw)
In-Reply-To: <4DC01744.6040206@teksavvy.com>
2011/5/3 Mark Lord <kernel@teksavvy.com>:
> On 11-04-30 04:10 AM, Maciej Grela wrote:
>> 2011/4/30 Mark Lord <kernel@teksavvy.com>:
>>>
>>> Okay. Now please do exactly this (and I mean EXACTLY):
>>>
>>> 1. shut down and completely power off the system.
>>> 2. boot up again, and immediately do "hdparm --Istdout /dev/sdb
>>> and post the results here.
>>>
>>> I want to see what the default security state of the drive is,
>>> and that sequence above will tell all.
>>>
>>
>> Hi,
>>
>> Here is the data:
> ..
>
>> Security:
>> Master password revision code = 65534
>> supported
>> enabled
>> locked
>> not frozen
>> not expired: security count
>> not supported: enhanced erase
>> Security level high
>> 42min for SECURITY ERASE UNIT.
> ..
>
> Okay, your drive already has a password set on it.
> So to do a --security-erase, you will likely need to
> know and supply that exact password on the command line:
>
> hdparm --security-erase XXXXXXXX /dev/sdb
>
> If you don't know the password, then you can try this:
>
> hdparm --security-set-pass NULL --user-master m /dev/sdb
> hdparm --security-erase NULL --user-master m /dev/sdb
>
> If that also fails, then you'll have to read through the ATA
> security feature documentation (from the t13 standards),
> and try and understand how the quirky state machine model
> for it is supposed to work. And then puzzle it out from there.
>
Hi,
Thanks for all the info, I already did try that approach after
studying the t13 document. I tried to invoke all the state transitions
from SEC4 mentioned there without any progress. So I'll take a break
from trying to solve this problem as it's not very urgent.
Best regards,
Maciej Grela
prev parent reply other threads:[~2011-05-04 19:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 20:15 How to perform SECURITY ERASE on a SEC4 (security enabled/locked) PATA drive ? Maciej Grela
2011-04-29 13:47 ` Mark Lord
2011-04-29 20:57 ` Maciej Grela
2011-04-30 2:26 ` Mark Lord
2011-04-30 8:10 ` Maciej Grela
2011-05-03 14:55 ` Mark Lord
2011-05-04 19:43 ` Maciej Grela [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTikyMQSiNCB10mqR6+0fWoeYc8o2JQ@mail.gmail.com \
--to=maciej.grela@gmail.com \
--cc=kernel@teksavvy.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).