From owner-freebsd-questions@FreeBSD.ORG Fri Apr 21 22:07:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AF2416A401 for ; Fri, 21 Apr 2006 22:07:51 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from relay04.roc.ny.frontiernet.net (relay04.roc.ny.frontiernet.net [66.133.182.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7F4143D45 for ; Fri, 21 Apr 2006 22:07:50 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (67-51-120-146.dsl1.elk.ca.frontiernet.net [67.51.120.146]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id 6C09F358434; Fri, 21 Apr 2006 22:07:47 +0000 (UTC) Received: from [192.168.1.3] (unknown [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTP id DE277164931; Fri, 21 Apr 2006 15:07:31 -0700 (PDT) Message-ID: <44495794.5050309@mykitchentable.net> Date: Fri, 21 Apr 2006 15:07:16 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Kinsey References: <4446D8E2.2040302@mykitchentable.net> <4446F082.8050505@daleco.biz> In-Reply-To: <4446F082.8050505@daleco.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter07.roc.ny.frontiernet.net Cc: FreeBSD Questions Subject: Re: Getting A Kernel Dump - SOLVED! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2006 22:07:51 -0000 On 4/19/2006 7:22 PM Kevin Kinsey said the following: > Drew Tomlinson wrote: > >> I have a 6.0 system running on a P3 550 that >> is rebooting every now and then due to a >> trap 12 error. I've followed the steps at >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html >> >> for getting a crash dump but I'm not getting dumps. Here's the >> relevant line from rc.conf: >> >> dumpdev="/dev/da1s1b" >> >> And it seems to be OK as dumpon has no problem >> when I set this manually: >> >> blacksheep# dumpon -v /dev/da1s1b >> kernel dumps on /dev/da1s1b >> >> My swap partition is 750 MB and the total system >> memory is 384 MB. Any ideas on what I might be doing wrong? >> >> Thanks, >> >> Drew > > > > Unfortunately, no. Read this today, though: > > http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html > http://www.onlamp.com/pub/a/bsd/2002/04/04/Big_Scary_Daemons.html > > Since I've not read the handbook section you mention, I can't > say if it's duplicate info or not. But this was pretty good stuff, > as Michael's stuff always seems to be.... Thanks for your reply. In going over everything again, I finally figured out I had made a dumb mistake. I have a small root partition (500 MB) and normally symlink /var to /var/usr. However in this case, I hadn't made that symlink after restoring from a disk crash about a month ago. So there was not enough room in /var/crash to create the dump. 'savecore' was keeping me from shooting myself in the foot. :) Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com