From owner-freebsd-current@FreeBSD.ORG Sun Jun 27 20:15:08 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 1DE3F1065673; Sun, 27 Jun 2010 20:15:08 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id E2F3F8FC0A; Sun, 27 Jun 2010 20:15:07 +0000 (UTC) Received: by pxi3 with SMTP id 3so112172pxi.13 for ; Sun, 27 Jun 2010 13:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=BKWFw7tnvAwBcjU80i+o7kHH3CcHhjhRdl5CAs2kAVA=; b=SHAegriifrd4iG/NcKRiWV5efgTivZ6V15KsnNfXx2gSJ+WWTAM3/oGKMqFST8yMQ+ odgZKKFz+YORduyTR2vO2xKyDZ98VC8IUS6PKA4WypRkbhxAo75KuqZAVISn1Of0Y5HZ JDRW22r1Xz8sBz1NwTYHNcxlhdXzUK8yvz/gg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=UADK9fjWIBfqd743PtmAukQBxdE0xEG+DdHvAYIsMYL7P4A4lh6Slv6M8bUQAeendI CgUG0sK6q54ZtuT4DLJrERNMITOZDqrTFR5Mfy4R86pPXLSp+xxEQAc/ORhOMiX5Voh2 rb974Pfp+8NyrWHmn0B7caGAIgf8mEDmC6KtE= MIME-Version: 1.0 Received: by 10.142.207.19 with SMTP id e19mr4573503wfg.186.1277669699223; Sun, 27 Jun 2010 13:14:59 -0700 (PDT) Received: by 10.143.6.11 with HTTP; Sun, 27 Jun 2010 13:14:59 -0700 (PDT) Date: Sun, 27 Jun 2010 13:14:59 -0700 Message-ID: From: Garrett Cooper To: Ruslan Ermilov Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current Subject: Coming back to the btxld: No such file or directory installworld error 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: Sun, 27 Jun 2010 20:15:08 -0000 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 Stop in /scratch/freebsd/current/sys/boot/i386. *** Error code 1 Stop in /scratch/freebsd/current/sys/boot. *** Error code 1 Stop in /scratch/freebsd/current/sys. *** Error code 1 Stop in /scratch/freebsd/current. *** Error code 1 Stop in /scratch/freebsd/current. *** Error code 1 Stop in /scratch/freebsd/current. *** Error code 1 Stop in /scratch/freebsd/current. Same goes for zfsboot: ===> sys/boot/i386/zfsboot (install) as --32 -o zfsboot.o zfsboot.s ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o zfsboot.out /usr/obj/scratch/freebsd/current/sys/boot/i386/zfsboot/../btx/lib/crt0.o zfsboot.o sio.o /scratch/tftpboot/orangebox//usr/lib/libstand.a objcopy -S -O binary zfsboot.out zfsboot.bin 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 btxld: No such file or directory *** Error code 1 Stop in /scratch/freebsd/current/sys/boot/i386/zfsboot. *** Error code 1 Stop in /scratch/freebsd/current/sys/boot/i386. *** Error code 1 Stop in /scratch/freebsd/current/sys/boot. *** Error code 1 Stop in /scratch/freebsd/current/sys. *** Error code 1 Stop in /scratch/freebsd/current. *** Error code 1 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 Thanks, -Garrett PS. This has been brought up in two separate threads in the past as well: [1]. http://lists.freebsd.org/pipermail/freebsd-amd64/2006-September/008849.html [2]. http://lists.freebsd.org/pipermail/freebsd-amd64/2004-August/001906.html