From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 4 08:03:06 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B9EA16A417 for ; Tue, 4 Dec 2007 08:03:06 +0000 (UTC) (envelope-from walraven@terantula.com) Received: from mx.terantula.com (mx.terantula.com [212.61.39.65]) by mx1.freebsd.org (Postfix) with ESMTP id B140B13C457 for ; Tue, 4 Dec 2007 08:03:05 +0000 (UTC) (envelope-from walraven@terantula.com) Received: from localhost (localhost [127.0.0.1]) by mx.terantula.com (Postfix) with ESMTP id 6EB0E15F02 for ; Tue, 4 Dec 2007 08:43:31 +0100 (CET) X-Virus-Scanned: amavisd-new at terantula.com Received: from mx.terantula.com ([127.0.0.1]) by localhost (cotton.terantula.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QX4r1fDfPEW5 for ; Tue, 4 Dec 2007 08:43:29 +0100 (CET) Received: by mx.terantula.com (Postfix, from userid 1002) id 4F55615F00; Tue, 4 Dec 2007 08:43:29 +0100 (CET) Date: Tue, 4 Dec 2007 08:43:29 +0100 From: Marco Walraven To: freebsd-hackers@freebsd.org Message-ID: <20071204074328.GR36677@cotton.terantula.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organisation: Terantula Subject: Make release fails on mdconfig X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 08:03:06 -0000 Hi All, I have been doing some release builds overhere with success, however lately the builds fail on mdconfig with the following error: + mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot mdconfig: failed to load geom_md module: No such file or directory + MDDEVICE= *** Error code 1 Looking at the chrooted environment I see that /boot/kernels is not populated whereas in old builds it is. If I install a kernel into the chrooted environment using 'make installkernel DESTDIR=/dir_to_chroot' and run a 'make rerelease' mdconfig happily accepts it and the make release builds successfully. The kernel I run has support for mdconfig; I can use memory disks without problems. Any clue why this fails in the first place ? Script output for release.8 target: touch release.7 cp /R/stage/trees/base/etc/disktab /etc rm -rf /R/stage/mfsfd mkdir /R/stage/mfsfd cd /R/stage/mfsfd && mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help var/empty ( cd /R/stage/mfsfd && for dir in bin sbin ; do ln -sf /stand $dir; done ) cp /R/stage/trees/base/sbin/dhclient-script /R/stage/mfsfd/stand cp /usr/src/release/../etc/usbd.conf /R/stage/mfsfd/etc/usbd.conf cp /usr/src/release/../etc/master.passwd /R/stage/mfsfd/etc/master.passwd cp /R/stage/trees/base/etc/*pwd.db /R/stage/mfsfd/etc/ ( for F in defaults/rc.conf netconfig protocols ; do sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g' /R/stage/trees/base/etc/$F > /R/stage/mfsfd/stand/etc/$F ; done ) grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' /R/stage/trees/base/etc/services | sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g' > /R/stage/mfsfd/stand/etc/services grep 'operator' /R/stage/trees/base/etc/group > /R/stage/mfsfd/stand/etc/group ln /R/stage/mfsfd/stand/etc/services /R/stage/mfsfd/etc/services ln /R/stage/mfsfd/stand/etc/group /R/stage/mfsfd/etc/group ln /R/stage/mfsfd/stand/etc/netconfig /R/stage/mfsfd/etc/netconfig cp /R/stage/trees/base/COPYRIGHT /R/stage/mfsfd/stand/help/COPYRIGHT.hlp test -f /usr/src/release/install.cfg && cp /usr/src/release/install.cfg /R/stage/mfsfd *** Error code 1 (ignored) sh -e /usr/src/release/scripts/doFS.sh bsdlabel "" /R/stage/mfsroot/mfsroot /R/stage /mnt 4320 /R/stage/mfsfd 8000 minimum3 + export BLOCKSIZE=512 + DISKLABEL=bsdlabel + shift + MACHINE= + shift + FSIMG=/R/stage/mfsroot/mfsroot + shift + RD=/R/stage + shift + MNT=/mnt + shift + FSSIZE=4320 + shift + FSPROTO=/R/stage/mfsfd + shift + FSINODE=8000 + shift + FSLABEL=minimum3 + shift + [ 4320 -eq 0 -a minimum3 = auto ] + rm -f /R/stage/mfsroot/mfsroot + dd of=/R/stage/mfsroot/mfsroot if=/dev/zero count=4320 bs=1k + uname -r + [ -f /R/stage/trees/base/boot/boot ] + BOOT=-B -b /R/stage/trees/base/boot/boot + dofs_md + [ x != x ] + mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot mdconfig: failed to load geom_md module: No such file or directory + MDDEVICE= *** Error code 1 Stop in /usr/src/release. + umount /dev *** Error code 1 Stop in /data/RELENG_6/release. Regards, Marco Walraven -- Terantula - Industrial Strength Open Source phone:+31 64 3232 400 / www: http://www.terantula.com / pgpkey: E7EE7A46 pgp fingerprint: F2EE 122D 964C DE68 7380 6F95 3710 7719 E7EE 7A46