From nobody@FreeBSD.org  Sun Sep 18 13:11:37 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A6104106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 13:11:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9522D8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 13:11:37 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8IDBbxg041396
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 13:11:37 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8IDBbnl041395;
	Sun, 18 Sep 2011 13:11:37 GMT
	(envelope-from nobody)
Message-Id: <201109181311.p8IDBbnl041395@red.freebsd.org>
Date: Sun, 18 Sep 2011 13:11:37 GMT
From: Camillo Srs <ged@iki.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: USB installation image fails to boot if BIOS is not GPT compatible - 9.0-BETA2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160802
>Category:       kern
>Synopsis:       [install] USB installation image fails to boot if BIOS is not GPT compatible - 9.0-BETA2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 18 13:20:05 UTC 2011
>Closed-Date:    
>Last-Modified:  Sun Sep 18 14:46:01 UTC 2011
>Originator:     Camillo Srs
>Release:        9.0-BETA2
>Organization:
>Environment:
N/A - does not install
>Description:
The 9.0-BETA2 USB installation image uses a GPT partition table, which
is not bootable on systems that have a buggy BIOS.  E.g. Gigabyte GA-D510UD.

Attempting to boot the system while the USB stick is connected will
cause the BIOS to fail - the failure mode depends upon the bug in the
BIOS.

The Gigabyte GA-D510UD will lock up completely when it runs into a GPT
partition table of this kind.  The pmbr does not match the CHS setup
that the BIOS expects.

Related bug: bin/115406: [patch] gpt(8) GPT MBR hangs award BIOS on boot


>How-To-Repeat:
- Download 9.0-BETA2 USB installation image, install on USB stick
- Connect USB stick to system with GPT issues, attempt to boot the system
- Boot fails

Compare this to the 8.2-RELEASE image, which uses MBR and thus boots correctly.
>Fix:
This problem can only be fixed by trying to circumvent the buggy BIOSes.
The most reliable way would be to revert the USB image to MBR format.
Another alternative is to ensure that the pmbr of the GPT partition table
contains a correct CHS configuration, but the GPT pmbr may still cause
problems on some BIOSes.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Sep 18 14:44:50 UTC 2011 
Responsible-Changed-Why:  
Problem most likely affects more than just amd64. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160802 
>Unformatted:
