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=lnk&kid0944&bid$1720&dat1642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to