'make release' & sunlabel/GEOM....

Peter Losher Peter_Losher at isc.org
Sun Jun 25 22:51:45 UTC 2006


I am building a custom FreeBSD for internal use for the various
platforms we use.  For sparc64, I am encountering a issue w/ sunlabel
when creating the md devices:

-=-
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 ]
+ rm -f /R/stage/mfsroot/mfsroot
+ dd of=/R/stage/mfsroot/mfsroot if=/dev/zero count=4096 bs=1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-r
+ dofs_md
+ [ x != x ]
+ mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xsunlabel != x ]
+ sunlabel -w -r md0 auto
Obsolete -r flag ignored
sunlabel: Geom not found
+ umount /mnt
umount: /mnt: not a file system root directory
*** Error code 1

Stop in /usr/src/release.
+ umount /dev
*** Error code 1 (ignored)
-=-

is sunlabel GEOM-aware?

Best Wishes - Peter
-- 
Peter_Losher at isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20060625/2c6ca036/signature.pgp


More information about the freebsd-sparc64 mailing list