From owner-freebsd-stable@FreeBSD.ORG Fri Jun 13 12:34:43 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C9D11065682 for ; Fri, 13 Jun 2008 12:34:43 +0000 (UTC) (envelope-from pldrouin@pldrouin.net) Received: from smtp.cyberfingers.net (smtp.cyberfingers.net [198.177.254.227]) by mx1.freebsd.org (Postfix) with ESMTP id 51BC48FC1C for ; Fri, 13 Jun 2008 12:34:43 +0000 (UTC) (envelope-from pldrouin@pldrouin.net) Received: from ldaemon.pldrouin.net (modemcable125.163-21-96.mc.videotron.ca [96.21.163.125]) by smtp.cyberfingers.net (Postfix) with ESMTP id 4E025AB6C6F for ; Fri, 13 Jun 2008 08:34:52 -0400 (EDT) Message-ID: <4852695D.5030206@pldrouin.net> Date: Fri, 13 Jun 2008 08:34:37 -0400 From: Pierre-Luc Drouin User-Agent: Thunderbird 2.0.0.14 (X11/20080503) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: boot0 is hanging... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2008 12:34:43 -0000 Hi, I just did two different installations of 7.0-stable on a new machine and I have some issues with the boot0 boot loader. I have two identical drives on that machine. The first two slices on the drives are supposed to be bootable and they are mirrored with gmirror: gmirror label -v -h -b load boot1 ad4s1a ad6s1a gmirror label -v -h -b load boot2 ad6s2a ad4s2a The problem I have is that I can only boot the second slice from ad6, not from ad4. boot0 does nothing when I press F2 from the menu for the first drive. I don't get any error message. It does nothing until I select another item in the menu. I can boot the first slice from either ad4 or ad6. I have tried rebuilding the raid and changing the priority of the drive with gmirror, but it didn't change anything. I also tried to remove ad6s2a from the mirror, but it didn't fix it either. To install boot0, I used: sysctl kern.geom.debugflags=16 boot0cfg -B -m 0x3 -s 1 ad4 boot0cfg -B -m 0x3 -s 1 ad6 What could be causing this exactly? Thank you!