Curiosity about nested UML invocations...
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 modeos_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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 10 lines · Rob Landley
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...notfound
Checking for the skas3 patch in the host...found
UML running in SKAS0 modeos_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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 1 line · Rob Landley
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.
Quoted 10 lines
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...notfound
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).
Quoted 5 lines
sh-3.00#
Just playing around, really, but now I'm curious...
Rob
Signature · 23 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel