public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alon Bar-Lev <alon.barlev@gmail.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jesper Juhl <jesper.juhl@gmail.com>, Chris Wedgwood <cw@f00f.org>,
	Andrew Morton <akpm@osdl.org>,
	SYSLINUX@zytor.com,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit
Date: Thu, 01 Sep 2005 11:54:49 +0300	[thread overview]
Message-ID: <4316C1D9.10704@gmail.com> (raw)
In-Reply-To: <43162E3A.9070703@zytor.com>

Thank you all for your quick responses!

I want to add some of my comments.


1. Kernel parameters is a great mechanism to control how the kernel 
behaves without modifying any file in kernel,

putting options in a file maybe seems a good solution... but it lower 
the power of the boot loader,

which can be used to control the kernel externally.


So I think we should solve the 256 limitation... And not adding a new 
mechanism.


2. As I understand initramfs gradually replaces initrd, since all the 
user space applications needs initramfs,

So modifying the initramfs to be different at each machine is not good 
for maintenance, and not easy to

control as editing its contents as in the boot loader approach.


3. Adding the maximum limit as configuration option is needed since the 
kernel allocates a static memory buffer,

As such, it should be determined... I think the default should be at 
least 1024... But I don't like

hard coded constants to be written in source.


4. "The concept of a command-line works for passing simple state but for 
more complex things it's too cumbersome."

I don't agree with that... the term "simple" is user defined...


For example, I use the command-line to do the following:

a. Report kernel of my root partition.

b. Report kernel of my root partition type.

c. Report my initramfs of my swap partition, boot partition, root partition.

d. Report my initramfs of where to find decryption key.

e. Report kernel+initramfs of which bootsplash to use and what resolution.

f. Set my initramfs debug level.

g. Set silent console output tty.

h. Set initial loop device number for decryption.


This all must happen at boot, and I needed to squeeze the names of the 
arguments in

order them to feet 256 limitation...

Does it fall in the "simple definition"?


5. In order for Lilo and Grub to implement the 2.02+ protocol without 
truncating the command line,

I need a definite response that they should not do that... Can you 
please provide it...?

It would be best if you update the boot.txt document.

Since without boot loader support, we cannot break this limitation for 
ordinary users.


6. A minor issue... Why the COMMAND_LINE_SIZE is defined in two files? 
Is there a specific reason?


Best Regards,

Alon Bar-Lev.



H. Peter Anvin wrote:

> Jesper Juhl wrote:
>
>>
>> Well, it wouldn't have to be initrd specifically. Generally what's
>> needed is *some* way to tell the kernel "please read more options from
>> location <foo>". The interresting bit is what <foo>'s supposed to be.
>>
>
> This is what initramfs (as opposed to initrd) does quite well.
>
>     -hpa
>
>


  reply	other threads:[~2005-09-01  8:04 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4315B668.6030603@gmail.com>
2005-08-31 21:29 ` THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit H. Peter Anvin
2005-08-31 21:57   ` Chris Wedgwood
2005-08-31 22:01     ` H. Peter Anvin
2005-08-31 22:07       ` Chris Wedgwood
2005-08-31 22:12         ` Jesper Juhl
2005-08-31 22:14           ` Chris Wedgwood
2005-08-31 22:17             ` H. Peter Anvin
2005-08-31 22:18             ` Jesper Juhl
2005-08-31 22:24               ` H. Peter Anvin
2005-09-01  8:54                 ` Alon Bar-Lev [this message]
2005-08-31 22:12         ` H. Peter Anvin
2005-08-31 22:15           ` Chris Wedgwood
2005-09-01 20:48         ` [syslinux] " Peter Jones
2005-09-06 20:19       ` Alon Bar-Lev
2005-09-06 20:40         ` H. Peter Anvin
2005-09-06 20:49           ` Alon Bar-Lev
2005-10-06 22:49             ` Georg Lippold
2005-10-10 12:44               ` [PATCH] " Georg Lippold
2005-10-10 13:21                 ` Jesper Juhl
2005-10-10 13:32                   ` Alon Bar-Lev
2005-10-10 13:57                     ` Georg Lippold
2005-10-10 14:07                       ` Alon Bar-Lev
2005-10-10 14:53                   ` H. Peter Anvin
2005-10-10 14:59                     ` Alon Bar-Lev
2005-10-10 15:03                       ` H. Peter Anvin
2005-10-10 16:23                         ` Alon Bar-Lev
2005-10-10 17:02                           ` Bernd Petrovitsch
2005-10-10 15:46                     ` Georg Lippold
2005-10-10 15:49                       ` H. Peter Anvin
2005-10-10 17:16                         ` [PATCH 1/1] 2.6.14-rc3 x86: COMMAND_LINE_SIZE Georg Lippold
2005-10-10 18:24                           ` Alon Bar-Lev
2005-10-10 20:36                             ` Georg Lippold
2005-10-11  8:32                               ` Alon Bar-Lev
2005-10-11 16:50                                 ` Georg Lippold
2005-10-11 17:44                                   ` Alon Bar-Lev
2005-10-11 19:21                                     ` Andi Kleen
2005-10-11 19:24                                       ` Alon Bar-Lev
2005-10-11 20:21                                         ` Andi Kleen
2005-10-11 20:04                                           ` Alon Bar-Lev
2005-10-13 20:18                                             ` Georg Lippold
2005-10-11  1:48           ` THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit Coywolf Qi Hunt
2005-10-11  1:49             ` H. Peter Anvin

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=4316C1D9.10704@gmail.com \
    --to=alon.barlev@gmail.com \
    --cc=SYSLINUX@zytor.com \
    --cc=akpm@osdl.org \
    --cc=cw@f00f.org \
    --cc=hpa@zytor.com \
    --cc=jesper.juhl@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox