From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 06:42:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1996516A4CE for ; Fri, 4 Jun 2004 06:42:50 -0700 (PDT) Received: from smtp-gw-cl-d.dmv.com (smtp-gw-cl-d.dmv.com [216.240.97.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8633843D49 for ; Fri, 4 Jun 2004 06:42:48 -0700 (PDT) (envelope-from sven@dmv.com) Received: from lanshark.dmv.com (lanshark.dmv.com [216.240.97.46]) i54DgXRv016239 for ; Fri, 4 Jun 2004 09:42:34 -0400 (EDT) (envelope-from sven@dmv.com) From: Sven Willenberger To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1086356506.7120.19.camel@lanshark.dmv.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Fri, 04 Jun 2004 09:41:46 -0400 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 Subject: Make release for sparc64 target on i386 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 13:42:50 -0000 I seem to be running into brick walls making a 5.2.1-RELEASE-P8 for sparc64 arch on an i386 system. I have tried the following using the latest sources from cvsup: 1)simple make buildworld to populate /usr/obj - make -DMAKE_ISOS -DNOPORTREADMES release \ BUILDNAME="5.2.1-RELEASE-P8-Sparc64" \ CHROOTDIR=/var/release2 \ CVSROOT=/var/ncvs \ RELEASETAG=RELENG_5_2 \ TARGET_ARCH=sparc64 - this works until the time to create the isos at which point the whole thing bails with: sh -e /usr/src/release/scripts/doFS.sh sunlabel "" /R/stage/mfsroot/mfsroot /R/stage /mnt 4096 /R/stage/mfsfd 8192 auto + export BLOCKSIZE=512 + DISKLABEL=sunlabel + shift + MACHINE= + shift + FSIMG=/R/stage/mfsroot/mfsroot + shift + RD=/R/stage + shift + MNT=/mnt + shift + FSSIZE=4096 + shift + FSPROTO=/R/stage/mfsfd + shift + FSINODE=8192 + shift + FSLABEL=auto + shift + [ 4096 -eq 0 -a auto = auto ] + deadlock=20 + uname -r + [ -f /R/stage/trees/base/boot/boot ] + BOOT=-r + dofs_md + true + rm -f /R/stage/mfsroot/mfsroot + [ x != x ] + dd of=/R/stage/mfsroot/mfsroot if=/dev/zero count=4096 bs=1k + mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot + MDDEVICE=md0 + [ ! -c /dev/md0 ] + trap umount /mnt; mdconfig -d -u md0 EXIT + sunlabel -w -r md0 auto Obsolete -r flag ignored + newfs -O1 -i 8192 -o space -m 0 /dev/md0c fstab: /etc/fstab:0: No such file or directory newfs: /dev/md0c: could not find special device + umount /mnt umount: /mnt: not a file system root directory *** Error code 1 Stop in /usr/src/release. + umount /dev *** Error code 1 Stop in /usr/src/release. 2) figuring this was because of the wrong world being used to create the release I did: make -j8 buildworld TARGET=sparc64 this created the /usr/obj/sparc64 structure then: - make TARGET_ARCH=sparc64 MAKEOBJDIRPREFIX=/usr/obj/sparc64 \ -DMAKE_ISOS -DNOPORTREADMES release \ BUILDNAME="5.2.1-RELEASE-P8-Sparc64" \ CHROOTDIR=/var/release2 \ CVSROOT=/var/ncvs \ RELEASETAG=RELENG_5_2 resulted in: . . .===> sys ===> sys/boot ===> sys/boot/ficl ===> sys/boot/i386 ===> sys/boot/i386/mbr install -o root -g wheel -m 444 mbr /var/release2/boot install: mbr: No such file or directory *** Error code 71 Stop in /usr/src/sys/boot/i386/mbr. *** Error code 1 Stop in /usr/src/sys/boot/i386. *** Error code 1 Stop in /usr/src/sys/boot. *** Error code 1 Stop in /usr/src/sys. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src/release. So the question is (two-fold): is it possible to make a sparc64 release with isos on an i386 system and if so, how exactly? Thanks, Sven