Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 8 Mar 2003 10:57:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 8 Mar 2003 10:57:51 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:4918 "EHLO frodo.biederman.org") by vger.kernel.org with ESMTP id ; Sat, 8 Mar 2003 10:57:50 -0500 To: Bogdan Costescu Cc: Russell King , Chris Dukes , Alan Cox , Jeff Garzik , Robin Holt , Linux Kernel Mailing List , Subject: Re: Make ipconfig.c work as a loadable module. References: From: ebiederm@xmission.com (Eric W. Biederman) Date: 08 Mar 2003 09:07:11 -0700 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2524 Lines: 62 Bogdan Costescu 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/