From owner-freebsd-current@FreeBSD.ORG Thu Apr 16 02:54:37 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4F50106564A for ; Thu, 16 Apr 2009 02:54:37 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from mail.jrv.org (adsl-70-243-84-13.dsl.austtx.swbell.net [70.243.84.13]) by mx1.freebsd.org (Postfix) with ESMTP id 714DB8FC08 for ; Thu, 16 Apr 2009 02:54:37 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from kremvax.housenet.jrv (kremvax.housenet.jrv [192.168.3.124]) by mail.jrv.org (8.14.3/8.14.3) with ESMTP id n3G2sN1M044379 for ; Wed, 15 Apr 2009 21:54:23 -0500 (CDT) (envelope-from james-freebsd-current@jrv.org) Authentication-Results: mail.jrv.org; domainkeys=pass (testing) header.from=james-freebsd-current@jrv.org DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=CPudSU6KGg7mxAUETP38U9taE7PX/BIA/9ePgXEfagHO+gx/nhBjhyd7iCuIXaoLS OyFSE+Nb/3bdheYcir1EF/xdmPq+3sEfmPMYCxEkvdM179sbH/jpgKJUsS1x4ra5zLj BWjXOg4nHBSC8h9QzMMHUbTzYNPP1pr9ZlafsJM= Message-ID: <49E69DDF.3080104@jrv.org> Date: Wed, 15 Apr 2009 21:54:23 -0500 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 CC: freebsd-current@freebsd.org References: <49E1819B.7000604@jrv.org> In-Reply-To: <49E1819B.7000604@jrv.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: can't boot 5.5 TB GPT disk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 02:54:38 -0000 James R. Van Artsdalen wrote: > I can't boot a GPT partitioned 5.5 TB disc, where the UFS root partition > is near the end of the disk. For the record this fixes the bug. PR to be filed. Index: sys/boot/i386/libi386/biosdisk.c =================================================================== --- sys/boot/i386/libi386/biosdisk.c (revision 190917) +++ sys/boot/i386/libi386/biosdisk.c (working copy) @@ -83,7 +83,7 @@ int od_cyl; /* BIOS geometry */ int od_hds; int od_sec; - int od_boff; /* block offset from beginning of BIOS disk */ + daddr_t od_boff; /* block offset from beginning of BIOS disk */ int od_flags; #define BD_MODEINT13 0x0000 #define BD_MODEEDD1 0x0001