[ltp] Re: Backing up the Predesktop Area?

Georg Sauthoff linux-thinkpad@linux-thinkpad.org
Mon, 24 May 2004 10:53:16 +0200


--Boundary-02=_CgbsAHHpUOr4p6t
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday 21 May 2004 22:56, Marius Gedminas wrote:

Hi,

> 2.4.21 (I should upgrade to 2.4.26 one of these days...)

> I do not believe this option is "documented" (grep -i stroke
> /usr/src/linux/Documentation yields nothing of interest).  I found it
> while reading /usr/src/linux/drivers/ide/ide-disk.c (which I found by
> grepping for "Host Protected Area").  It is mentioned in a comment
> in /usr/src/linux/drivers/ide/ide.c:

good to know.=20

>  * "hdx=3Dstroke"         : runtime version of CONFIG_IDEDISK_STROKE

In 2.6.4, there is not this option,

> CONFIG_IDEDISK_STROKE is documented, but it does not mention the HPA,
> and only talks about 32GB limits with some BIOSes.

but it seems, that if CONFIG_IDEDISK_STROKE is set, then=20
drivers/ide/ide-disk.c disables the HPA.

So with my current kernel build with CONFIG_IDEDISK_STROKE not set I get th=
is=20
output:
  current capacity is 52354869 sectors (26805 MB)
  native  capacity is 58605120 sectors (30005 MB)
hda: 52354869 sectors (26805 MB) w/2048KiB Cache, CHS=3D55401/15/63, UDMA(1=
00)

> (Looking at dmesg full of disk errors, ide reset success and DMA
> disabled messages) Oops! Panic!

Strange. I looked at your command lines and found nothing wrong.

Regards
Georg Sauthoff

--Boundary-02=_CgbsAHHpUOr4p6t
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAsbgCatOJi5ztkoARAsZfAJ9p+iZ+oembxDHTuzSPzSFfvQDFVwCfe2TY
0y1wRfBb5w/GH6DHVMF4V68=
=X6WC
-----END PGP SIGNATURE-----

--Boundary-02=_CgbsAHHpUOr4p6t--