From owner-freebsd-stable@FreeBSD.ORG Fri Jun 5 21:53:02 2009 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 A100C106566B; Fri, 5 Jun 2009 21:53:02 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mx.egr.msu.edu (surfnturf.egr.msu.edu [35.9.37.164]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD418FC14; Fri, 5 Jun 2009 21:53:02 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from localhost (localhost [127.0.0.1]) by mx.egr.msu.edu (Postfix) with ESMTP id BBBC771F6D0; Fri, 5 Jun 2009 17:53:01 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mx.egr.msu.edu ([127.0.0.1]) by localhost (surfnturf.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zJVCKMT+tjE3; Fri, 5 Jun 2009 17:53:01 -0400 (EDT) Received: from [35.9.44.65] (daemon.egr.msu.edu [35.9.44.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mcdouga9) by mx.egr.msu.edu (Postfix) with ESMTPSA id 9884671F6BA; Fri, 5 Jun 2009 17:53:01 -0400 (EDT) Message-ID: <4A2993BD.7030600@egr.msu.edu> Date: Fri, 05 Jun 2009 17:53:01 -0400 From: Adam McDougall User-Agent: Thunderbird 2.0.0.21 (X11/20090419) MIME-Version: 1.0 To: Henri Hennebert References: <29579856-69F7-4CDC-A52A-B414A40180ED@yellowspace.net> <18972.5870.795005.186542@already.dhcp.gene.com> <4A1C18CC.7080902@icyb.net.ua> <18972.7173.216763.407615@already.dhcp.gene.com> <4A23A81A.5050600@restart.be> <3c1674c90906010608te5fdf82r8349fcb9332485d@mail.gmail.com> <4A240E17.30907@egr.msu.edu> <3c1674c90906011515r5f706fdfl570e17a3c90f169f@mail.gmail.com> <4A29732E.6090103@restart.be> In-Reply-To: <4A29732E.6090103@restart.be> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Mailing List , Kip Macy Subject: Re: ZFS booting without partitions 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, 05 Jun 2009 21:53:02 -0000 Henri Hennebert wrote: > Kip Macy wrote: >> On Mon, Jun 1, 2009 at 10:21 AM, Adam McDougall >> wrote: >>> I'm thinking that too. I spent some time taking stabs at figuring >>> it out >>> yesterday but didn't get anywhere useful. I did try compiling the >>> -current >>> src/sys/boot tree on 7.2 after a couple header tweaks to make it >>> compile but >>> the loader still didn't work. The working loader is the same file >>> size as >>> the broken loader unless it was compiled on i386 and then it is ~30k >>> bigger >>> for some reason (it shrinks to the same size as the rest if I force >>> it to >>> use the same 32bit compilation flags as used on amd64). Just >>> mentioning >>> this in case it saves someone else some time. I'm real pleased it >>> works at >>> all. >> >> If someone has the time to track down the differences I'll MFC them. >> I'm not using ZFS boot at the moment so I have no way of testing. >> > At last I get this F.....G diff!!! > > The problem was in libstand.a. By the way , the patch also take into > account the update of Doug Rabson to answer my problem with too many > devices / pools. > > Happy to help on this one. > I can confirm that this fixes my loader when I patch, compile, install libstand then compile and install the loader. Thanks for finding it!