lkml.org 
[lkml]   [2006]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[RFC] ATA host-protected area (HPA) device mapper?
As I just mentioned on linux-ide in another email:
libata should -- like drivers/ide -- call the ATA "set max" command to
fully address the hard drive, including the special "host-protected
area" (HPA). We should do this because the Linux standard is to export
the raw hardware directly, making 100% of the hardware capability
available to the user (and, in this case, Linux-based BIOS and recovery
tools).

However, there are rare bug reports and general paranoia related to
presenting 100% of the ATA hard drive "native" space, rather than the
possibly-smaller space that the BIOS chose to present to the user.

My thinking is that [someone] should create an optional, ATA-specific
device mapper module. This module would layer on top of an ATA block
device, and present two block devices: the BIOS-presented space, and
the HPA.

Such a module would make it trivial for users to ensure that partition
tables and RAID metadata formats know what the BIOS (rather than
underlying hard drive) considers to be end-of-disk.

Comments? Questions? Am I completely insane? ;-)

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-09 05:46    [W:0.027 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site