* [uml-devel] Curiosity about nested UML invocations... @ 2005-09-25 0:13 Rob Landley 2005-09-25 1:25 ` Jeff Dike 2005-09-25 17:59 ` Blaisorblade 0 siblings, 2 replies; 3+ messages in thread From: Rob Landley @ 2005-09-25 0:13 UTC (permalink / raw) To: user-mode-linux-devel So what does "nesting level" actually do, anyway? 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 sh-3.00# Just playing around, really, but now I'm curious... Rob ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] Curiosity about nested UML invocations... 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 1 sibling, 0 replies; 3+ messages in thread From: Jeff Dike @ 2005-09-25 1:25 UTC (permalink / raw) To: Rob Landley; +Cc: user-mode-linux-devel On Sat, Sep 24, 2005 at 07:13:23PM -0500, Rob Landley wrote: > So what does "nesting level" actually do, anyway? 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 > sh-3.00# In skas mode, it means nothing. The fact that it doesn't run inside itself means there's some other bug. Jeff ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] Curiosity about nested UML invocations... 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 1 sibling, 0 replies; 3+ messages in thread From: Blaisorblade @ 2005-09-25 17:59 UTC (permalink / raw) To: user-mode-linux-devel; +Cc: Rob Landley 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-25 18:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox