linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net,
	stefano.melchior@openlabs.it
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-devel] memory option crashes the uml bootstrap phase
Date: Tue, 21 Mar 2006 19:54:08 +0100	[thread overview]
Message-ID: <200603211954.08891.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20060321145054.GB18505@SteX>

On Tuesday 21 March 2006 15:50, Stefano Melchior wrote:
> On Tue, Mar 21, 2006 at 03:26:25PM +0100, Stefano Melchior wrote:
> Dear all,
> [...]
> I also noticed that, from manual page, if you use:

> mem=memory
> This controls how much "physical" memory the kernel
> allocates for the system. The size is specified  as  a  number
>  followed by one of ’k’, ’K’, ’m’, ’M’, which have the
> obvious meanings.  This is not related to the amount of memory
>  in the physical machine. It can be more, and the
> excess, if it’s ever used, will just be swapped out.
>
> - mem=256m it works
> - while mem=256M it crashes!

No, that crash is likely a race condition and the code treats mem=256{m,M} the 
same way. 
Verified in arch/um/kernel/physmem.c:uml_mem_setup and lib/cmdline.c:memparse.

However, test increasing /proc/sys/vm/max_map_count and disabling 
CONFIG_MODE_TT as suggested by Jeff, I've already seen this to fix this 
problem.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-03-21 18:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21 14:26 [uml-devel] memory option crashes the uml bootstrap phase Stefano Melchior
2006-03-21 14:50 ` Stefano Melchior
2006-03-21 18:54   ` Blaisorblade [this message]
2006-03-21 20:51     ` Jeff Dike
2006-03-22 15:30       ` Blaisorblade
2006-03-22 16:53         ` Jeff Dike
2006-03-22 11:04     ` Stefano Melchior
2006-03-22 15:39       ` [uml-user] " Jeff Dike
2006-03-22 15:43       ` Blaisorblade
2006-03-21 16:41 ` Jeff Dike

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=200603211954.08891.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=stefano.melchior@openlabs.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    /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