From nobody@FreeBSD.org  Sun Feb 23 12:57:22 2014
Return-Path: <nobody@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 CCB5ED6C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Feb 2014 12:57:22 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id A72C71A17
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Feb 2014 12:57:22 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1NCvLQJ044646
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Feb 2014 12:57:21 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1NCvLYM044645;
	Sun, 23 Feb 2014 12:57:21 GMT
	(envelope-from nobody)
Message-Id: <201402231257.s1NCvLYM044645@cgiserv.freebsd.org>
Date: Sun, 23 Feb 2014 12:57:21 GMT
From: Rolf Jansen <rj@obsigna.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: HD default-formatted by BSD-installer does not boot on Intel Atom D510MO
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186977
>Category:       bin
>Synopsis:       gpart(8): HD default-formatted by BSD-installer does not boot on Intel Atom D510MO
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 23 13:00:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Wed Apr 16 02:27:12 UTC 2014
>Originator:     Rolf Jansen
>Release:        FreeBSD 10.0 Release
>Organization:
obsigna.net
>Environment:
FreeBSD  10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
FreeBSD 10 gpart cannot create boot disks for Intel Atom D510MO, neither
semi-automatic using bsdinstall, nor manually using gpart directly. I
have tried this on internal IDE and AHCI hard disks, and using USB memory
sticks. Nothing boots.

By only overwriting a partition scheme created by gpart from FreeBSD 10
with gpart from FreeBSD 9 using exactly the same partition parameters
(sizes and positions), and using /boot/pmbr and /boot/gptboot from FreeBSD
9, the disk or memstick is suddenly bootable with said Intel Atom board.
>How-To-Repeat:
1. Install FreeBSD 10 from the scratch on a Intel Atom D510MO machine,
using "FreeBSD-10.0-RELEASE-amd64-memstick.img".

2. Let the BSD installer apply the default GPT/UFS formatting scheme to
the internal hard disk ada0, and complete the installation (which runs
smoothly).

3. Power down the machine, remove the memstick, and start it up again.

The Intel Atom D510MO board does not recognize the internal HD as a boot
disk, the disk LED is flashing for half of a second, and then the board
drops immediately into PXE boot (last in the boot sequence), since no
other boot media is present.
>Fix:
When manually overwriting the GPT 10 partition on said failing ada0 with
gpart from a FreeBSD 9 installer, using exactly the same partition parameters,
and placing /boot/pmbr and /boot/gptboot from FreeBSD 9 on the freebsd-boot
partition -- no further installation is needed -- only the disk partition
was manipulated, the said disk boots fine on said machine.
>Release-Note:
>Audit-Trail:
>Unformatted:
