public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
Cc: "Grover,
	Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: Re: DSDT in initrd
Date: Thu, 22 May 2003 15:31:32 +0200	[thread overview]
Message-ID: <20030522133132.GJ346@poupinou.org> (raw)
In-Reply-To: <1053603651.2541.10.camel-2MMpYkNvuYAXoXS6vNje7nviChZXdy279dF7HbQ/qKg@public.gmane.org>

On Thu, May 22, 2003 at 12:40:52PM +0100, Alan Cox wrote:
> On Iau, 2003-05-22 at 08:48, Grover, Andrew wrote:
> > can load individual modules. The limitations of lilo should not be taken
> > to be the limitations of all boot loaders. lilo is the lowest common
> > denominator loader, and while we want Linux to work with it, Linux could
> > work *better* if we took advantage of grub's additional capabilities.
> 
> On a lot of non x86 platforms Lilo is considerably more featureful.
> Initrd basically exists as a way to take an arbitary bootloader and feed
> it stuff. In some cases the tools even nail the initrd onto the end of
> the binary because the boot loader isnt smart enough to load.

I don't understand.  On a lot of non x86 lilo do not even exist (PPC <- quick
or yaboot, SPARC <- silo) etc.

> 
> > What this enables is not only an elimination of the hassle of initrd, it
> > enables previously unmodularizable things like ACPI, or PCI, or all the
> > special code needed for x86 subarchs, or whatever other code that one
> > machine needs (highmem?) but that most do not to now be modularized.
> 
> I'm not sure it does. A lot of the stuff like handling multiple system
> variants requires you are able to handle all of them until you reach a 
> point where you know the one you want. 
> 
> Modularisation is the key but I suspect we actually want to turn the
> problem inside out. If for example all the ACPI stuff was linked into an
> acpi.text and acpi.data section then we can boot, having established we
> don't need acpi we can eject acpi just like we eject __init code.
> 
> > Having the modules specified individually to the bootloader makes things
> > simpler.
> 
> Whats the difference between feedling the list to the bootloader or to
> mkinitrd ?

You can retrieve most hardware configuration (PnP, ACPI, etc) via a module
at boot loader stage, even if kernel is not launched, not after you have
access to the fs inside the initrd image.

> 
> > Having an in-kernel linker lets previously unmodularizable code be
> > modularized.
> 
> Definitely - and Rusty has done that for 2.5.x

Just a question (I have not looked).  Can you preload modules or
discharge them before booting kernel with 2.5 (as in FreeBSD) ?

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

  parent reply	other threads:[~2003-05-22 13:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22  7:48 Re: Re: DSDT in initrd Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A2B3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-22  8:04   ` Mark Santcroos
     [not found]     ` <20030522080420.GA634-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-05-24  4:51       ` M. Warner Losh
2003-05-22 11:40   ` Alan Cox
     [not found]     ` <1053603651.2541.10.camel-2MMpYkNvuYAXoXS6vNje7nviChZXdy279dF7HbQ/qKg@public.gmane.org>
2003-05-22 13:31       ` Ducrot Bruno [this message]
     [not found]         ` <20030522133132.GJ346-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-05-22 16:07           ` Russell Coker
2003-05-24  7:32   ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2003-05-28 18:31 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E96EE6-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-28 19:01   ` Pavel Machek
2003-05-28 20:27 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A2C3-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-28 20:36   ` Pavel Machek
2003-05-28 21:46   ` Matthew Wilcox

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=20030522133132.GJ346@poupinou.org \
    --to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox