From owner-freebsd-current@FreeBSD.ORG Mon Jun 28 09:56:07 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9785A106566B for ; Mon, 28 Jun 2010 09:56:07 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247]) by mx1.freebsd.org (Postfix) with ESMTP id 021458FC0A for ; Mon, 28 Jun 2010 09:56:06 +0000 (UTC) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id o5S9u0V3003378; Mon, 28 Jun 2010 10:56:00 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1OTB4K-0003Wj-G6; Mon, 28 Jun 2010 10:56:00 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.3/8.14.3) with ESMTP id o5S9u0eL045561; Mon, 28 Jun 2010 10:56:00 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.3/8.14.3/Submit) id o5S9u0of045560; Mon, 28 Jun 2010 10:56:00 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Garrett Cooper In-Reply-To: References: Content-Type: text/plain; charset="ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Jun 2010 10:55:59 +0100 Message-ID: <1277718959.45304.4.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: FreeBSD Current , Ruslan Ermilov Subject: Re: Coming back to the btxld: No such file or directory installworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2010 09:56:07 -0000 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