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


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to