bin/133774: can't boot UFS on > 2TB GTP disk

james at jrv.org james at jrv.org
Thu Apr 16 03:30:03 PDT 2009


>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 at 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:


More information about the freebsd-bugs mailing list