From owner-freebsd-stable@FreeBSD.ORG Wed Jul 16 15:00:44 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 012E41065674 for ; Wed, 16 Jul 2008 15:00:44 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 857288FC1B; Wed, 16 Jul 2008 15:00:42 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <487E0D1B.2060902@FreeBSD.org> Date: Wed, 16 Jul 2008 17:00:43 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: John Sullivan References: <854CADB9D95147CAB10BC35887A8E5DC@emea.hubersuhner.net> <20080716031640.7DC744500E@ptavv.es.net> <62b856460807160743v3fce951eg1b2bd9e50a35ba1d@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, 'Michael Grant' Subject: Re: Fresh 7.0 Install: Fatal Trap 12 panic when put under load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2008 15:00:44 -0000 John Sullivan wrote: > >> John, a question, how is swap set up on your system? I was >> swapping to a file (a memory disk device /dev/md0). I was >> doing this because for some reason lost in ancient history, >> this machine was not set up with a real swap partition. >> Hence, no crash dump. > > Swap is a partition on the 1st disk. > >> Last night I repartitioned a second disk, set up a real swap >> partition and now I'm currently waiting for this to happen >> again so I can get a crash dump. > > I will try creating a swap partition on my second drive to see if that improves things ... I am able to cause a panic "on demand" > but a crash dump is rarely written (presumably because the system believes the device is not accessible?). I must have crashed it > 10-20 times now with various corruptions of the panic screen - once it had blue text with "trap 12 trap 12" all over the screen, I > liked that one ;-). > > I did manage to complete a "make index" while the background FSCK was running, once it had finished, performing the same task caused > a panic locking the machine up again with no crash dump. OK, the first thing to do is disable bg fsck, then force a full fsck of all filesystems. bg fsck does a poor job of fixing arbitrary filesystem corruption (it's not designed to do so, in fact), and you can get into a situation where corrupted filesystems cause further panics. Removing KDB_UNATTENDED from your kernel will allow you to interact with the debugger and obtain backtraces etc, which is useful when dumps are not being saved. Kris