Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2009 17:53:01 -0400
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        Henri Hennebert <hlh@restart.be>
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>, Kip Macy <kmacy@freebsd.org>
Subject:   Re: ZFS booting without partitions
Message-ID:  <4A2993BD.7030600@egr.msu.edu>
In-Reply-To: <4A29732E.6090103@restart.be>
References:  <29579856-69F7-4CDC-A52A-B414A40180ED@yellowspace.net>		<alpine.BSF.2.00.0905261353140.8940@woozle.rinet.ru>		<18972.5870.795005.186542@already.dhcp.gene.com>		<4A1C18CC.7080902@icyb.net.ua>		<18972.7173.216763.407615@already.dhcp.gene.com>		<A1B19FAF-B574-484F-9434-17F5AF754B88@yellowspace.net>		<4A23A81A.5050600@restart.be>		<dfe7d2900906010355x3c5d324bxdb9761c9401ee73@mail.gmail.com>		<3c1674c90906010608te5fdf82r8349fcb9332485d@mail.gmail.com>		<4A240E17.30907@egr.msu.edu>	<3c1674c90906011515r5f706fdfl570e17a3c90f169f@mail.gmail.com> <4A29732E.6090103@restart.be>

next in thread | previous in thread | raw e-mail | index | archive | help
Henri Hennebert wrote:
> Kip Macy wrote:
>> On Mon, Jun 1, 2009 at 10:21 AM, Adam McDougall 
>> <mcdouga9@egr.msu.edu> 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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2993BD.7030600>