From nobody@FreeBSD.org  Tue Dec  6 11:03:06 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 188221065686
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Dec 2011 11:03:06 +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 07F688FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Dec 2011 11:03:06 +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 pB6B346V070749
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 6 Dec 2011 11:03:05 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pB6B34ob070740;
	Tue, 6 Dec 2011 11:03:04 GMT
	(envelope-from nobody)
Message-Id: <201112061103.pB6B34ob070740@red.freebsd.org>
Date: Tue, 6 Dec 2011 11:03:04 GMT
From: Axel Gneiting <mail@axelgneiting.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 9.0-RC2 fails to boot from raid-z2 if AHCI is enabled
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163092
>Category:       amd64
>Synopsis:       [ahci] FreeBSD 9.0-RC2 fails to boot from raid-z2 if AHCI is enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 06 11:10:08 UTC 2011
>Closed-Date:    
>Last-Modified:  Sun Apr 20 03:59:05 UTC 2014
>Originator:     Axel Gneiting
>Release:        9.0 RC2
>Organization:
private
>Environment:
FreeBSD nas.localdomain 9.0-RC2 FreeBSD 9.0-RC2 #0: Sat Nov 12 18:35:25 UTC 2011     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The bootloader just spins a bar when AHCI is enabled, but boots in IDE moed.

Mainboard: ASUS M4A78LT-M with AMD 760G chipset.

Bootloader was installed on all five disks with
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada*

I checked the version of pmbr and gptzfsboot, they are binary identical to the ones on the 9.0-RC2 memstick.
>How-To-Repeat:
Enable AHCI in BIOS then boot
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
