From: Andries.Brouwer@cwi.nl
To: Andries.Brouwer@cwi.nl, andre@linuxdiskcert.org, p_gortmaker@yahoo.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clipped disk reports clipped lba size
Date: Sat, 2 Feb 2002 13:38:22 GMT [thread overview]
Message-ID: <UTC200202021338.NAA124053.aeb@cwi.nl> (raw)
From: Paul Gortmaker <p_gortmaker@yahoo.com>
> (1) *_AEB is intended as private namespace for me, not for inclusion
> in an official kernel. So, some official name, like HDIO_DRIVE_TASK,
> must be better.
Yes, DRIVE_TASK is of course the official name - I just knew you would
immediately recognize *_AEB & and know context/usage :) BTW, if you
didn't want it in an official kernel, it is a bit late for that. It has
been in for some time in 2.4 .... <grep> 2.3.99pre9 to be exact.
Yes. But it is unnecessary and can be removed.
> to solve both problems without involving ioctl's, or boot
> parameters, or config parameters. All should just work
> in the common case.
This is a valid point - in an ideal situation things should just work
without user intervention or setmax util, etc. What are you currently
recommending to 2.2.x kernel users that come across this limitation
prior to such an ideal fix being released in a 2.2.x kernel?
Precisely what you also suggest: setmax plus the kernel patch that
makes it work. (Or: go to 2.4.)
From Andre Hedrick <andre@linuxdiskcert.org>
It is a valid and techincally correct operation; however, it is only one
half of the solution. Your "SETMAX" user-space IOCTL, is great if you do
not have partitions that bridge that boundary, other wise TOAST.
If an extended partition table sector is located past the accessible
area of the disk, then probably accessing it yields an I/O error.
Later, using partx or "blockdev --rereadpt" or so, one can add the
missing partitions again. A bit ugly and kludgy, that is why the
kernel should do this itself, and automatically.
Now the problem I have not addressed is the reboot issue,
and neither have you.
Only partially. Details depend on type of disk and BIOS.
But roughly speaking, if one wants a warm reboot, one can
invoke setmax again to clip the disk (or hold F4 down
during the reboot).
Andries
next reply other threads:[~2002-02-02 13:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-02 13:38 Andries.Brouwer [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-01 21:55 [PATCH] clipped disk reports clipped lba size Andries.Brouwer
2002-02-02 0:20 ` Andre Hedrick
2002-02-02 11:11 ` Paul Gortmaker
2002-01-30 20:12 Andries.Brouwer
2002-02-01 12:10 ` Paul Gortmaker
2002-01-30 15:02 Eduardo Trápani
2002-01-30 15:34 ` Alan Cox
2002-01-30 17:04 ` Andre Hedrick
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=UTC200202021338.NAA124053.aeb@cwi.nl \
--to=andries.brouwer@cwi.nl \
--cc=andre@linuxdiskcert.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p_gortmaker@yahoo.com \
/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