From: Andrew Clausen <clausen@gnu.org>
To: Szakacsits Szabolcs <szaka@sienet.hu>
Cc: "Patrick J. LoPresti" <patl@users.sourceforge.net>,
Andries Brouwer <Andries.Brouwer@cwi.nl>,
Steffen Winterfeldt <snwint@suse.de>,
linux-kernel@vger.kernel.org, Thomas Fehr <fehr@suse.de>,
bug-parted@gnu.org
Subject: Re: [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff)
Date: Sat, 3 Jul 2004 11:35:53 +1000 [thread overview]
Message-ID: <20040703013552.GA630@gnu.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0407021528150.21499-100000@mlf.linux.rulez.org>
On Fri, Jul 02, 2004 at 06:17:53PM +0200, Szakacsits Szabolcs wrote:
> [kernel related notes are at the end]
> Hello,
>
> On 2 Jul 2004, Patrick J. LoPresti wrote:
>
> Parted is looking for (co-)maintainers. Wouldn't you like to be?
> Guillaume? Somebody from SUSE, Red Hat, Debian, anybody? I think
> it's a real challenge in its current state ;)
I am the current Parted maintainer. I am rather busy, and haven't had
time to do a good job. However, I haven't "dropped" it. I would
welcome a co-maintainer though :)
> > Parted needs a mechanism to let me FORCE the geometry it uses. Every
> > other partitioning tool has this, usually via command-line switch.
Would this solve any problems? The people who get hit aren't going
to use the switch, right?
> Currently they blame the BIOS, LILO, GRUB, NTFS, FAT32, Microsoft,
> bootloaders, kernel, hardware, firmware, themself(!!), etc. Parted
> is so hidden, embedded in tools, installers and behaves so randomly
> then I think it was very difficult to realise how broken it is, over
> the years.
For the same reasons, I haven't been getting bug reports. I first found
out that this was a (non-hypothetical) problem on Slashdot. I can't
reproduce the bug. Nor can Jeremy Katz at Red Hat. If anyone out there
can, please get in touch!
> > Having such [geometry] guesswork in Parted itself is a design error,
>
> Yes. Parted must get the geometry from the partition table unless
>
> 1) the partition table is empty
>
> 2) asked to fix the partition table
>
> 3) asked to use user provided values
You need to add these to the list:
(4) There aren't any partitions that end before cylinder 1024.
(5) The partition table is inconsistent.
Parted does inspect the partition table to try to figure out the
geometry. I'm not sure why Parted is messing up so much. (The current
analyses don't explain it) I really need more information.
> 1) and 2) need a way to get a "sane" geometry from the BIOS or kernel.
Shouldn't we just use LBA? (i.e. x/255/63)
> Nevertheless, fixing Parted and all broken tools, that trust the kernel
> getting the most-of-the-time-right-geometry, won't fix the problem
> immediately because nobody can replace all these tools in the wild from
> one day to the other. Transition would take several years.
Is there any evidence of this? I think 6 months. (Seriously, has
anyone done any research?)
> Does anybody find the new HDIO_GETGEO semantic useful? Did it help
> _anything_?
Remember, back when it was proposed, everyone claimed "everyone uses
LBA", and hence it was irrelevant. I thought it was better to keep it
as it was.
> Because the semantic change did break many people data, installations
> permanently and keeps doing so every day.
I don't understand this sentence.
> Please also note, so far nobody stepped forward to fix parted.
You know there is a patch. The problem is that "how-to-fix" is
contentious, not that we can't produce a patch.
Cheers,
Andrew
next prev parent reply other threads:[~2004-07-03 1:36 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <s5gwu1mwpus.fsf@patl=users.sf.net>
2004-07-02 16:17 ` [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff) Szakacsits Szabolcs
2004-07-02 16:50 ` Andries Brouwer
2004-07-02 18:28 ` dwm
2004-07-02 21:12 ` parted maintainership Andries Brouwer
2004-07-02 17:04 ` [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff) Andries Brouwer
2004-07-02 18:12 ` Szakacsits Szabolcs
2004-07-02 18:45 ` Patrick J. LoPresti
[not found] ` <Pine.LNX.4.60.0407022025200.28638@hermes-1.csi.cam.ac.uk>
2004-07-02 19:57 ` Patrick J. LoPresti
2004-07-03 0:17 ` Szakacsits Szabolcs
2004-07-03 0:42 ` Bartlomiej Zolnierkiewicz
2004-07-03 0:56 ` Andries Brouwer
2004-07-03 1:57 ` Szakacsits Szabolcs
2004-07-03 13:59 ` Patrick J. LoPresti
2004-07-05 12:14 ` Restoring HDIO_GETGEO semantics for 2.6 (was: Re: [RFC] Restoring HDIO_GETGEO semantics) Szakacsits Szabolcs
2004-07-05 13:10 ` Steffen Winterfeldt
2004-07-05 13:12 ` Andries Brouwer
2004-07-05 13:13 ` Bartlomiej Zolnierkiewicz
2004-07-05 14:00 ` Andries Brouwer
2004-07-05 19:05 ` Bartlomiej Zolnierkiewicz
2004-07-05 21:08 ` Andries Brouwer
2004-07-05 21:52 ` Bartlomiej Zolnierkiewicz
2004-07-06 0:17 ` Szakacsits Szabolcs
2004-07-06 1:56 ` Andries Brouwer
2004-07-06 18:56 ` Szakacsits Szabolcs
2004-07-07 1:28 ` Andries Brouwer
2004-07-07 11:14 ` Roman Zippel
2004-07-07 11:51 ` Szakacsits Szabolcs
2004-07-06 8:33 ` Steffen Winterfeldt
2004-07-05 18:09 ` Szakacsits Szabolcs
2004-07-05 18:58 ` Bartlomiej Zolnierkiewicz
2004-07-03 3:00 ` [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff) Andrew Clausen
2004-07-02 23:55 ` Szakacsits Szabolcs
2004-07-03 13:56 ` Patrick J. LoPresti
2004-07-03 2:54 ` Andrew Clausen
[not found] ` <Pine.LNX.4.60.0407030843400.2415@hermes-1.csi.cam.ac.uk>
2004-07-03 12:44 ` Andrew Clausen
[not found] ` <Pine.LNX.4.60.0407031535230.6149@hermes-1.csi.cam.ac.uk>
2004-07-03 15:02 ` Andrew Clausen
2004-07-03 14:42 ` Patrick J. LoPresti
2004-07-03 1:35 ` Andrew Clausen [this message]
2004-07-03 12:33 ` Andries Brouwer
2004-07-03 14:15 ` Patrick J. LoPresti
2004-07-03 14:45 ` Andrew Clausen
2004-07-03 15:00 ` Patrick J. LoPresti
2004-07-03 20:12 ` Andries Brouwer
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=20040703013552.GA630@gnu.org \
--to=clausen@gnu.org \
--cc=Andries.Brouwer@cwi.nl \
--cc=bug-parted@gnu.org \
--cc=fehr@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=patl@users.sourceforge.net \
--cc=snwint@suse.de \
--cc=szaka@sienet.hu \
/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