From owner-freebsd-arch@FreeBSD.ORG Sun Feb 19 01:00:55 2012 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 23E971065675; Sun, 19 Feb 2012 01:00:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-197-151.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id BE404150A2A; Sun, 19 Feb 2012 01:00:53 +0000 (UTC) Message-ID: <4F4049C5.6040605@FreeBSD.org> Date: Sat, 18 Feb 2012 17:00:53 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Don Lewis References: <201202190054.q1J0sK60017096@gw.catspoiler.org> <4F4048EB.1070402@FreeBSD.org> In-Reply-To: <4F4048EB.1070402@FreeBSD.org> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ae@FreeBSD.org, arch@FreeBSD.org Subject: Re: [patch] allow crash dumps to Linux swap partitions X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 01:00:55 -0000 On 02/18/2012 16:57, Doug Barton wrote: > On 02/18/2012 16:54, Don Lewis wrote: >> On 18 Feb, Doug Barton wrote: >>> On 02/18/2012 09:50, Andrey V. Elsukov wrote: >>>> I think we can check bp->bio_from field, something like that (not tested): >>> >>> That made dumpon happy anyway, thanks! I'm a bit rusty on "how to cause >>> a dump on purpose" nowadays .... I'm running 8-stable right now, if >>> someone wants to give me a hint I'll test this. >> >> Break into DDB and type "call doadump". > > Yeah, that's what I used to do, but Ctrl-Alt-Esc didn't do anything for > me. Do I have to compile in options BREAK_TO_DEBUGGER even on a desktop? Gah, PEBKAC! -stable != current .... I have been running current so long I forgot that DDB isn't in the default -stable kernel. Will fix and test the dump. Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/