From owner-freebsd-stable@FreeBSD.ORG Wed Aug 7 08:09:13 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9426ABAD for ; Wed, 7 Aug 2013 08:09:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id E23A82237 for ; Wed, 7 Aug 2013 08:09:12 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA20877; Wed, 07 Aug 2013 11:09:07 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1V6ynr-000O5l-1v; Wed, 07 Aug 2013 11:09:07 +0300 Message-ID: <5202006B.5060708@FreeBSD.org> Date: Wed, 07 Aug 2013 11:08:11 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130708 Thunderbird/17.0.7 MIME-Version: 1.0 To: J David Subject: Re: Problem with zfsloader on 9.2-BETA2 References: <51FD5709.7050306@FreeBSD.org> <5200C7A3.3070403@yandex.ru> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "Andrey V. Elsukov" , freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 08:09:13 -0000 on 07/08/2013 00:26 J David said the following: > $ sudo ./bootparttest da2 > GEOM provider "da2" opened > Mediasize: 1000204886016 Bytes (1953525168 sectors) > Sectorsize: 512 Bytes > da2: read 1 blocks from the offset 0 [+0] > da2: read 1 blocks from the offset 1 [+0] > ptable_open: PMBR detected > da2: read 1 blocks from the offset 1 [+0] > gpt_checkhdr: invalid entry size or number of entries > da2: read 1 blocks from the offset 1953525167 [+0] > gpt_checkhdr: invalid entry size or number of entries > Partition table detected: None > > (Output for da3 - da7 are identical to da2.) Could you please hack gpt_checkhdr() in sys/boot/common/part.c to print all the relevant values for this check and try bootparttest again? -- Andriy Gapon