From owner-freebsd-current Wed Oct 23 14:46:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3084137B401 for ; Wed, 23 Oct 2002 14:46:17 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49B9343E3B for ; Wed, 23 Oct 2002 14:46:16 -0700 (PDT) (envelope-from D.Rock@t-online.de) Received: from fwd04.sul.t-online.de by mailout05.sul.t-online.com with smtp id 184TKQ-0000IR-02; Wed, 23 Oct 2002 23:46:14 +0200 Received: from dialin.t-online.de (340029380333-0001@[80.128.209.224]) by fmrl04.sul.t-online.com with esmtp id 184TK9-2Eqs8uC; Wed, 23 Oct 2002 23:45:57 +0200 Received: from t-online.de (doom [172.23.7.254]) by dialin.t-online.de (8.11.6+Sun/8.11.6/Rock) with ESMTP id g9NLj7v10384 for ; Wed, 23 Oct 2002 23:45:07 +0200 (CEST) Message-ID: <3DB71865.2000607@t-online.de> Date: Wed, 23 Oct 2002 23:45:09 +0200 From: Daniel Rock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: current@freebsd.org Subject: unable to "make release" in -CURRENT Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 340029380333-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, the following error is probably GEOM related. Since a few weeks I am unable to "make release" anymore. It bails out while trying to prepare the floppies with the following error: disklabel: /dev/md0c: Device not configured The real md devices from devfs have major number 4: # ls -l /dev/md* crw-r----- 1 root operator 4, 86 23 Okt 22:10 /dev/md0 crw-r----- 1 root operator 4, 87 23 Okt 22:10 /dev/md0a crw-r----- 1 root operator 4, 87 23 Okt 22:10 /dev/md0a crw-r----- 1 root operator 4, 88 23 Okt 22:10 /dev/md0b crw-r----- 1 root operator 4, 88 23 Okt 22:10 /dev/md0b crw-r----- 1 root operator 4, 89 23 Okt 22:10 /dev/md0c crw-r----- 1 root operator 4, 89 23 Okt 22:10 /dev/md0c crw------- 1 root wheel 95, 0xffff00ff 23 Okt 22:10 /dev/mdctl But the ones in the chroot'ed environment created manually with MAKEDEV still have major number 95: crw-r----- 2 root operator 95, 0x00010002 23 Okt 11:02 /dev/md0 crw-r----- 2 root operator 95, 0 23 Okt 11:02 /dev/md0a crw-r----- 2 root operator 95, 1 23 Okt 11:02 /dev/md0b crw-r----- 2 root operator 95, 2 23 Okt 11:02 /dev/md0c crw-r----- 2 root operator 95, 3 23 Okt 11:02 /dev/md0d crw-r----- 2 root operator 95, 4 23 Okt 11:02 /dev/md0e crw-r----- 2 root operator 95, 5 23 Okt 11:02 /dev/md0f crw-r----- 2 root operator 95, 6 23 Okt 11:02 /dev/md0g crw-r----- 2 root operator 95, 7 23 Okt 11:02 /dev/md0h crw-r----- 2 root operator 95, 0x00020002 23 Okt 11:02 /dev/md0s1 crw-r----- 2 root operator 95, 0x00020000 23 Okt 11:02 /dev/md0s1a crw-r----- 2 root operator 95, 0x00020001 23 Okt 11:02 /dev/md0s1b crw-r----- 2 root operator 95, 0x00020002 23 Okt 11:02 /dev/md0s1c crw-r----- 2 root operator 95, 0x00020003 23 Okt 11:02 /dev/md0s1d crw-r----- 2 root operator 95, 0x00020004 23 Okt 11:02 /dev/md0s1e crw-r----- 2 root operator 95, 0x00020005 23 Okt 11:02 /dev/md0s1f crw-r----- 2 root operator 95, 0x00020006 23 Okt 11:02 /dev/md0s1g crw-r----- 2 root operator 95, 0x00020007 23 Okt 11:02 /dev/md0s1h crw-r----- 2 root operator 95, 0x00030002 23 Okt 11:02 /dev/md0s2 crw-r----- 2 root operator 95, 0x00040002 23 Okt 11:02 /dev/md0s3 crw-r----- 2 root operator 95, 0x00050002 23 Okt 11:02 /dev/md0s4 crw------- 1 root wheel 95, 0xffff00ff 22 Okt 23:03 /dev/mdctl "make release" should simply mount /dev in the chroot'ed environment, so we don't have any gap between statically created device nodes via MAKEDEV and dynamically ones via devfs, like in the following patch: Index: Makefile =================================================================== RCS file: /data/cvs/src/release/Makefile,v retrieving revision 1.711 diff -u -r1.711 Makefile --- Makefile 16 Oct 2002 05:30:56 -0000 1.711 +++ Makefile 23 Oct 2002 21:44:03 -0000 @@ -385,9 +385,11 @@ echo " ${CROSSMAKE} ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${CHR OOTDIR}/mk echo " touch /tmp/.world_done" >> ${CHROOTDIR}/mk echo "fi" >> ${CHROOTDIR}/mk + echo "mount -t devfs /dummy /dev" >> ${CHROOTDIR}/mk echo "cd /usr/src/release" >> ${CHROOTDIR}/mk echo "make obj" >> ${CHROOTDIR}/mk echo "make \$${_RELTARGET}" >> ${CHROOTDIR}/mk + echo "umount /dev" >> ${CHROOTDIR}/mk echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ =GMT date\`\"" >> ${CHROOTDIR}/mk chmod 755 ${CHROOTDIR}/mk env -i /usr/sbin/chroot ${CHROOTDIR} /mk Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message