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: Fri, 29 Apr 2011 22:26:09 -0400 [thread overview]
Message-ID: <4DBB7341.1070600@teksavvy.com> (raw)
In-Reply-To: <BANLkTimFg_=KmCRVL=QoO9s-4+T3DmbNQw@mail.gmail.com>
On 11-04-29 04:57 PM, Maciej Grela wrote:
> 2011/4/29 Mark Lord <kernel@teksavvy.com>:
..
>> Then, try this:
>>
>> hdparm --security-set-pass NULL /dev/sdx
>> hdparm --security-erase NULL /dev/sdx
..
> I downloaded the newest hdparm but the result is the same - the first
> command fails with "Input/output error", verbose shows:
>
> 8< --------------------------------------------------
> enki@hikari:~/hdparm-9.37$ sudo ./hdparm --verbose --security-set-pass
> NULL /dev
> /sdb
>
> security_password=""
>
>
> /dev/sdb:
> Issuing SECURITY_SET_PASS command, password="", user=user, mode=high
..
> SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
>
> SG_IO: sb[]: 72 0b 00 00 00 00 00 0e 09 0c 00 04 00 00 00 00 00 00 00
> 00 e0 51 00 00 00 00 00 00 00 00 00 00
>
> SG_IO: desc[]: 09 0c 00 04 00 00 00 00 00 00 00 00 e0 51
>
> ATA_16 stat=51 err=04 nsect=00 lbal=00 lbam=00 lbah=00 dev=e0
>
> I/O error, ata_op=0xf4 ata_status=0x51 ata_error=0x04
>
> SECURITY_ERASE: Input/output error
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.
Thanks. Oh, and perhaps COPY ME on subsequent emails,
or I might miss your followups. IOW, use "reply to all".
next prev parent reply other threads:[~2011-04-30 2:26 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 [this message]
2011-04-30 8:10 ` Maciej Grela
2011-05-03 14:55 ` Mark Lord
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=4DBB7341.1070600@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).