From owner-freebsd-current@freebsd.org Wed Jan 29 15:35:34 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D4891F3952 for ; Wed, 29 Jan 2020 15:35:34 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from violet.van-laarhoven.org (violet.van-laarhoven.org [IPv6:2a01:4f8:1c0c:72ba::3]) by mx1.freebsd.org (Postfix) with ESMTP id 4876xx3s4Zz3F0p; Wed, 29 Jan 2020 15:35:33 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from [192.168.178.139] (D4B295F2.static.ziggozakelijk.nl [212.178.149.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by violet.van-laarhoven.org (Postfix) with ESMTPSA id 90E639CD28; Wed, 29 Jan 2020 16:35:24 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: btxld not found From: Nick Hibma In-Reply-To: Date: Wed, 29 Jan 2020 16:35:23 +0100 Cc: FreeBSD Current Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <4817FF98-E0C8-4A8F-8D56-CBD0BA5311C4@van-laarhoven.org> References: <8B42F93A-7B9E-4F99-9D77-43DA3BB7F045@van-laarhoven.org> <42284B22-BACD-47E7-A9E0-75B7AC5B6C9C@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 4876xx3s4Zz3F0p X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of nick@van-laarhoven.org designates 2a01:4f8:1c0c:72ba::3 as permitted sender) smtp.mailfrom=nick@van-laarhoven.org X-Spamd-Result: default: False [-2.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; DMARC_NA(0.00)[van-laarhoven.org]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; IP_SCORE(-0.82)[ipnet: 2a01:4f8::/29(-2.53), asn: 24940(-1.54), country: DE(-0.02)]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 29 Jan 2020 15:35:34 -0000 >=20 >>> Could anyone explain to me what I am doing wrong? make installworld = fails each time with the following error >>>=20 >>> =3D=3D=3D> stand/i386/libi386 (install) >>> =3D=3D=3D> stand/i386/loader_4th (install) >>> strip -R .comment -R .note -o loader_4th.bin loader_4th.sym >>> btxld -v -f aout -e 0x200000 -o loader_4th -l = /usr/obj/usr/src/i386.i386/stand/i386/btx/btxldr/btxldr -b = /usr/obj/usr/src/i386.i386/stand/i386/btx/btx/btx loader_4th.bin >>> make[6]: exec(btxld) failed (No such file or directory) >>> *** Error code 1 >>>=20 >>> This is with source of last week. I had this problem before (from = old sources) and fixed it by specifying the full path to btxld in the = stand/i386/*/Makefile. >>=20 >> Yes, this is most likely your clock(s) being off. At installworld = time, >> it should *not* start rebuilding your loader. >>=20 >> Usually this happens if you build on one machine, and install on >> another, while the install machine's time is behind the build = machine's >> time. But it can also happens on one machine, for instance if you >> start in single user mode, and the clock is not yet synchronized. >>=20 >> -Dimitry >>=20 > Dimitry,=20 >=20 > My VirtualBox VMs do have a tendency to lag when I am not using them = for a while. I've adjusted time and started ntpd. In the past that would = not fix the time lag permanently. >=20 > I'll do a fresh buildworld and see whether that completes. >=20 > Nick Nope, make buildworld && make installworld results in, so I guess the = job ordering suggestion is a better one (VM with 2 processors on a = variably loaded laptop, no -j option, time accurate): install -o root -g wheel -m 444 mbr /boot/mbr =3D=3D=3D> stand/i386/pmbr (install) install -o root -g wheel -m 444 pmbr /boot/pmbr =3D=3D=3D> stand/i386/boot0 (install) install -o root -g wheel -m 444 boot0 /boot/boot0 =3D=3D=3D> stand/i386/boot0sio (install) install -o root -g wheel -m 444 boot0 /boot/boot0sio =3D=3D=3D> stand/i386/btx (install) =3D=3D=3D> stand/i386/btx/btx (install) =3D=3D=3D> stand/i386/btx/btxldr (install) =3D=3D=3D> stand/i386/btx/lib (install) =3D=3D=3D> stand/i386/boot2 (install) objcopy -S -O binary boot1.out boot1 objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b = /usr/obj/usr/src/i386.i386/stand/i386/btx/btx/btx -l boot2.ldr -o = boot2.ld -P 1 boot2.bin make[6]: exec(btxld) failed (No such file or directory) *** Error code 1 ... {e}nick@fimkjecurrent:/usr/src % sudo find / -name btxld -type f -ls 1908308 48 -r-xr-xr-x 1 root wheel = 22988 Jan 27 23:37 /usr/sbin/btxld 3441268 52 -rwxr-xr-x 1 root wheel = 25816 Jan 29 16:09 = /usr/obj/usr/src/i386.i386/usr.sbin/btxld/btxld {e}nick@fimkjecurrent:/usr/src % date Wed Jan 29 16:30:21 CET 2020 {e}nick@fimkjecurrent:/usr/src % make -dA ... Global:MFLAGS =3D -d A job_pipe -1 -1, maxjobs 1, tokens 1, compat 1 ...=