mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
	linuxppc-dev list <linuxppc-dev@lists.linuxppc.org>
Subject: Re: non-modular 2.6 ppc kernels miscompiled by gcc-3.3.1?
Date: Sun, 12 Oct 2003 15:19:22 +0200	[thread overview]
Message-ID: <1065964761.993.34.camel@gaston> (raw)
In-Reply-To: <200310121310.h9CDASEI006119@harpo.it.uu.se>

On Sun, 2003-10-12 at 15:10, Mikael Pettersson wrote:
> When I compile a non-modular 2.6 kernel for ppc with gcc-3.3.1,
> it oopses in __copy_tofrom_user() [copy_mount_options()] in
> user-space's first mount /proc call. User-space limps along
> for a while, oopsing in every mount call, and then hangs.
> 
> This occurs with 2.6.0-test5, test6, and the test7-based
> linuxppc-2.5 tree (rsync:ed today).
> 
> Enabling CONFIG_MODULES=y but still keeping everything built-in
> prevents the oopses.

Smells like some section alignement issues. Can you check
how the __ex_table  section is aligned and where __start___ex_table
points to ? (using objdump)

Ben.



  reply	other threads:[~2003-10-12 13:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 13:10 Mikael Pettersson
2003-10-12 13:19 ` Benjamin Herrenschmidt [this message]
2003-10-12 18:19   ` Sam Ravnborg
2003-10-13 16:05     ` Tom Rini
2003-10-12 19:47 Mikael Pettersson
2003-10-12 19:53 ` Sam Ravnborg
2003-10-12 21:45 Mikael Pettersson

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=1065964761.993.34.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=mikpe@csd.uu.se \
    /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®