Coming back to the btxld: No such file or directory installworld
Gavin Atkinson
gavin at FreeBSD.org
Mon Jun 28 09:56:07 UTC 2010
On Sun, 2010-06-27 at 13:14 -0700, Garrett Cooper wrote:
> Hi Ruslan,
> I've run into this particular error twice now in the past couple
> of weeks when building with -j24 on a memory disk and I was wondering
> if there was an missing dependency / race somewhere or something
> (perhaps make obj?):
>
> ===> sys/boot/i386/boot2 (install)
> # ...
> btxld -v -E 0x2000 -f bin -b
> /usr/obj/scratch/freebsd/current/sys/boot/i386/boot2/../btx/btx/btx -l
> boot2.ldr -o boot2.ld -P 1 boot2.bin
> btxld: No such file or directory
> *** Error code 1
>
> Stop in /scratch/freebsd/current/sys/boot/i386/boot2.
> *** Error code 1
I've seen this in the last couple of weeks as well. I build with -j3,
and the buildworld seemed to go fine. During the installworld (after
installkernel and reboot) I saw the same as you see.
> Running the make in the respective subdirectories, then rerunning
> installworld works. Example:
>
> btxld -v -E 0x2000 -f bin -b
> /usr/obj/scratch/freebsd/current/sys/boot/i386/zfsboot/../btx/btx/btx
> -l zfsboot.ldr -o zfsboot.ld -P 1 zfsboot.bin
> kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1
> client: fmt=bin size=602c text=0 data=0 bss=0 entry=0
> output: fmt=bin size=66bc text=0 data=66bc org=0 entry=0
> 6468 bytes available
> dd if=zfsboot.ld of=zfsboot2 obs=32768 conv=osync
> 51+1 records in
> 1+0 records out
> 32768 bytes transferred in 0.000062 secs (528611360 bytes/sec)
> cat zfsboot1 zfsboot2 > zfsboot
... and I fixed it in the same way.
I'm assuming there's some dependency not listed in a makefile or
something, but without the log from buildworld it's hard to find.
Gavin
More information about the freebsd-current
mailing list