Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 3 Feb 2002 14:49:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 3 Feb 2002 14:49:00 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:2832 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sun, 3 Feb 2002 14:48:54 -0500 Message-ID: <3C5D940D.4000406@zytor.com> Date: Sun, 03 Feb 2002 11:48:29 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us, en, sv MIME-Version: 1.0 To: "Eric W. Biederman" CC: "Erik A. Hendriks" , Andrew Morton , linux-kernel@vger.kernel.org, Werner Almesberger Subject: Re: [RFC] x86 ELF bootable kernels/Linux booting Linux/LinuxBIOS In-Reply-To: <3C586355.A396525B@zip.com.au> <3C58B078.3070803@zytor.com> <3C58CAE0.4040102@zytor.com> <20020131103516.I26855@lanl.gov> <3C59DB56.2070004@zytor.com> <3C5A5F25.3090101@zytor.com> <3C5ADDD1.6000608@zytor.com> <3C5C54D2.2030700@zytor.com> <3C5C98E6.2090701@zytor.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Eric W. Biederman wrote: > > O.k. I have been thinking about this some more, and I have come up with a couple > alternate of solutions. > > The simplest is the observation that right now 10MB is about what it > takes to hold every Linux driver out there. So all you really need is > a 16MB system, to avoid a device probing loader. And probably > noticeably less than that. The only systems I see having real > problems are old systems where device enumeration is not reliable, and > require human intervention anyway. > > A second is to just make certain there is some kind of fallback path > so if the image is too large have a way to load a smaller one. When > you consider that older systems had less memory it has a reasonable > chance of working properly. > > My final and favorite is to take an ELF image, define a couple of ELF > note types, and add a bunch those notes saying which pieces are > hardware dependent. So a smart ELF loader can prune the image as it > is loaded, and a stupid one will just attempt to load everything. And > with the setup for this not being bootloader specific it will probably > encourage device pruning loaders. > > Am I being optimistic or are there any pressing cases for callbacks to > the firmware? > Ok, now let me ask the question that hopefully should be obvious to everyone now... WHAT'S THE POINT? All you're doing is an awfully complex song and dance to *avoid* implementing a solution that, while imperfect, is thoroughly established and has worked for 20 years. -hpa - 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/