From owner-freebsd-current@FreeBSD.ORG Fri Jan 16 14:19:27 2009 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 D41961065674 for ; Fri, 16 Jan 2009 14:19:27 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6A58FC13 for ; Fri, 16 Jan 2009 14:19:27 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:2535:e527:6aaa:357a] (unknown [IPv6:2001:7b8:3a7:0:2535:e527:6aaa:357a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C6D8511F838 for ; Fri, 16 Jan 2009 15:19:26 +0100 (CET) Message-ID: <4970976B.1000208@andric.com> Date: Fri, 16 Jan 2009 15:19:23 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1b3pre) Gecko/20090108 Shredder/3.0b2pre MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: make release problem? 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: Fri, 16 Jan 2009 14:19:28 -0000 Hi, To experiment with some sysinstall things, I'm trying to build a -CURRENT release. This chugs along for some hours and all works fine, until it tries to create some mfsroot filesystems, right at (nearly) the end: [...] 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 + MDDEVICE=md0 + [ ! -c /dev/md0 ] + trap umount /mnt; mdconfig -d -u md0 EXIT + [ xbsdlabel != x ] + bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 minimum3 + newfs -O1 -i 8000 -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. [...] AFAICS, it looks like bsdlabel does NOT create /dev/md0c anymore, only /dev/md0a. Since the doFS.sh script hasn't been changed since 2004, I guess there must be some other change somewhere, that has changed either bsdlabel's (or possibly devd's?) behaviour. Example: # dd of=mfsroot if=/dev/zero count=4320 bs=1k 4320+0 records in 4320+0 records out 4423680 bytes transferred in 0.117794 secs (37554363 bytes/sec) # mdconfig -a -t vnode -f mfsroot md0 # ls -l /dev/md* crw-r----- 1 root operator 0, 90 Jan 16 15:16 /dev/md0 crw------- 1 root wheel 0, 78 Jan 16 09:08 /dev/mdctl # bsdlabel -w -B -b /boot/boot md0 minimum3 # ls -l /dev/md* crw-r----- 1 root operator 0, 90 Jan 16 15:17 /dev/md0 crw-r----- 1 root operator 0, 95 Jan 16 15:17 /dev/md0a crw------- 1 root wheel 0, 78 Jan 16 09:08 /dev/mdctl # newfs -O1 -i 8000 -o space -m 0 /dev/md0c newfs: /dev/md0c: could not find special device Or am I doing something completely crazy here? :)