From: Andi Kleen <ak@suse.de>
To: Matthias Hanisch <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: Sun, 2 Nov 2003 14:35:35 +0100 [thread overview]
Message-ID: <20031102143535.0b9b39f2.ak@suse.de> (raw)
In-Reply-To: <200311021048.51887.matze@camline.com>
On Sun, 2 Nov 2003 10:48:51 +0100
Matthias Hanisch <matze@camline.com> wrote:
> Then it faults in __get_user, (double-fault), enters again __is_prefetch via
> do_page_fault, this address (the fault address in first __is_prefetch call) is
> handled properly and then the oops is reported as described yesterday.
> Applying your init patch seems to cure this problem, but then - as I said in
> the beginning - it loops infinitely.
When the __init patch helps means someone uses an exception table entry
in an __init or __exit function. The linker cannot deal with that and the
exception table ends up unordered, which breaks the exception handling.
That's a bug and needs to be fixed because it will break more than just
__is_prefetch
There are two options:
- Either sort the exception table at runtime
- Or track down the code. The way to track this down (if you want to do this) is to dump
the __ex_table ELF section in vmlinux using objdump. It consists of pairs
of addresses. The first address in the pair should be ordered over the section.
Find the unordered address and decode the second address using System.map. Then fix
that function either dropping the __init/__exit or eliminating the bad entry otherwise.
If you send me your .config in an usable way I can probably do this for you.
>
> At the moment I have no more ideas what to do here...
Maybe you just have a miscompilation of some sort. Do a make mrproper and try
again. You can also try if it happens with a smaller configuration.
-Andi
>
>
>
>
>
>
>
>
next prev parent reply other threads:[~2003-11-02 13:35 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
2003-11-02 9:48 ` Matthias Hanisch
2003-11-02 13:35 ` Andi Kleen [this message]
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=20031102143535.0b9b39f2.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