Date: Thu, 16 Apr 2009 04:44:17 -0500 (CDT) From: james@jrv.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/133774: can't boot UFS on > 2TB GTP disk Message-ID: <200904160944.n3G9iHBg059071@bigtex.housenet.jrv> Resent-Message-ID: <200904161030.n3GAU2Iu070603@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133774
>Category: bin
>Synopsis: can't boot UFS on > 2TB GTP disk
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 16 10:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: User &
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bigback.housenet.jrv 8.0-CURRENT FreeBSD 8.0-CURRENT #1 r190917M: Wed Apr 15 21:24:24 CDT 2009 james@bigback.housenet.jrv:/usr/obj/usr/src/sys/BIGTEX amd64
i386 or amd64
>Description:
If the UFS root partition is beyond the 2 TB point then beastie fails to load the kernel or boot.
>How-To-Repeat:
Place the / partition above the 2 TB mark on a disk and try to boot.
>Fix:
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
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904160944.n3G9iHBg059071>
