public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Alexander Viro <viro@math.psu.edu>
Cc: "Grover, Andrew" <andrew.grover@intel.com>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
	"'otto.wyss@bluewin.ch'" <otto.wyss@bluewin.ch>
Subject: Re: Booting a modular kernel through a multiple streams file
Date: 19 Dec 2001 01:47:47 -0700	[thread overview]
Message-ID: <m1ellrwq8c.fsf@frodo.biederman.org> (raw)
In-Reply-To: <Pine.GSO.4.21.0112190313080.9963-100000@weyl.math.psu.edu>
In-Reply-To: <Pine.GSO.4.21.0112190313080.9963-100000@weyl.math.psu.edu>

Alexander Viro <viro@math.psu.edu> writes:

> On 19 Dec 2001, Eric W. Biederman wrote:
> 
> > Alexander Viro <viro@math.psu.edu> writes:
> > 
> > > They are related to the fact that we enter userland too late.  Which can
> > > (and should) be fixed.
> > 
> > Agreed, we need to be careful with the userland we introduce as it can
> > easily get huge if we use standard components.
> 
> If by standard components you mean glibc - definitely.  It's not going
> to be there.

Actually any general purpose piece of software.  glibc is big and just
about everything else on a linux box is big for the same reasons, it
handles lots of cases.  glibc is extra big because it isn't
stripped. 

Just for credentials I have a static user space dhcp and tftp just
16KB (uncompressed).  If I knew what was involved in the nfs
mount code I'd contribute this and you would be feature complete.


> > Have you done the work to allow the cpio archive to be changed in
> > a binary kernel yet?
> 
> It can be left by the loader in the way we currently leave initrd.

O.k. but this isn't implemented currently correct?  The whole
bootloader leaving something, and having something included with
the kernel build is where I see unresolved technical details.

Probably the simplest solution is to allow files to come from both
locations with the additional bootloader files overwriting the
compiled in files.  And just dropping initrd support altogether.

Currently there is another issue of how to replace the compiled
in default files, but that can probably be resolved after we start
sucking in cpio archives.

The protocol details and the implementation issues are what really
fascinate me at this point.

> > > use for initrd images.  IOW, we are backwards compatible with old
> > > loaders.
> > 
> > Al what is the current status of your initramfs work?
> 
> nfsroot needs more work on it, other than that we can have it very
> soon - almost everything we need is already merged into the tree.

O.k. the kernel has all of your dependencies for this patch, cool.
  
> > So far I have concentrated a lot on the simple, and much less on full
> > featured boot loaders that load data off of filesystems etc.  I need
> > to look at dynamically composing and manipulating images.  Seeing the
> > direction you are taking with initramfs would be a great help there.
> 
> man cpio.

Here I am thinking protocol and logistics, and you think I'm asking
about data format.

> 
> > Portability across cpu architectures for a boot protocol is not a
> > silly goal.  If you stir in a linux booting linux patch plus a small
> > user space you get one bootloader across all of the linux platforms
> > with more potential than any bootloader currently out there.
> 
> You still need to get the original kernel in core...

Given that I haven't seen a bootloader without a stage1 I don't see
this a major problem, and since we run linux on the platform someone
has obviously figured out some way to boot it.   It is the all singing
all dancing all interacting bootloader that is worth standardizing.
Having an X App to select your boot image just might be worth it :)

The only real issue with using linux as a bootloader is there a
serious delay during kernel initialization.  Lately the 10 or 15
seconds of kernel time this takes has been 50% of my boot time.  The
other 45% going to stupid rc scripts.

Eric

       reply	other threads:[~2001-12-19  9:08 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.4.21.0112190313080.9963-100000@weyl.math.psu.edu>
2001-12-19  8:47 ` Eric W. Biederman [this message]
2001-12-19 14:55   ` Booting a modular kernel through a multiple streams file Alexander Viro
2001-12-19 15:49     ` Eric W. Biederman
2001-12-19 17:03       ` Alexander Viro
2001-12-19 19:01         ` Eric W. Biederman
2001-12-20  3:30         ` H. Peter Anvin
2001-12-23  7:20 Grover, Andrew
2001-12-23  9:15 ` Eric W. Biederman
2001-12-23  9:47   ` H. Peter Anvin
2001-12-23 21:24     ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2001-12-18 20:35 Torrey Hoffman
2001-12-18 19:50 Grover, Andrew
2001-12-18 20:26 ` Alexander Viro
2001-12-18 20:30 ` M. R. Brown
2001-12-18 20:35 ` H. Peter Anvin
2001-12-19  9:34 ` James A Sutherland
2001-12-23  1:02   ` Dave Cinege
2001-12-23  9:10     ` James A Sutherland
2001-12-19 14:13 ` Erik Mouw
2001-12-18 17:47 Grover, Andrew
2001-12-18 18:53 ` Alexander Viro
2001-12-18 19:43 ` David Weinehall
2001-12-18 17:43 Grover, Andrew
2001-12-18 18:45 ` Alexander Viro
2001-12-18 18:49 ` Greg KH
     [not found] <Pine.GSO.4.21.0112180350550.6100-100000@weyl.math.psu.edu>
2001-12-18 11:16 ` James A Sutherland
2001-12-18 19:10   ` H. Peter Anvin
2001-12-19  9:27     ` James A Sutherland
2001-12-19 10:11       ` Erik Andersen
2001-12-23  0:39     ` Dave Cinege
2001-12-23  0:42       ` H. Peter Anvin
2001-12-23  1:15         ` Dave Cinege
2001-12-23  1:35           ` H. Peter Anvin
2001-12-23  2:08             ` Alexander Viro
2001-12-17 22:10 Grover, Andrew
2001-12-18  2:31 ` Alexander Viro
2001-12-18  5:46   ` Craig Christophel
2001-12-23  0:28   ` Dave Cinege
2001-12-23  0:44   ` Dave Cinege
2001-12-23  1:39   ` H. Peter Anvin
2001-12-23  2:10     ` Alexander Viro
2001-12-23  3:00       ` Dave Cinege
2001-12-23  3:52         ` Alexander Viro
2001-12-23  4:41         ` Ryan Cumming
2001-12-23  5:52           ` Dave Cinege
2001-12-23  7:16             ` Bernd Eckenfels
2001-12-23  8:06               ` H. Peter Anvin
2001-12-23 12:22                 ` Kai Henningsen
2001-12-23 20:58                   ` Erik Mouw
2001-12-17 19:53 Grover, Andrew
2001-12-17 20:26 ` Alexander Viro
2001-12-16 20:37 Otto Wyss
2001-12-16 20:50 ` Alexander Viro
2001-12-17 18:49   ` Otto Wyss
2001-12-17 19:07     ` Andreas Dilger
2001-12-20 18:47       ` Otto Wyss
2001-12-16 21:06 ` H. Peter Anvin
2001-12-16 22:02   ` antirez
2001-12-16 22:18     ` H. Peter Anvin
2001-12-23  0:08 ` Dave Cinege
2001-12-23  6:26   ` Eric W. Biederman
2001-12-23 13:48   ` Alan Cox
2001-12-23 17:57     ` Dave Cinege
2001-12-23 23:05     ` Marcus Meissner
2001-12-24  2:38       ` Alan Cox
2001-12-27 10:58       ` Wilfried Weissmann

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=m1ellrwq8c.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=andrew.grover@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=otto.wyss@bluewin.ch \
    --cc=viro@math.psu.edu \
    /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