Re: [PATCH] swap= 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= 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= 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= 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, smou

Re: [PATCH] swap= 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

Re: [PATCH] swap= 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

RE: [PATCH] swap= 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 >> >

Re: [PATCH] swap= kernel commandline

2000-11-19 Thread Werner Almesberger
Eric W. Biederman wrote: > Hmm. What does it take to mount an NFS partition? Mainly Sun RPC :-( > Anyway. All I did was wrote a tiny libc that is just a bunch of > wrappers for syscalls, and some string functions. Certainly a good approach. It's also basically the idea behind newlib, although

Re: [PATCH] swap= 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 ini