From owner-freebsd-arch@FreeBSD.ORG Fri Feb 17 11:03:47 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 972B7106566B; Fri, 17 Feb 2012 11:03:47 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail.kirov.so-ups.ru (ns.kirov.so-ups.ru [178.74.170.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3F72C8FC0A; Fri, 17 Feb 2012 11:03:47 +0000 (UTC) Received: from kas30pipe.localhost (localhost.kirov.so-ups.ru [127.0.0.1]) by mail.kirov.so-ups.ru (Postfix) with SMTP id 2DE45B8024; Fri, 17 Feb 2012 14:46:39 +0400 (MSK) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail.kirov.so-ups.ru (Postfix) with ESMTP id 28338B801F; Fri, 17 Feb 2012 14:46:39 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id 107D7B8F76; Fri, 17 Feb 2012 14:46:39 +0400 (MSK) Received: from [127.0.0.1] (elsukov.kirov.oduur.so [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id CAB9EB8F54; Fri, 17 Feb 2012 14:46:38 +0400 (MSK) Message-ID: <4F3E3009.8010702@FreeBSD.org> Date: Fri, 17 Feb 2012 14:46:33 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Doug Barton References: <201201082035.q08KZjL5024434@gw.catspoiler.org> <4F3E28FF.1060209@FreeBSD.org> In-Reply-To: <4F3E28FF.1060209@FreeBSD.org> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig51CEAA1217BF4EFA1EA4EF6D" X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected 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:03:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig51CEAA1217BF4EFA1EA4EF6D Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 17.02.2012 14:16, Doug Barton wrote: > So I gave this a try, and I'm getting this: >=20 >=20 > 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 >=20 > 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 provid= er. 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 a= llowed to partition with type DOSPTYP_386BSD and DOSPTYP_LINSWP. But, since ad0s= 7 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.= --=20 WBR, Andrey V. Elsukov --------------enig51CEAA1217BF4EFA1EA4EF6D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJPPjAOAAoJEAHF6gQQyKF6rxUH/1vEbjc7m2snE2HQlMTi1bRu ZRrR7sW3ZJAR5Prng2lZIWzGiaLj9wE/Tjr9lhBZYn0DiShzA/1eBCeSnVCjQ92J PmOfZPF+LqqxuyA/snF+Hg9hSYtZI89wb7Z9FDckXmrGuc0uMdgxX9uOhaTeVyNq vh0+YvKpcuTUQbssauBqrSnJVfL3i1W785qrwRNdCHee5lPfY28s/5rhqO5IZraE 39UIqtnDD5XAl7ZoT+YWwXyX9H3gRCksZMhMwJ6No1PrTsIitMa+0m+VFgRqXJxR nE1lWG+C3rW7DtecAsfthsldnblfZe6YS1tpkOofSc5NV4jm60mYvbZZF5VveAI= =sA+M -----END PGP SIGNATURE----- --------------enig51CEAA1217BF4EFA1EA4EF6D--