From owner-freebsd-current@FreeBSD.ORG Tue Jul 6 20:40:26 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 B2B1C16A4E1 for ; Tue, 6 Jul 2004 20:40:26 +0000 (GMT) Received: from hellhound.ceribus.net (c-24-21-92-61.client.comcast.net [24.21.92.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FA8A43D5F for ; Tue, 6 Jul 2004 20:40:22 +0000 (GMT) (envelope-from grover@ceribus.net) Received: (qmail 23415 invoked by uid 1002); 6 Jul 2004 20:40:23 -0000 Received: from grover@ceribus.net by hellhound.ceribus.net by uid 89 with qmail-scanner-1.22 (clamscan: 0.73. spamassassin: 2.63. Clear:RC:1(192.168.200.200):. Processed in 3.13559 secs); 06 Jul 2004 20:40:23 -0000 Received: from unknown (HELO purgatory) (192.168.200.200) by 192.168.200.225 with SMTP; 6 Jul 2004 20:40:20 -0000 From: "Grover Lines" To: Date: Tue, 6 Jul 2004 13:40:18 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcRjmXLaGX4RC96YSgGCMF/w8fNjCA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2149 X-Qmail-Scanner-Message-ID: <108914642067223398@hellhound.ceribus.net> Message-Id: <20040706204022.6FA8A43D5F@mx1.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: Tue, 06 Jul 2004 20:40:27 -0000 > 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 > _______________________________________________ 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