From owner-freebsd-arch@FreeBSD.ORG Sun Feb 19 01:01:45 2012 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D8AC1065670; Sun, 19 Feb 2012 01:01:45 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id C9E0A8FC17; Sun, 19 Feb 2012 01:01:44 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id q1J11cnJ017127; Sat, 18 Feb 2012 17:01:41 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201202190101.q1J11cnJ017127@gw.catspoiler.org> Date: Sat, 18 Feb 2012 17:01:38 -0800 (PST) From: Don Lewis To: dougb@FreeBSD.org In-Reply-To: <4F4048EB.1070402@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii 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:01:45 -0000 On 18 Feb, 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? Looks like it. I've got that option in my custom kernel config files that start with "include GENERIC".