From: Mark Lord <kernel@teksavvy.com>
To: Maciej Grela <maciej.grela@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: How to perform SECURITY ERASE on a SEC4 (security enabled/locked) PATA drive ?
Date: Tue, 03 May 2011 10:55:00 -0400 [thread overview]
Message-ID: <4DC01744.6040206@teksavvy.com> (raw)
In-Reply-To: <BANLkTi==R1tb-oNp4Sf5DJHS3wjZyC_wLg@mail.gmail.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.
Not all drives do it in exactly the same way,
and not all of them strictly follow the standard.
So it may take some playing around to figure it out.
I don't do this often enough here to remember which brands
prefer what sequences etc.
Cheers
-ml
next prev parent reply other threads:[~2011-05-03 14:55 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 [this message]
2011-05-04 19:43 ` Maciej Grela
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=4DC01744.6040206@teksavvy.com \
--to=kernel@teksavvy.com \
--cc=linux-ide@vger.kernel.org \
--cc=maciej.grela@gmail.com \
/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).