From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 00:27:00 2004 Return-Path: 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 227DA16A4CE for ; Wed, 7 Jul 2004 00:27:00 +0000 (GMT) Received: from worldinternet.org (dsl-200-95-35-213.prod-infinitum.com.mx [200.95.35.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D09843D1F for ; Wed, 7 Jul 2004 00:26:59 +0000 (GMT) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by worldinternet.org with local; Tue, 06 Jul 2004 19:32:51 -0500 Received: from dsl-200-95-35-213.prod-infinitum.com.mx (dsl-200-95-35-213.prod-infinitum.com.mx [200.95.35.213]) by mail.encontacto.net (Horde) with HTTP for ; Tue, 6 Jul 2004 19:32:50 -0500 Message-ID: <20040706193250.8g84ks4ks4skwc8s@mail.encontacto.net> Date: Tue, 6 Jul 2004 19:32:50 -0500 From: Edwin Culp To: Grover Lines References: <20040706204433.DD2FF43D31@mx1.FreeBSD.org> In-Reply-To: <20040706204433.DD2FF43D31@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 200.95.35.213 cc: freebsd-current@freebsd.org Subject: Re: Can't seem to build a release. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 07 Jul 2004 00:27:00 -0000 Quoting Grover Lines : >> Edwin Culp wrote: >>> For a while now, my releases haven't finished. After the error md0 >>> exists as does mdctl. I have no idea what is causing the error. Any >>> help would be appreciated. >>> >>> + [ x != x ] >>> + mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot MDDEVICE=md0 [ ! >>> + -c /dev/md0 ] echo No /dev/md0 >>> No /dev/md0 >>> + exit 1 >>> *** Error code 1 >>> >>> Stop in /usr/src/release. >>> + umount /dev >>> *** Error code 1 >>> >>> Stop in /usr/src/release. >>> >> >> I found a workaround in PR misc/68528 (beware of cutandpaste): >> >> --- src/release/scripts/doFS.sh.orig Thu Jul 1 03:47:59 2004 >> +++ src/release/scripts/doFS.sh Thu Jul 1 03:48:21 2004 >> @@ -64,6 +64,7 @@ >> fi >> >> MDDEVICE=`mdconfig -a -t vnode -f ${FSIMG}` >> + sleep 1 >> if [ ! -c /dev/${MDDEVICE} ] ; then >> echo "No /dev/$MDDEVICE" 1>&2 >> exit 1 >> >> works for me. >> >>> TIA, >>> >>> ed >> >> Claude Buisson >> _______________________________________________ > > Sorry about that last mail it was sent prematurely. > > > I know this probably isn't the correct way to do this but it worked for me > also without patching or having to rebuild the whole release. > > > mdconfig -a -t swap -s 4m > mdconfig -a -t swap -s 4m > mdconfig -a -t swap -s 4m > mdconfig -a -t swap -s 4m > mdconfig -a -t swap -s 4m > > to make the md0-4 in /dev > > then chroot to your build dir > > chroot /home2/build/work/5-current-chrootdir /mk cdrom.1 > chroot /home2/build/work/5-current-chrootdir /mk iso.1 Testing now, thanks. I had already ereased my previous build. ed