From owner-freebsd-questions@FreeBSD.ORG Fri May 20 11:50:24 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 853BA16A4CE for ; Fri, 20 May 2005 11:50:24 +0000 (GMT) Received: from ranger.texlife.com (ranger.texlife.com [208.196.9.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABC6D43DAB for ; Fri, 20 May 2005 11:50:23 +0000 (GMT) (envelope-from wrichter@texaslife.com) Received: (from uucp@localhost) by ranger.texlife.com (8.9.3/8.9.3) id GAA16998 for ; Fri, 20 May 2005 06:50:22 -0500 (CDT) (envelope-from wrichter@texaslife.com) Received: from qmailhost(200.200.60.5) by ranger.texlife.com via smap (V2.1) id xma016969; Fri, 20 May 05 06:49:44 -0500 Received: (qmail 63488 invoked by uid 1010); 20 May 2005 11:49:44 -0000 Received: from wrichter@texaslife.com by qmailhost by uid 1004 with qmail-scanner-1.20 (spamassassin: 2.63. Clear:RC:1(200.200.60.14):. Processed in 0.019548 secs); 20 May 2005 11:49:44 -0000 Received: from lamar.hcs.tl (HELO lamar) (200.200.60.14) by qmailhost.hcs.tl with SMTP; 20 May 2005 11:49:44 -0000 Date: Fri, 20 May 2005 06:49:44 -0500 From: William Richter To: freebsd-questions@freebsd.org Message-Id: <20050520064944.79881857.wrichter@texaslife.com> Organization: Texas Life Insurance Company X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-unknown-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: mdconfig problem on make release of 5_4_0_RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 11:50:24 -0000 i'm attempting to make a release and the build of the mfs image is failing (see below). it's mdconfig that's failing: + mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot mdconfig: ioctl(/dev/mdctl): Inappropriate ioctl for device if fact i chroot'ed into the release directory and played around with mdconfig. i cannot get it to function properly. it always responds with 'mdconfig: ioctl(/dev/mdctl): Inappropriate ioctl for device' i cannot get google to find anything related to this problem. what gives? i'm dumb-founded. please help me! 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: ioctl(/dev/mdctl): Inappropriate ioctl for device + MDDEVICE= *** Error code 1 Stop in /usr/src/release. + umount /dev *** Error code 1 Stop in /usr/w/FreeBSD_20050519/usr/src/release. # uname -a FreeBSD bsdmaster.hcs.tl 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 mdconfig fails in chroot'ed environment: -- Any opinions as lame as the ones expressed above could only belong to me, and are not those of Texas Life Insurance Company. The very powerful and the very stupid have one thing in common. Instead of altering their views to fit the facts, they alter the facts to fit their views ... which can be very uncomfortable if you happen to be one of the facts that needs altering. -- Doctor Who, "Face of Evil" Those who do not understand Unix are condemned to reinvent it, poorly.