Messages in this thread Patch in this message | | | From | "Rafael J. Wysocki" <> | Subject | Re: 32-bit segfaults on x86_64 in recent mm kernels | Date | Sun, 7 Nov 2004 22:53:34 +0100 |
| |
On Sunday 07 of November 2004 21:36, Andy Lutomirski wrote: > I've had segfaults in 32-bit emulation in recent (and not-so-recent) -mm > kernels on x86_64. > > 2.6.7-gentoo-r11 and 2.6.10-rc1 both work fine (even wine works for the > most part). > > 2.6.9-rc3-mm3 can't run wine -- it always segfaults. Other apps seem OK. [-- snip --]
This is because of the flex mmap patch for x86-64. You can try the following workaround from Andi Kleen:
diff -u linux-2.6.10rc1-mm3/kernel/sysctl.c-o linux-2.6.10rc1-mm3/kernel/sysctl.c --- linux-2.6.10rc1-mm3/kernel/sysctl.c-o 2004-11-05 11:42:00.000000000 +0100 +++ linux-2.6.10rc1-mm3/kernel/sysctl.c 2004-11-06 13:50:22.000000000 +0100 @@ -147,7 +147,7 @@ #endif #ifdef HAVE_ARCH_PICK_MMAP_LAYOUT -int sysctl_legacy_va_layout; +int sysctl_legacy_va_layout = 1; #endif /* /proc declarations: */ Greets, RJW
-- - Would you tell me, please, which way I ought to go from here? - That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |