Hello!

I had some problems running linux 2.6.19.1 as client UML.  When  
starting 'mapping mmap stub failed, errno = -12' is printed - with an  
additional Kernel panic. In the file arch/um/Kconfig.i386 the  
definition of STUB_CODE and STUB_DATA depend on the configuration  
symbol HOST_2G_2G which has gone sometimes in between 2.6.18.6 and  
2.6.19.1.

The applied patch solves the problem for me.

Kind regards

Andreas Florath


diff -u linux-2.6.19.1_orig/arch/um/Kconfig.i386  
linux-2.6.19.1/arch/um/Kconfig.i386
--- linux-2.6.19.1_orig/arch/um/Kconfig.i386    2006-12-11  
20:32:53.000000000 +0100
+++ linux-2.6.19.1/arch/um/Kconfig.i386 2007-01-10 09:32:01.000000000 +0100
@@ -67,13 +67,13 @@

  config STUB_CODE
         hex
-       default 0xbfffe000 if !HOST_2G_2G
-       default 0x7fffe000 if HOST_2G_2G
+       default 0xbfffe000 if !HOST_VMSPLIT_2G
+       default 0x7fffe000 if HOST_VMSPLIT_2G

  config STUB_DATA
         hex
-       default 0xbffff000 if !HOST_2G_2G
-       default 0x7ffff000 if HOST_2G_2G
+       default 0xbffff000 if !HOST_VMSPLIT_2G
+       default 0x7ffff000 if HOST_VMSPLIT_2G

  config STUB_START
         hex



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

Reply via email to