[lkml]   [2005]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: IDE disk and HPA
> > > My question is now: why is an HPA disabled i.e. disprotected when
> > > detected? Why not let the HPA alone, because a certain set of disk
> > > sectors shall not be accessible by the OS?
> >
> > Because the HPA is most commonly used to hide all but a fraction of a
> > disk to work with older BIOSes.
> But as to my knowledge, the HPA was had been introduced to allow HW
> vendors to store things like diagnostic programs in a part of the
> disk protected from partitioning and filesystems.
> The point is, IF there is an HPA, there MIGHT be a partitioning
> scheme and some filesystems on the disk which rely on the size of
> disk being the native size MINUS the HPA.

If those HW vendors want to store software in the HPA of the IDE
hard disk, and they employ people able to read the IDE specifications,
they know that this HPA can be protected by password and so Linux
just display a failure when trying to restore the capacity of the
Hard Disk - because it lacks the unlocking password.

Note that this HPA is a good place to store a bootloader too, in fact
I like to think of it as the big floppy drive of the PC which no more
have any floppy drive: create a FAT filesystem of 64 Mbytes there and
copy all the floppy you used to have there. Your bootloader, if it
is good enough, will be able to run software from this area.

I also have to add that it is finally time to read the ATA 4
specification (published in august 1998) or any newer version, for
instance at:
around page 30 / page 46 about "6.10 Security Mode feature set".
Pay attentiong to the last sentense of "6.10.4 Frozen mode".
If you are using the right bootloader someone has already taken care
of that detail for you - you are not disk2brick virus sensitive, and
you do not care much of the blankdisk virus neither - whatever the
OSes you are using.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-04 14:18    [W:0.056 / U:0.056 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site