linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: Pravin <shindepravin@gmail.com>,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Configuration problem with UML in kernel 2.6.19.1
Date: Tue, 23 Jan 2007 08:37:47 +0100	[thread overview]
Message-ID: <200701230837.47338.blaisorblade@yahoo.it> (raw)
In-Reply-To: <9d1b82480701170915o38df718bp94896f1b0921e302@mail.gmail.com>

On Wednesday 17 January 2007 18:15, Pravin wrote:
> 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....
>
> 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.

> 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/

> Let me know if there is anything I can do to help here.
>
> On 1/17/07, Blaisorblade <blaisorblade@yahoo.it> wrote:
> > 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  ----------

-- 
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

       reply	other threads:[~2007-01-23  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200701171724.51671.blaisorblade@yahoo.it>
     [not found] ` <9d1b82480701170915o38df718bp94896f1b0921e302@mail.gmail.com>
2007-01-23  7:37   ` Blaisorblade [this message]
2007-01-10  9:28 [uml-devel] Configuration problem with UML in kernel 2.6.19.1 uml
2007-01-10 21:46 ` Jeff Dike
2007-01-17 12:19   ` Blaisorblade

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=200701230837.47338.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=shindepravin@gmail.com \
    --cc=user-mode-linux-devel@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