From owner-freebsd-current@FreeBSD.ORG Tue Nov 3 10:43:36 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70B7510656C0 for ; Tue, 3 Nov 2009 10:43:36 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id E12E78FC12 for ; Tue, 3 Nov 2009 10:43:35 +0000 (UTC) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id nA3Agfuv011908; Tue, 3 Nov 2009 10:42:41 GMT Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1N5GqX-0004hH-Hw; Tue, 03 Nov 2009 10:42:41 +0000 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.3/8.14.3) with ESMTP id nA3AgfAe099536; Tue, 3 Nov 2009 10:42:41 GMT (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.3/8.14.3/Submit) id nA3AgfgD099535; Tue, 3 Nov 2009 10:42:41 GMT (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Kai Gallasch In-Reply-To: <20091031231545.493cee89@boiler.free.de> References: <20091031231545.493cee89@boiler.free.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 03 Nov 2009 10:42:40 +0000 Message-Id: <1257244960.98619.36.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-current@FreeBSD.org Subject: Re: 8.0RC2 amd64 - kernel panic running make buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 10:43:36 -0000 On Sat, 2009-10-31 at 23:15 +0100, Kai Gallasch wrote: > Hi. > > I installed 8.0RC2-amd64 on an 8-core opteron server a few days ago. > > When I try to do a make buildworld or make buildkernel the server > reboots without any message left in the logs. The same happens > when building bigger ports (for example ruby18 or perl58) > > With 8.0-RC2 debug flags and witness seem to be disabled in the > standard GENERIC kernel, so unfortunately it is not possible for me to > build a debug kernel without my server crashing.. First place I think I'd start id by running memtest86 on the machine overnight. This sounds like possible hardware issue to me, it would be good to see if we can confirm that that is the case. > Now my idea was to install the old 8.0-BETA4 and upgrade to RC2 through > makeworld + buildkernel (gdb+witness). But no luck. When trying to > upgrade to RC2 the 8.0-BETA4 also crashes. At least 8.0-BETA4 has debug > + witness active in the GENERIC kernel.. > > So below some debug output of 8.0-BETA4 crashing. Has a vfs/ffs LOR > problem with the BETA4 already been fixed? The debug output you included were just lock order reversals, and don't seem to be related to your crash. I think 8.0-BETA4 still had the debugger compiled in (you can test by pressing ctrl-alt-escape ion the console, if you do drop to the debugger, give the "c" command to continue). If the debugger is compiled in, then the spontaneous reboot without dropping to the debugger suggests even more that it may be hardware related. If you do get to the debugger, a copy of all of the messages on screen and the output of the "bt" command would be very useful. When you do your kernel recompile, please include full debugging, including WITNESS, INVARIANTS, KDB, DDB etc. FWIW, don't worry about building world now, a BETA4 world should work fine with a RC2 kernel. You may be able to get a kernel built even though it keeps crashing by clearing out /usr/obj to start with and then just repeating cd /usr/src && make buildkernel -DKERNFAST after every crash. > Does it make sense to send in a pr with the old 8.0-BETA4? It depends what the bug is to be honest. So far there isn't really enough information to determine the cause, and therefore there isn't really enough info for a PR. Gavin