From: ebiederm@xmission.com (Eric W. Biederman)
To: Bogdan Costescu <bogdan.costescu@iwr.uni-heidelberg.de>
Cc: Russell King <rmk@arm.linux.org.uk>,
Chris Dukes <pakrat@www.uk.linux.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Jeff Garzik <jgarzik@pobox.com>, Robin Holt <holt@sgi.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
<netdev@oss.sgi.com>
Subject: Re: Make ipconfig.c work as a loadable module.
Date: 08 Mar 2003 09:07:11 -0700 [thread overview]
Message-ID: <m14r6dlu4w.fsf@frodo.biederman.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0303081132030.12316-100000@kenzo.iwr.uni-heidelberg.de>
Bogdan Costescu <bogdan.costescu@iwr.uni-heidelberg.de> writes:
> On 7 Mar 2003, Eric W. Biederman wrote:
>
> > Only because the implementations suck. See etherboot.
>
> Agreed, but as you rightly say at the end of your message...
>
> > But sometimes you are stuck with what you can do.
>
> ... and you can't go use etherboot or whatever, you have to deal with it.
At the very least I can use etherboot as a NBP in PXE terms. So I have
a reasonable client after the first tftp transaction.
> You can deal with it today because ipconfig is small, you might not be
> able to deal with it tomorrow if you'll have to transfer twice as much
> because of a big initrd.
I routinely support an initrd with:
glibc.
/bin/bash
dhclient
mke2fs
mkreiserfs
parted
sfdisk
mount
pivot_root
etc. (All binaries were striped though).
And I usually have to pass an ramdisk_size=XXX option to the kernel or
my decompressed initial ramdisk is to large. I use it for setting up
a local filesystem on a cluster node. And I was able to setup an
entire cluster 1000 node cluster in about 15-20 minutes. (Multicast cuts
down on the bandwidth requirements which is very nice).
With a good bootloader it does not much how big your initrd is. I
totally agree that small is good and important. At the same time
ipconfig.c is wrong. It is great during development and on systems
with a single NIC. But the hard coded policies can be bad for
production systems. Not that hard coded policies are bad in general
just the kernel is the wrong place to put them.
> > But this is all before the kernel is loaded.
>
> But that's exactly my point. The ipconfig functionality is needed and what
> I ask for is that whatever means (if any) are chosen to replace it, they
> should keep the low size.
Similar functionality is definitely needed.
>
> > Having booted a 1000 node cluster with TFTP and DHCP.
>
> I do not doubt this, but I'm afraid that you (or we) might not be able to
> do it again tomorrow. And probably this is an ideal case where you have
> used the better solution as client (etherboot)...
True. But when things are important and the there is GPL'd firmware
available that actually works properly. It is worth putting it on the
requirements list of things to do.
Eric
next prev parent reply other threads:[~2003-03-08 16:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-06 21:10 Make ipconfig.c work as a loadable module Robin Holt
2003-03-06 22:34 ` Alan Cox
2003-03-06 22:11 ` Jeff Garzik
2003-03-06 22:25 ` Russell King
2003-03-06 22:32 ` Jeff Garzik
2003-03-07 0:13 ` Alan Cox
2003-03-06 23:19 ` Russell King
2003-03-07 0:29 ` Alan Cox
2003-03-07 0:08 ` Russell King
2003-03-07 1:29 ` Chris Dukes
2003-03-07 9:42 ` Russell King
2003-03-07 11:46 ` Bogdan Costescu
2003-03-08 2:03 ` Eric W. Biederman
2003-03-08 10:45 ` Bogdan Costescu
2003-03-08 16:07 ` Eric W. Biederman [this message]
2003-03-08 16:19 ` Russell King
2003-03-08 16:48 ` Eric W. Biederman
2003-03-08 17:05 ` Russell King
2003-03-08 18:01 ` Eric W. Biederman
2003-03-07 13:38 ` Chris Dukes
2003-03-07 14:29 ` Russell King
2003-03-07 16:23 ` Richard B. Johnson
2003-03-07 21:47 ` William Lee Irwin III
2003-03-07 22:00 ` Chris Friesen
2003-03-07 7:15 ` Michael Mueller
2003-03-07 12:54 ` Alan Cox
2003-03-07 21:33 ` Michael Mueller
2003-03-09 4:46 ` Arnaldo Carvalho de Melo
2003-03-07 9:10 ` Denis Vlasenko
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=m14r6dlu4w.fsf@frodo.biederman.org \
--to=ebiederm@xmission.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bogdan.costescu@iwr.uni-heidelberg.de \
--cc=holt@sgi.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=pakrat@www.uk.linux.org \
--cc=rmk@arm.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).