From: "H. Peter Anvin" <hpa@zytor.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] i386 boot loader IDs
Date: Mon, 03 Jan 2005 23:55:39 -0800 [thread overview]
Message-ID: <41DA4BFB.7090800@zytor.com> (raw)
In-Reply-To: <m1vfadr65h.fsf@ebiederm.dsl.xmission.com>
Eric W. Biederman wrote:
>
> I suspect /sbin/kexec could use one. But I don't have the faintest
> what you could do with the information after the kernel came up.
>
Sounds incorrect, unless you're generating the zeropage information.
> I don't think enhancing the bootloader numeric parameter is the
> right way to go. Currently the value is a single byte with the low
> nibble reserved for version number information. With the
> values already assigned we have 7 left.
>
> If we assign a new value each for the bootloaders I know of that don't
> yet have values assigned: pxelinux, isolinux, filo, /sbin/kexec,
> redboot the pool of numbers is nearly exhausted. With the addition of
> bootloaders I can't recall or have not been written yet we will
> quickly exhaust the pool of numbers.
pxelinux, isolinux and extlinux are syslinux derivatives (0x32, 0x33 and
0x34 respectively.) filo and redboot probably could use them, though.
> Even if using this mechanism is needed for supporting existing
> bootloaders I suggest it be deprecated in favor of a kernel command
> line option. A command line option would be easier to maintain
> being string based. It would be portable to architectures besides
> x86. And it requires no additional code to implement, as you
> can already read /proc/cmdline.
Unfortunately the command line is very squeezed. With the newer
protocol we can probably support longer command lines, though.
It's a significant boot loader change, though. In the short term it's
definitely desirable to be able to read it.
-hpa
next prev parent reply other threads:[~2005-01-04 7:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-29 20:41 [PATCH] i386 boot loader IDs H. Peter Anvin
2005-01-04 7:43 ` Eric W. Biederman
2005-01-04 7:55 ` H. Peter Anvin [this message]
2005-01-04 10:37 ` Eric W. Biederman
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=41DA4BFB.7090800@zytor.com \
--to=hpa@zytor.com \
--cc=akpm@osdl.org \
--cc=ebiederm@xmission.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.