From owner-freebsd-fs@FreeBSD.ORG Fri Feb 7 12:43:04 2014 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CDE2A675; Fri, 7 Feb 2014 12:43:04 +0000 (UTC) Received: from forward10.mail.yandex.net (forward10.mail.yandex.net [IPv6:2a02:6b8:0:202::5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7587B1773; Fri, 7 Feb 2014 12:43:04 +0000 (UTC) Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward10.mail.yandex.net (Yandex) with ESMTP id B765A10208C4; Fri, 7 Feb 2014 16:42:52 +0400 (MSK) Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id 7B4151580082; Fri, 7 Feb 2014 16:42:52 +0400 (MSK) Received: from 95.108.170.136-red.dhcp.yndx.net (95.108.170.136-red.dhcp.yndx.net [95.108.170.136]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id wKQuXTYL5R-gq8KSqnp; Fri, 7 Feb 2014 16:42:52 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) X-Yandex-Uniq: 8fd7ed8c-0114-4241-8e78-1afadb582079 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1391776972; bh=6dlXSryU1X9hdr9OiKU8QRO09hsGGmDjM9z3f3eRNAs=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=vIy10noD6RuYe4F7ZrcNVUDaeY1rNwLlEzz+BwKC/j9nlUPTns9nIhZPxTSutHI7Q jCXEYFYbuwuIe/oUga5arfxJh67FR8SH04T6mYqzeKZpOnFpJzY5RFWIcCiGMU2Iw0 ey5b5jQzoMKRKI5mIqHUWuk2y1UMRGCBptNCVI9s= Authentication-Results: smtp7.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52F4D4C9.3060902@yandex.ru> Date: Fri, 07 Feb 2014 16:42:49 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: John Baldwin , freebsd-fs@FreeBSD.org Subject: Re: amd64/186515: Doesn't boot with GPT when # of entries over than 128. References: <201402061930.s16JU2Pi052495@freefall.freebsd.org> In-Reply-To: <201402061930.s16JU2Pi052495@freefall.freebsd.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 12:43:04 -0000 On 06.02.2014 23:30, John Baldwin wrote: > Using more entries to pad out the table isn't the normal way to handle 4k > alignment. You can just leave a gap before the start of freebsd-boot. Having > the sectors "free" vs having them contain zero'd GPT entries doesn't really > make a difference. One question is when does the boot break? Does it make it > into the loader and break trying to boot the kernel? Does it make it into > gptboot and break trying to load the loader? Hi John, this is gptboot's restriction. Look at the sys/boot/common/gpt.c. -- WBR, Andrey V. Elsukov