All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harvey Harrison <harvey.harrison@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Kosina <jkosina@suse.cz>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: Unify mmap_{32|64}.c
Date: Tue, 11 Dec 2007 11:19:42 -0800	[thread overview]
Message-ID: <1197400782.8761.10.camel@brick> (raw)
In-Reply-To: <20071211140830.GC12204@elte.hu>

On Tue, 2007-12-11 at 15:08 +0100, Ingo Molnar wrote:
> * Jiri Kosina <jkosina@suse.cz> wrote:
> 
> > > hm, it fails to boot on Fedora 8:
> > >  Freeing unused kernel memory: 296k freed
> > >  Write protecting the kernel read-only data: 1500k
> > >  mount[623]: segfault at 0000000b ip 4d681ab6 sp bf9a1b94 error 6
> > >  modprobe[625]: segfault at 0000000b ip 4d681ab6 sp bffd9994 error 6
> > >  consoletype[629]: segfault at 0000000b ip 4d681ab6 sp bfb6ad14 error 6
> > >  awk[632]: segfault at 0000000b ip 4d681ab6 sp bffe68c4 error 6
> > >  fstab-decode[633]: segfault at 0000000b ip 4d681ab6 sp bff1c8c4 error 6
> > >  setsysfont[634]: segfault at 0000000b ip 4d681ab6 sp bfdd0f74 error 6
> > >  hwclock[637]: segfault at 0000000b ip 4d681ab6 sp bf963304 error 6
> > >  touch[642]: segfault at 0000000b ip 4d681ab6 sp bf98cb34 error 6
> > >  modprobe[651]: segfault at 0000000b ip 4d681ab6 sp bfbc0564 error 6
> > >  rhgb-client[654]: segfault at 0000000b ip 4d681ab6 sp bfe9c024 error 6
> > 
> > Ingo,
> > 
> > just for clarification -- this happens with Harvery's merged code 
> > (haven't looked at it yet), but not with the original code, do I 
> > understand it correctly?

Ingo,

Brown paper bag for me.

in mmap.c in mmap_is_ia32()

#ifdef X86_32

should of course be:

#ifdef CONFIG_X86_32

This would definitely explain the segfaults.  Do you want a replacement
patch or incremental?

Harvey


  parent reply	other threads:[~2007-12-11 19:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1196889830.10408.50.camel@brick>
     [not found] ` <20071209081324.GB4509@elte.hu>
2007-12-10 15:50   ` [PATCH] x86: Unify mmap_{32|64}.c Harvey Harrison
2007-12-11  8:39     ` Ingo Molnar
2007-12-11 10:43       ` Ingo Molnar
2007-12-11 12:05         ` Jiri Kosina
2007-12-11 14:08           ` Ingo Molnar
2007-12-11 19:11             ` Harvey Harrison
2007-12-11 19:19             ` Harvey Harrison [this message]
2007-12-11 21:15               ` Ingo Molnar

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=1197400782.8761.10.camel@brick \
    --to=harvey.harrison@gmail.com \
    --cc=hpa@zytor.com \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.