From owner-freebsd-stable@FreeBSD.ORG Sun Apr 1 11:46:36 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58B6F16A40F for ; Sun, 1 Apr 2007 11:46:36 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from bart.milos.co.za (bart.milos.co.za [196.38.18.66]) by mx1.freebsd.org (Postfix) with ESMTP id 2075413C458 for ; Sun, 1 Apr 2007 11:46:34 +0000 (UTC) (envelope-from clay@milos.co.za) Received: (qmail 6661 invoked by uid 89); 1 Apr 2007 11:39:49 -0000 Received: by simscan 1.2.0 ppid: 6604, pid: 6658, t: 6.5238s scanners: attach: 1.2.0 clamav: 0.88.7/m:42/d:2560 Received: from unknown (HELO claylaptop) (clay@milos.za.net@82.206.131.156) by bart.milos.co.za with ESMTPA; 1 Apr 2007 11:39:43 -0000 Message-ID: <059c01c77453$5e31fb70$9a83ce52@claylaptop> From: "Clayton Milos" To: "Tim Bishop" References: <20070401102426.GA10818@carrick.bishnet.net> Date: Sun, 1 Apr 2007 12:46:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: freebsd-stable@freebsd.org Subject: Re: Kernel Dumps on to gmirror device? 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: Sun, 01 Apr 2007 11:46:36 -0000 I've got a 6.1 server that's panicing and I'd like to debug it. The problem is that I can't get a kernel dump on to my gmirror device. It looks like since 6.1 this has been supported (it says so in the release notes). In my rc.conf I have: dumpdev="/dev/mirror/gm0s1b"$a Which is my swap partition. On booting it says: kernel dumps on /dev/mirror/gm0s1b But when it panics it says: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x14 fault code = supervisor write, page not present instruction pointer = 0x20:0xc057ff9f stack pointer = 0x28:0xe2df3c44 frame pointer = 0x28:0xe2df3c4c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 13 (swi4: clock sio) trap number = 12 panic: page fault Uptime: 1d4h15m55s GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed. GEOM_MIRROR: Device gm0 destroyed. Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... I'm guessing it's because the GEOM_MIRROR device has been destroyed just before it wants to dump? Any suggestions on a way forward to getting a dump out? Thanks, Tim. Hi Tim Do you really need to run 6.1 ? To be honest I found a lot of issues with 6.1 that were fixed in 6.2 so my advice would be to upgrade to 6.2-STABLE and more than likely this will either be fixed or will probably not happen at all. -Clay