Messages in this thread | | | From | Jesse Pollard <> | Subject | Re: 2.6.8 and 2.6.9 Dual Opteron glitches | Date | Tue, 2 Nov 2004 15:56:28 -0600 |
| |
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/
| |