Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261342AbUKBWW0 (ORCPT ); Tue, 2 Nov 2004 17:22:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261972AbUKBWOQ (ORCPT ); Tue, 2 Nov 2004 17:14:16 -0500 Received: from zeus.kernel.org ([204.152.189.113]:41438 "EHLO zeus.kernel.org") by vger.kernel.org with ESMTP id S262020AbUKBWJq (ORCPT ); Tue, 2 Nov 2004 17:09:46 -0500 Content-Type: text/plain; charset="CP 1252" From: Jesse Pollard To: Daniel Egger , Linux Mailing List Kernel Subject: Re: 2.6.8 and 2.6.9 Dual Opteron glitches Date: Tue, 2 Nov 2004 15:56:28 -0600 X-Mailer: KMail [version 1.2] References: <5AC1EEB8-2CD7-11D9-BF00-000A958E35DC@fhm.edu> In-Reply-To: <5AC1EEB8-2CD7-11D9-BF00-000A958E35DC@fhm.edu> MIME-Version: 1.0 Message-Id: <04110215562800.15809@tabby> Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 31 On Tuesday 02 November 2004 07:59, Daniel Egger wrote: > > > 2) 64 bit kernel vgettimeofday panic: The kernel panics in > arch/x64_64/vsyscall.c:169 on boot. > > static int __init vsyscall_init(void) > { > if ((unsigned long) &vgettimeofday != > VSYSCALL_ADDR(__NR_vgettimeofday)) > panic("vgettimeofday link addr broken"); > > Replacing those panic(s) by printk make the machine boot just fine > and also work (seemingly) without any problems under load. > This may be all wet but.... > if ((unsigned long) &vgettimeofday != ^^^^ this is a 32 bit value > VSYSCALL_ADDR(__NR_vgettimeofday)) ^^^^^^^^^^^^ and I think this is a 64 bit value. > panic("vgettimeofday link addr broken"); And elevating an unsigned 32 bit to 64 will not match under any circumstances. Bet it would work if "(unsigned long)" were "(void *)" - 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/