mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Christopher Swingley <cswingle@iarc.uaf.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test4: Unable to handle kernel NULL pointer dereference
Date: Thu, 28 Aug 2003 13:10:19 -0700	[thread overview]
Message-ID: <20030828131019.69a9f3b9.akpm@osdl.org> (raw)
In-Reply-To: <20030828153448.GA1001@iarc.uaf.edu>

Christopher Swingley <cswingle@iarc.uaf.edu> wrote:
>
> kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
> ...
> kernel: EIP is at find_inode_fast+0x1a/0x60
> ...
> model name	: AMD Athlon(tm) XP 1800+
> ...

You've been bitten by the athlon-prefetch(0)-goes-oops problem.

Nobody seems to be working this, so I'll be sending the below in to Linus.

--- 25/include/asm-i386/processor.h~disable-athlon-prefetch	2003-08-23 13:48:16.000000000 -0700
+++ 25-akpm/include/asm-i386/processor.h	2003-08-23 13:48:16.000000000 -0700
@@ -578,6 +578,8 @@ static inline void rep_nop(void)
 #define ARCH_HAS_PREFETCH
 extern inline void prefetch(const void *x)
 {
+	if (cpu_data[0].x86_vendor == X86_VENDOR_AMD)
+		return;
 	alternative_input(ASM_NOP4,
 			  "prefetchnta (%1)",
 			  X86_FEATURE_XMM,

_


  reply	other threads:[~2003-08-28 20:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28 15:34 Christopher Swingley
2003-08-28 20:10 ` Andrew Morton [this message]
2003-08-29  2:06   ` Bill Davidsen
2003-08-29  2:32     ` Andrew Morton
2003-08-29  2:33     ` Randy.Dunlap
2003-08-29  2:40       ` Andrew Morton
2003-08-29 10:06         ` Alan Cox
2003-08-29 14:17   ` Hollis Blanchard

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=20030828131019.69a9f3b9.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=cswingle@iarc.uaf.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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®