From owner-freebsd-arch@FreeBSD.ORG Fri Feb 17 11:07:50 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 006D6106566C; Fri, 17 Feb 2012 11:07:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B006D14EBFD; Fri, 17 Feb 2012 11:07:49 +0000 (UTC) Message-ID: <4F3E3505.1090207@FreeBSD.org> Date: Fri, 17 Feb 2012 03:07:49 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.1) Gecko/20120213 Thunderbird/10.0.1 MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <201201082035.q08KZjL5024434@gw.catspoiler.org> <4F3E28FF.1060209@FreeBSD.org> <4F3E3009.8010702@FreeBSD.org> In-Reply-To: <4F3E3009.8010702@FreeBSD.org> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: arch@FreeBSD.org, Don Lewis 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: Fri, 17 Feb 2012 11:07:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 02/17/2012 02:46, Andrey V. Elsukov wrote: > On 17.02.2012 14:16, Doug Barton wrote: >> So I gave this a try, and I'm getting this: >> >> >> GEOM_PART:dumpon: ioctl(DIOCSKERNELDUMP)P: artition 'ad0s4' not >> suitable for kernel dumps (wrong type?) Operation not supported >> by device /etc/rc: WARNING: unable to specify /dev/ad0s7 as a >> dump device >> >> I'm guessing that this is due to ad0s7 being in an extended >> partition. So I take it we have no support for dumping to logical >> partition? > > EBR scheme serves logical partitions. Your extended partition is > ad0s4, EBR's consumer is attached to MBR's ad0s4 provider. ad0s7 is > EBR's provider. > > When you are trying to configure ad0s7 as dump device, GEOM_PART > asks EBR scheme: is kernel dump allowed or not? After r230064 it > answers that dumping is allowed to partition with type > DOSPTYP_386BSD and DOSPTYP_LINSWP. But, since ad0s7 has parent > provider it forwards this request to MBR's ad0s4. MBR scheme also > allows dumping only to the same partition types. But ad0s4 > partition has type DOSPTYP_EXT. And you got this error message. Right, I assumed something like this from the mixture of ad0s4 and ad0s7 in the error message, but thanks for the detailed explanation. So that leads me to my next question ... can this be fixed? 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/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJPPjUFAAoJEFzGhvEaGryEahcH/jkKPxskhq6wTTG27t1RWZti xxh5DBIz8y2gyX0HkTDV3bXneBvCDDUAgswFBUbFfzm1uF+6dshvnbv9tv0oxWq9 MnqQzD+W9xdgbsnBuLIKhEcGv0a2QcRUd+PmvTI7Rbx/aPU+Q6W1Fj7FFm9sFP7s +H9YdHq8E23tb9iI3Ym1ILJeyobqLQaUKARuKWwnVFzIqbwGpnn4N80CKoyTrZCL 8LLzOy32lsxuzKENVNfW2/MosJJvbmVGOLSqBpRwWN5IhLpkkcofmwrPiGT5fz2a fmRkQTtryM1sW6oislZ8TrgCZhbi/Lpmh6lunCVBAaV9KJJIRYE17/GErfqgt8w= =3Bhe -----END PGP SIGNATURE-----