mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guest section DW <dwguest@win.tue.nl>
To: "Thomas Tanner" <tanner@ffii.org>, <linux-kernel@vger.kernel.org>
Subject: Re: harddisk suddenly locked?!
Date: Wed, 1 Aug 2001 02:05:39 +0200	[thread overview]
Message-ID: <20010801020539.A11083@win.tue.nl> (raw)
In-Reply-To: <MABBKEJEMCFLBEDCGCDNGEABCAAA.tanner@ffii.org>
In-Reply-To: <MABBKEJEMCFLBEDCGCDNGEABCAAA.tanner@ffii.org>; from Thomas Tanner on Tue, Jul 31, 2001 at 01:00:07PM +0200

On Tue, Jul 31, 2001 at 01:00:07PM +0200, Thomas Tanner wrote:

>  I can't access the data on my harddrive any longer ;-((
> 
>  The IBM Disk Fitness Test tool tells me:
>    Model                   : IBM-DJNA-372200
>    Microcode level         : J71OA30K
>    ATA Compliance          : ATA-4
>      Security feature      : Supported
>        Password            : Set
>        Password level      : High
>        Security mode       : Locked
> 
>  However, I haven't set any password. I don't even know how to set it!!
>  My system is (was) Linux 2.4.7 with PIIX support and "SCSI over IDE"
> enabled,
>  I wanted to start XWindows (4.01). However, it switched the video mode and
> suddenly locked up for ~10 sec. I pressed Ctrl-Alt-Backspace/Del
>  After some seconds it responded and seemed to shut down as usual.
>  Since then the hd is locked and I don't know why.

Better shield your monitor?

>  According to the ATA-3 specification

ATA-4 is also online.

>  To unlock a drive one has to send the command SECURITY UNLOCK (0xBB)
>  and transfer a single sector to the drive:

Maybe someone has already done it. Otherwise you'll have to play a little
with the code. It is easy. You could try to take setmax and hdparm as example
and add an ioctl that combines HDIO_DRIVE_TASK and HDIO_DRIVE_CMD.

      parent reply	other threads:[~2001-08-01  0:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31 11:00 Thomas Tanner
2001-07-29 20:58 ` Alan Cox
2001-08-02 20:57   ` Dan Hollis
2001-08-02 21:09     ` Alan Cox
2001-08-01  0:05 ` Guest section DW [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=20010801020539.A11083@win.tue.nl \
    --to=dwguest@win.tue.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tanner@ffii.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

all inboxes | Powered by JetHome®