public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan <alan@lxorguk.ukuu.org.uk>
To: avl@logic.at
Cc: linux-kernel@vger.kernel.org
Subject: Re: Allow turning off hpa-checking.
Date: Mon, 27 Nov 2006 18:10:33 +0000	[thread overview]
Message-ID: <20061127181033.58e72d9a@localhost.localdomain> (raw)
In-Reply-To: <20061127175647.GD2352@gamma.logic.tuwien.ac.at>

> What else (if not sector remapping) could make the "current"
> size gradually smaller between reboots. And why is "native"
> size still constant?  And why does now even access to the but-last
> native sector fail? The explanation with block-reads no longer
> works.

The presented size of an ATA disk is constant. It keeps additional space
for error blocks. The HPA merely tells the disk to lie about its size.
 
> > This is a matter for the partitioning tool. You don't know at boot time
> > what you wish to do with the HPA so a boot option is inappropriate.
> 
> If I boot linux (e.g. from CD) on some precious windows-machine,
> I do know that at boot time. Ditto if I connect a foreign
> windows-disk in my machine (ata is afaik not yet hot-pluggable),
> I'm also bound to know that at boot time.

Some ATA is hot pluggable. The new libata stuff very much so (although it
at the moment doesn't handle HPA)
 
> There are also user-land tools (using ioctl) to manipulate 
> this, in case I change my mind lateron.
> 
> How should the partitioning tool know, if I want to ignore the
> HPA, or respect it (knowing it contains stuff that I might need in
> future).  Does there exist any that asks me?

I have no idea. If not perhaps one should be written.

  reply	other threads:[~2006-11-27 18:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20 14:51 possible bug in ide-disk.c (2.6.18.2 but also older) Andreas Leitgeb
2006-11-20 15:25 ` Alan
2006-11-20 16:56   ` Andreas Leitgeb
2006-11-20 17:28     ` Alan
2006-11-20 17:57       ` Andreas Leitgeb
2006-11-20 18:12         ` Alan
2006-11-21 11:51       ` Andreas Leitgeb
2006-11-21 12:06         ` Alan
2006-11-22 10:57           ` Andreas Leitgeb
2006-11-23 17:05             ` Andreas Leitgeb
2006-11-27 13:09               ` hpa-problem in ide-disk.c - new insights Andreas Leitgeb
2006-11-27 13:30                 ` Alan
2006-11-27 16:01                   ` Allow turning off hpa-checking Andreas Leitgeb
2006-11-27 16:33                     ` Alan
2006-11-27 17:56                       ` Andreas Leitgeb
2006-11-27 18:10                         ` Alan [this message]
2006-11-27 18:29                           ` Andreas Leitgeb
2006-11-27 19:59                             ` Alan
2006-11-28  9:29                               ` Andreas Leitgeb
2006-11-28  9:46                                 ` Tejun Heo
2006-11-28 12:09                                   ` Andreas Leitgeb
2006-11-28 12:24                                     ` Tejun Heo
2006-12-14 14:45                                       ` Andreas Leitgeb

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=20061127181033.58e72d9a@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=avl@logic.at \
    --cc=linux-kernel@vger.kernel.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