linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: <matze@camline.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: Oops in __is_prefetch with 2.6.0-test9-bk4 at boot time with Athlon XP 1800+
Date: Sat, 1 Nov 2003 20:14:46 +0100	[thread overview]
Message-ID: <20031101201446.513ce9b6.ak@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0311010655490.29382-200000@homer2.camline.com>

On Sat, 1 Nov 2003 07:01:38 +0100 (MET)
<matze@camline.com> wrote:

> Andi, it seems that you are the right person for this. It looks like my athlon
> dies in the __get_user call in __is_prefetch at boot up when bash is used as
> init process (look in [2.] for more details).
> 
> Just ask for any additional information.

Does it go away when you apply the following patch?

I need your config, but the complete config (without the comments dropped) 
and without the attachment converted to CR-LF line endings. I just spent several minutes
debugging the extremly cryptic error message from Kconfig you get for that.

Most likely something is reordering the exception table, breaking __get_user.

-Andi

diff -u linux-test9bk4/include/linux/init.h-o linux-test9bk4/include/linux/init.h
--- linux-test9bk4/include/linux/init.h-o	2003-09-28 10:53:23.000000000 +0200
+++ linux-test9bk4/include/linux/init.h	2003-11-01 22:10:21.000000000 +0100
@@ -40,15 +40,15 @@
 
 /* These are for everybody (although not all archs will actually
    discard it in modules) */
-#define __init		__attribute__ ((__section__ (".init.text")))
+#define __init		
 #define __initdata	__attribute__ ((__section__ (".init.data")))
 #define __exitdata	__attribute__ ((__section__(".exit.data")))
-#define __exit_call	__attribute_used__ __attribute__ ((__section__ (".exitcall.exit")))
+#define __exit_call	
 
 #ifdef MODULE
 #define __exit		__attribute__ ((__section__(".exit.text")))
 #else
-#define __exit		__attribute_used__ __attribute__ ((__section__(".exit.text")))
+#define __exit		
 #endif
 
 /* For assembly routines */



  reply	other threads:[~2003-11-01 19:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01  6:01 PROBLEM: Oops in __is_prefetch with 2.6.0-test9-bk4 at boot time with Athlon XP 1800+ matze
2003-11-01 19:14 ` Andi Kleen [this message]
2003-11-02  9:48   ` Matthias Hanisch
2003-11-02 13:35     ` Andi Kleen
2003-11-03  9:40       ` matze

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=20031101201446.513ce9b6.ak@suse.de \
    --to=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matze@camline.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;
as well as URLs for NNTP newsgroup(s).