Re: Kernel compilation failure [SOLVED (probably)]
- To: debian-amd64@lists.debian.org
- Subject: Re: Kernel compilation failure [SOLVED (probably)]
- From: Gilles <gilles@harfang.homelinux.org>
- Date: Sat, 1 Oct 2005 18:19:31 +0200
- Message-id: <[🔎] 20051001161931.GA10212@dusk.harfang.homelinux.org>
- Mail-followup-to: debian-amd64@lists.debian.org
- In-reply-to: <20050930163223.GD20089@csclub.uwaterloo.ca>
- References: <20050927164743.GA5876@dusk.harfang.homelinux.org> <20050927170148.GL28551@csclub.uwaterloo.ca> <20050927225203.GA26828@dusk.harfang.homelinux.org> <20050928143227.GC20089@csclub.uwaterloo.ca> <20050929170213.GA1596@dusk.harfang.homelinux.org> <20050929172917.GS20089@csclub.uwaterloo.ca> <20050929210230.GA19013@dusk.harfang.homelinux.org> <20050930132239.GZ20089@csclub.uwaterloo.ca> <20050930162847.GA19327@dusk.harfang.homelinux.org> <20050930163223.GD20089@csclub.uwaterloo.ca>
Hello.
>
> > Obviously, I'm interested in finding out what's wrong with the system.
> > Do you have suggestions as to what I should do to have the kernel provide
> > a little more information in "kern.log"?
>
> Not sure what to suggest there. May have to hit lkml for help on this.
>
Well, I compiled a kernel with debugging symbols just to find out that
it wouldn't help in narrowing down the source of the problem. Only that
dreaded "general protection" would appear in the log.
Then browsing the latest kernel changelogs, I stumbled across this (excerpt
from http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.14-rc2):
commit bc5e8fdfc622b03acf5ac974a1b8b26da6511c99
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sat Sep 17 15:41:04 2005 -0700
x86-64/smp: fix random SIGSEGV issues
They seem to have been due to AMD errata 63/122; the fix is to disable
TLB flush filtering in SMP configurations.
Confirmed to fix the problem by Andrew Walrond <andrew@walrond.org>
[ Let's see if we'll have a better fix eventually, this is the Q&D
"let's get this fixed and out there" version ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Right now I am in
Linux dusk 2.6.14-rc3+patched+g1 #1 SMP Sat Oct 1 14:49:43 CEST 2005 x86_64 GNU/Linux
Well, well, I've just compiled a dozen times... Without a single failure!
So, a kernel bug it was indeed.
Best regards,
Gilles
Reply to: