Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 21:45:53 +0100
From:      Wilko Bulte <wkb@freebie.xs4all.nl>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/release/sysinstall install.c label.c sysinstall.h
Message-ID:  <20020107214553.A12121@freebie.xs4all.nl>
In-Reply-To: <200201072034.g07KYPI54890@apollo.backplane.com>; from dillon@apollo.backplane.com on Mon, Jan 07, 2002 at 12:34:25PM -0800
References:  <200201070759.g077xUt53167@freefall.freebsd.org> <20020107141759.B9972@freebie.xs4all.nl> <200201071715.g07HFb312872@apollo.backplane.com> <20020107185251.A10846@freebie.xs4all.nl> <200201072034.g07KYPI54890@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 07, 2002 at 12:34:25PM -0800, Matthew Dillon wrote:
> 
> :> :I just got something like 'Too big swap' when I tried to install using
> :> :'A' on an Alpha DS20 using 4.5-RC0. This was on a 2GB disk, the machine
> :> :has 1.2GB of RAM. Would that combination of small disk versus lots of ram
> :> :be the culprit maybe?
> :> :
> :> :W/
> :> 
> :>     'Too big swap' during boot?  During the sysinstall?  I don't see
> :
> :During sysinstall just after typing 'A'. I will have to retry
> :at work if you want the exact error (I know.. me and my miserable
> :memory.. :-)
> :
> :W/
> 
>     This one?
> 
> label.c:            msg = "Unable to create the swap partition. Too big?";

Yep, sounds very familiar ;) [/me promises to keep a notepad close to the
testmachine next time]

>     Was this on a totally empty disklabel? (no other partitions created?).

Hmm, no. I just pressed 'A' for autosizing. So it also created / tried
to create a root partition I think. 

>     Hmm.  I could throw code in to prevent it from allocating swap space
>     greater then 1/4 of available space.  What do people think?  This is
>     primarily going to be a problem on systems with large amounts of memory
>     and tiny amounts of hard disk space.  
> 
>     Perhaps we should skip creating swap entirely in such cases.  Say if
>     (memory * 2) > (available_disk / 2) we would not create a swap.  Or
>     (memory * 2) > (available_disk / 4).

No swap at all will probably run you in sysinstall complaining somewhere
else. I think I once saw it yell at me when I forgot to create swap.
Or am I misremembering.

Wilko
-- 
|   / o / /_  _   		email: 	wilko@FreeBSD.org
|/|/ / / /(  (_)  Bulte		Arnhem, The Netherlands	

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020107214553.A12121>