Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 16:48:34 +0200
From:      Ruben van Staveren <ruben@verweg.com>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-stable@FreeBSD.ORG, Kip Macy <kmacy@FreeBSD.ORG>
Subject:   Re: on 'btxld: zfsboot.ldr: Invalid argument' again
Message-ID:  <46B3333A-835A-4C88-A540-EEE70585F537@verweg.com>
In-Reply-To: <4A1D4A13.7030702@icyb.net.ua>
References:  <4A1D4A13.7030702@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27 May 2009, at 16:11, Andriy Gapon wrote:

>
> So I have LOADER_ZFS_SUPPORT=yes in make.conf, building the most  
> recent stable/7
> and I am getting:
> ...
> btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/ 
> zfsboot/../btx/btx/btx
> -l zfsboot.ldr  -o zfsboot.ld -P 1 zfsboot.bin
> btxld: zfsboot.ldr: Invalid argument
>
> The problem seems to be that /usr/bin/btxld can not properly

Shouldn't it be able to bootstrap itself using the btxld from the  
current build instead of what is installed ?
Are we sure the btxld residing somewhere in /usr/obj is used during  
builds instead of the one in /usr/bin ?

> handle '-l zfsboot.ldr.'
> On the other hand, freshly built btxld in /usr/obj can handle it  
> very well.
> So I worked around this by making a small temporary hack in zfsboot/ 
> Makefile.
>
> But what is the proper solution for such source upgrade scenarios?
>
> -- 
> Andriy Gapon
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org 
> "
>

Regards,
	Ruben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B3333A-835A-4C88-A540-EEE70585F537>