Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S274908AbTHPTZg (ORCPT ); Sat, 16 Aug 2003 15:25:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S274909AbTHPTZg (ORCPT ); Sat, 16 Aug 2003 15:25:36 -0400 Received: from fw.osdl.org ([65.172.181.6]:60859 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S274908AbTHPTZf (ORCPT ); Sat, 16 Aug 2003 15:25:35 -0400 Date: Sat, 16 Aug 2003 12:26:40 -0700 From: Andrew Morton To: "Marco d'Itri" Cc: linux-kernel@vger.kernel.org Subject: Re: an oops in 2.6-test2 (oops) Message-Id: <20030816122640.69650c65.akpm@osdl.org> In-Reply-To: <20030816112719.GA1073@wonderland.linux.it> References: <20030816112719.GA1073@wonderland.linux.it> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1273 Lines: 37 "Marco d'Itri" wrote: > > I've got another one yesterday: > > ... > > Aug 16 07:26:51 wonderland kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 > ... > Code; c015c80a <===== > 0: 0f 18 02 prefetchnta (%edx) <===== And you'll continue to get them until someone does something about it. Discussion seemed to die off on this problem. Until it is sorted, something like this is needed. diff -puN include/asm-i386/processor.h~disble-athlon-prefetch include/asm-i386/processor.h --- 25/include/asm-i386/processor.h~disble-athlon-prefetch 2003-08-16 12:22:32.000000000 -0700 +++ 25-akpm/include/asm-i386/processor.h 2003-08-16 12:23:29.000000000 -0700 @@ -568,6 +568,8 @@ static inline void rep_nop(void) #define ARCH_HAS_PREFETCH extern inline void prefetch(const void *x) { + if (current_cpu_data.x86_vendor == X86_VENDOR_AMD) + return; alternative_input(ASM_NOP4, "prefetchnta (%1)", X86_FEATURE_XMM, _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/