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>
index | next in thread | previous in thread | raw e-mail
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. Gavinhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1277718959.45304.4.camel>
