Skip to contentSkip to conversation

Configuration problem with UML in kernel 2.6.19.1

uml-devel Blaisorblade 1 participant 1 message Jan 23, 2007 2 messages not in the archive User-mode Linux (UML)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 8 lines · Pravin

Thanx :-)
Its working now.... :-)

One more thing that I would like to tell here.
I did used same compiled kernel on other machine which was having 2.6.17-1.2187_FC5.
And that kernel 2.6.19 without your patch did worked fine....

Quoted 5 lines

but same kernel 2.6.19 was not working on my machine which is Debian 2.6.18. After applying your patch and changing the configuration to HOST_2G_2G its working fine now on my Debian machine 2.6.18.

Can I know what excatly was the problem... ?

Usually the host kernel "gives"* a certain space (3G) to userspace apps. Some host kernels give less memory (say 2,75G, 2G, or even 1G) to userspace apps (these days, it depends on the CONFIG_VMSPLIT_* settings, before it could be tuned via external patches like -ck patchset or probably others).

Most application use the available memory, but UML, for now, needs to know that it can use a given amount - say 2G. It will run fine when more memory is available, but not when less memory is available.

At last, why different splits? While 3G is usual (normally named 3G/1G), on a host with 1G of RAM you either use HIGHMEM (with a little slowdown) or use a 2,75G/1,25G split.

* This is "virtual address space", not a statical split assigning physical RAM to different purposes - but I won't go in the details here.

Quoted 1 line

My main objective is to run SELinux on UML kernel and test it.

Probably Antoine Martin is the one having more experience on UML+SELinux. This is his page on the argument:

http://uml.nagafix.co.uk/SELinux/

Quoted 7 lines

Let me know if there is anything I can do to help here.

Quoted 4 lines · Blaisorblade

You mentioned trying to use CONFIG_HOST_VMSPLIT to solve a problem, that is of little use without this applied, if you run UML in SKAS0 mode.

---------- Forwarded Message ----------

Signature · 16 lines
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel