Re: [PATCH] swap=device kernel commandline

2000-11-19 Thread Eric W. Biederman
Werner Almesberger [EMAIL PROTECTED] writes: Eric W. Biederman wrote: I have one that loads a second kernel over the network using dhcp to configure it's interface and tftp to fetch the image and boots that is only 20kb uncompressed Neat ;-) My goal is actually not only size, but

RE: [PATCH] swap=device kernel commandline

2000-11-19 Thread Anders Eriksson
= Original Message From [EMAIL PROTECTED] (Eric W. Biederman) = Werner Almesberger [EMAIL PROTECTED] writes: Eric W. Biederman wrote: I have one that loads a second kernel over the network using dhcp to configure it's interface and tftp to fetch the image and boots that is only

Re: [PATCH] swap=device kernel commandline

2000-11-19 Thread Pavel Machek
Hi1 Did you try to load an initrd on a low-memory machine? It shouldn't work and it probably won't ;) You must be really low on memory ;-) # zcat initrd.gz | wc -c 409600 (ash, pwd, chroot, pivot_root, smount, and still about 82 kB free.) Your solution requires 400K initrd _plus_

[PATCH] swap=device kernel commandline

2000-11-18 Thread Kaj-Michael Lang
This patch adds a swap kernel commandline option, so that you can add a swap partition before init starts running on a low-memory machine. The patch is against 2.4.0-test11-pre7 This is my first try at a kernel patch so... I hope someone finds it usefull. --- init/main.c-2.4.0test11-pre7

Re: [PATCH] swap=device kernel commandline

2000-11-18 Thread Francois romieu
Hi, The Sat, Nov 18, 2000 at 01:46:40PM +0200, Kaj-Michael Lang wrote : This patch adds a swap kernel commandline option, so that you can add a swap partition before init starts running on a low-memory machine. Did you try and add swap from an initrd image ? It should work and it's already

Re: [PATCH] swap=device kernel commandline

2000-11-18 Thread Rik van Riel
On Sat, 18 Nov 2000, Francois romieu wrote: The Sat, Nov 18, 2000 at 01:46:40PM +0200, Kaj-Michael Lang wrote : This patch adds a swap kernel commandline option, so that you can add a swap partition before init starts running on a low-memory machine.

Re: [PATCH] swap=device kernel commandline

2000-11-18 Thread Werner Almesberger
Rik van Riel wrote: Did you try to load an initrd on a low-memory machine? It shouldn't work and it probably won't ;) You must be really low on memory ;-) # zcat initrd.gz | wc -c 409600 (ash, pwd, chroot, pivot_root, smount, and still about 82 kB free.) - Werner --

Re: [PATCH] swap=device kernel commandline

2000-11-18 Thread Eric W. Biederman
Werner Almesberger [EMAIL PROTECTED] writes: Rik van Riel wrote: Did you try to load an initrd on a low-memory machine? It shouldn't work and it probably won't ;) You must be really low on memory ;-) # zcat initrd.gz | wc -c 409600 (ash, pwd, chroot, pivot_root, smount, and still

Re: [PATCH] swap=device kernel commandline

2000-11-18 Thread Werner Almesberger
Eric W. Biederman wrote: I have one that loads a second kernel over the network using dhcp to configure it's interface and tftp to fetch the image and boots that is only 20kb uncompressed Neat ;-) My goal is actually not only size, but also to have a relatively normal build environment,