linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Configuration problem with UML in kernel 2.6.19.1
@ 2007-01-10  9:28 uml
  2007-01-10 21:46 ` Jeff Dike
  0 siblings, 1 reply; 4+ messages in thread
From: uml @ 2007-01-10  9:28 UTC (permalink / raw)
  To: user-mode-linux-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-23  7:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200701171724.51671.blaisorblade@yahoo.it>
     [not found] ` <9d1b82480701170915o38df718bp94896f1b0921e302@mail.gmail.com>
2007-01-23  7:37   ` [uml-devel] Configuration problem with UML in kernel 2.6.19.1 Blaisorblade
2007-01-10  9:28 uml
2007-01-10 21:46 ` Jeff Dike
2007-01-17 12:19   ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox