From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-kernel@vger.kernel.org
Cc: Andy Lutomirski <luto@myrealbox.com>
Subject: Re: 32-bit segfaults on x86_64 in recent mm kernels
Date: Sun, 7 Nov 2004 22:53:34 +0100 [thread overview]
Message-ID: <200411072253.34806.rjw@sisk.pl> (raw)
In-Reply-To: <418E8759.9070408@myrealbox.com>
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"
next prev parent reply other threads:[~2004-11-07 21:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-07 20:36 Andy Lutomirski
2004-11-07 21:15 ` Andy Lutomirski
2004-11-07 21:53 ` Rafael J. Wysocki [this message]
2004-11-08 0:15 ` Ricky Beam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200411072253.34806.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@myrealbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®