linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Rob Landley <rob@landley.net>
Subject: Re: [uml-devel] Curiosity about nested UML invocations...
Date: Sun, 25 Sep 2005 19:59:48 +0200	[thread overview]
Message-ID: <200509251959.49639.blaisorblade@yahoo.it> (raw)
In-Reply-To: <200509241913.24060.rob@landley.net>

On Sunday 25 September 2005 02:13, Rob Landley wrote:
> So what does "nesting level" actually do, anyway?
For TT mode it's needed because, in the virtual address space, host kernel 
uses 3G-4G, a normal TT mode UML uses 2.5 G - 3G *, so a nested UML must use 
2.0G-2.5G.

* Note: the load address is decided at link time, so this is used even if you 
just compile TT mode in. IOW, when you enable TT mode and you try using more 
than 512M (actually 480M for various reasons), you'd need HIGHMEM, which is 
slow. Disabling TT mode and running SKAS0 is better.
> Trying to run UML from 
> within itself (giving the outer invocation mem=128M), I get the following
> error:

> sh-3.00# ./linux rootfstype=hostfs rw init=/bin/sh LD_ASSUME_KERNEL=2.4.1
> Checking for /proc/mm...not found
> Checking for the skas3 patch in the host...found
> UML running in SKAS0 mode

> os_mode_fd: No such file or directory
Strace would be of help, possibly is looking for some file inside /proc 
(say /proc/cpuinfo, but it exists, so it must be another one).

> sh-3.00#

> Just playing around, really, but now I'm curious...

> Rob

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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      parent reply	other threads:[~2005-09-25 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-25  0:13 [uml-devel] Curiosity about nested UML invocations Rob Landley
2005-09-25  1:25 ` Jeff Dike
2005-09-25 17:59 ` Blaisorblade [this message]

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=200509251959.49639.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=rob@landley.net \
    --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