public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Booting a modular kernel through a multiple streams file
@ 2001-12-17 22:10 Grover, Andrew
  2001-12-18  2:31 ` Alexander Viro
  2001-12-18 15:26 ` Booting a modular kernel through a multiple streams file / Making Linux multiboot capable and grub loading kernel modules at boot time Christian Koenig
  0 siblings, 2 replies; 26+ messages in thread
From: Grover, Andrew @ 2001-12-17 22:10 UTC (permalink / raw)
  To: 'Alexander Viro'
  Cc: 'otto.wyss@bluewin.ch',
	'linux-kernel@vger.kernel.org'

> From: Alexander Viro [mailto:viro@math.psu.edu]
> On Mon, 17 Dec 2001, Grover, Andrew wrote:
> > I don't think multiple streams is a good idea, but did you 
> all see the patch
> > by Christian Koenig to let the bootloader load modules? 
> That seems to solve
> > the problem nicely.
> 
> That puts an awful lot of smarts into bootloader and creates 
> code duplication
> for no good reason.
> 
> We _already_ have code for loading modules.  And it's going 
> to stay, no
> matter what happens on boot.  So why the hell duplicate that 
> in $BIGNUM
> unrelated pieces of software (LILO, SYSLINUX, MILO, SILO, etc.)?  Just
> to create extra fun with debugging?

OK so (correct me if I'm wrong) there are two parts to loading modules -
getting them in memory, and then resolving references. My understanding of
Christian's work is that the bootloader (e.g. GRUB) gets them in memory, but
then it is up to the kernel linker to resolve refs. So yes, there would be
an additional piece of code (marked __init), but it would not have to be
duplicated for each bootloader -- all they have to do is get the modules in
memory and indicate via the multiboot struct where they are.

I don't think this will obsolete any existing boot methods, but it seems
like an additional genuinely useful capability for the Linux kernel to have.

Regards -- Andy

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2001-12-23 20:59 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-17 22:10 Booting a modular kernel through a multiple streams file Grover, Andrew
2001-12-18  2:31 ` Alexander Viro
2001-12-18  5:46   ` Craig Christophel
2001-12-23  0:28   ` Dave Cinege
2001-12-23  0:44   ` Dave Cinege
2001-12-23  1:39   ` H. Peter Anvin
2001-12-23  2:10     ` Alexander Viro
2001-12-23  3:00       ` Dave Cinege
2001-12-23  3:52         ` Alexander Viro
2001-12-23  4:41         ` Ryan Cumming
2001-12-23  5:52           ` Dave Cinege
2001-12-23  7:16             ` Bernd Eckenfels
2001-12-23  8:06               ` H. Peter Anvin
2001-12-23 12:22                 ` Kai Henningsen
2001-12-23 20:58                   ` Erik Mouw
2001-12-23  9:14       ` tar vs cpio (was: Booting a modular kernel through a multiple streams file) H. Peter Anvin
2001-12-22 19:53         ` T. A.
2001-12-23 19:17           ` H. Peter Anvin
2001-12-23  9:51         ` Ryan Cumming
2001-12-23  9:53           ` H. Peter Anvin
2001-12-23 12:01         ` Wichert Akkerman
2001-12-23 14:28         ` Alexander Viro
2001-12-23 19:28           ` H. Peter Anvin
2001-12-23 20:00           ` H. Peter Anvin
2001-12-18 15:26 ` Booting a modular kernel through a multiple streams file / Making Linux multiboot capable and grub loading kernel modules at boot time Christian Koenig
2001-12-18 18:32   ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox