All of lore.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Russell King <rmk@arm.linux.org.uk>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Roman Zippel <zippel@linux-m68k.org>,
	"H. Peter Anvin" <hpa@zytor.com>, Greg KH <greg@kroah.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [BK PATCH] klibc for 2.5.64 - try 2
Date: 07 Mar 2003 19:06:42 -0700	[thread overview]
Message-ID: <m1d6l2lih9.fsf@frodo.biederman.org> (raw)
In-Reply-To: <20030307233916.Q17492@flint.arm.linux.org.uk>

Russell King <rmk@arm.linux.org.uk> writes:

> On Fri, Mar 07, 2003 at 03:05:32PM -0800, Linus Torvalds wrote:
> > However, I also have to say that klibc is pretty late in the game, and as 
> > long as it doesn't add any direct value to the kernel build the whole 
> > thing ends up being pretty moot right now. It might be different if we 
> > actually had code that needed it (ie ACPI in user space or whatever).
> 
> Alan was recently trying to convince people that ipconfig.c should be
> deleted from the 2.5 kernel today.  That was until I pointed out that
> people do download kernels via xmodem to embedded boards (because that's
> what the boot loader supports) and they want to be able to use root-NFS.
> I think Alan is reasonably happy for it to stay now, although I haven't
> had any hard positive confirmation of that fact.

There is another reason ipconfig.c should die.   Except in simple setups
it does the wrong thing.  I have had it get a DHCP reply off of the wrong 
NIC.  Having the wrong policy in the kernel is a problem.  Especially
when people think about fixing it...

> As long as we don't have equivalent functionality present which replaces
> ipconfig.c and nfsroot.c without adding stupidly sized initrd images to
> the kernel, I will continue to resist the removal of both of these
> features.

I agree ipconfig.c works well for development.  Last time I played with
something like this it should not be hard to get the entire initrd
binary down to 30K-40K.   I think you can probably do it in 16K but...

As far as equivalent functionality there is already a dhcp client and
a mount client in busybox.  So in the worst case someone it will
take just a bit of glue to put these things together.

> klibc provided a way, but if that isn't going to be merged and this stuff
> made to work for 2.6, then I think we must keep ipconfig.c and
> nfsroot.c.

Either klibc or alternative user space implementation.  There is no
reason that magic has to happen in the kernel.  The only thing has
to be implemented is a way to smush a kernel and an initrd together.

Eric

  parent reply	other threads:[~2003-03-08  1:56 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07  0:16 [BK PATCH] klibc for 2.5.64 - try 2 Greg KH
2003-03-07  1:02 ` Roman Zippel
2003-03-07  1:05   ` H. Peter Anvin
2003-03-07  1:23     ` Roman Zippel
2003-03-07  1:35       ` H. Peter Anvin
2003-03-07  9:55         ` Roman Zippel
2003-03-07 13:43           ` H. Peter Anvin
2003-03-07 15:33             ` Kai Germaschewski
2003-03-07 19:42               ` H. Peter Anvin
2003-03-07 18:37             ` Roman Zippel
2003-03-07 18:52               ` Linus Torvalds
2003-03-07 21:55                 ` Roman Zippel
2003-03-07 23:05                   ` Linus Torvalds
2003-03-07 23:36                     ` Greg KH
2003-03-07 23:53                       ` Linus Torvalds
2003-03-07 23:55                         ` Greg KH
2003-03-08  0:47                           ` Linus Torvalds
2003-03-08  0:54                             ` Greg KH
2003-03-07 23:39                     ` Russell King
2003-03-07 23:44                       ` H. Peter Anvin
2003-03-08  0:00                         ` Russell King
2003-03-08  0:38                         ` Roman Zippel
2003-03-08  0:46                           ` H. Peter Anvin
2003-03-08  1:27                             ` Roman Zippel
2003-03-12 17:27                               ` Pavel Machek
2003-03-13  0:22                                 ` H. Peter Anvin
2003-03-08  0:46                           ` David Lang
2003-03-08  1:49                             ` Roman Zippel
2003-03-08  2:00                               ` David Lang
2003-03-08  2:26                                 ` Roman Zippel
2003-03-08 16:55                                 ` Roman Zippel
2003-03-08 17:06                                   ` Vlad@geekizoid.com
2003-03-08  2:06                       ` Eric W. Biederman [this message]
     [not found]                         ` <20030308100359.A27153@flint.arm.linux.org.uk>
2003-03-08 15:50                           ` Eric W. Biederman
2003-03-08 16:13                             ` Russell King
2003-03-08 17:28                               ` Eric W. Biederman
2003-03-08 21:08                                 ` H. Peter Anvin
2003-03-09  2:25                                   ` Eric W. Biederman
2003-03-09  2:30                                     ` Larry McVoy
2003-03-09 11:32                                 ` Daniel Egger
2003-03-09 11:46                                   ` Eric W. Biederman
2003-03-09 14:19                                     ` Daniel Egger
2003-03-10  0:49                                       ` H. Peter Anvin
2003-03-10  1:40                                         ` Daniel Egger
2003-03-10  6:01                                       ` Eric W. Biederman
2003-03-10 20:33                                       ` Hans-Peter Jansen
2003-03-10 22:02                                         ` Daniel Egger
2003-03-08 20:52                             ` H. Peter Anvin
2003-03-08 21:10                             ` H. Peter Anvin
2003-03-09  1:29                               ` Eric W. Biederman
2003-03-09  1:46                                 ` H. Peter Anvin
2003-03-09  2:37                                   ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07 19:21 Matthew Wilcox
2003-03-07 21:04 ` Alan Cox
     [not found] <1047106664.22024.0.camel@rth.ninka.net>
2003-03-08 15:54 ` Linus Torvalds
2003-03-08 16:03   ` David S. Miller
2003-03-08 16:35     ` Linus Torvalds
2003-03-08 16:22       ` David S. Miller
2003-03-08 17:07       ` Larry McVoy
2003-03-08 20:22         ` Linus Torvalds
2003-03-08 21:02         ` H. Peter Anvin
2003-03-08 20:56       ` H. Peter Anvin
2003-03-09  1:24       ` Roman Zippel

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=m1d6l2lih9.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=greg@kroah.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=torvalds@transmeta.com \
    --cc=zippel@linux-m68k.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.