Date: Wed, 23 Oct 2002 23:45:09 +0200 From: Daniel Rock <D.Rock@t-online.de> To: current@freebsd.org Subject: unable to "make release" in -CURRENT Message-ID: <3DB71865.2000607@t-online.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB71865.2000607>