Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2010 10:55:59 +0100
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>, Ruslan Ermilov <ru@FreeBSD.org>
Subject:   Re: Coming back to the btxld: No such file or directory installworld
Message-ID:  <1277718959.45304.4.camel@buffy.york.ac.uk>
In-Reply-To: <AANLkTinOQxQZghvufVWk-W-KpCJY3p6f2jF6d3-BCIay@mail.gmail.com>
References:  <AANLkTinOQxQZghvufVWk-W-KpCJY3p6f2jF6d3-BCIay@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?):
>=20
> =3D=3D=3D> 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
>=20
> 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:
>=20
> 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=3D1.02 size=3D690 load=3D9000 entry=3D9010 map=3D16M pgctl=3D=
1:1
> client: fmt=3Dbin size=3D602c text=3D0 data=3D0 bss=3D0 entry=3D0
> output: fmt=3Dbin size=3D66bc text=3D0 data=3D66bc org=3D0 entry=3D0
> 6468 bytes available
> dd if=3Dzfsboot.ld of=3Dzfsboot2 obs=3D32768 conv=3Dosync
> 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



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