From owner-freebsd-current@FreeBSD.ORG Tue Jul 6 12:49:50 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 5EB0E16A4CE for ; Tue, 6 Jul 2004 12:49:50 +0000 (GMT) Received: from kraid.nerim.net (smtp-102-tuesday.nerim.net [62.4.16.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84AB043D5A for ; Tue, 6 Jul 2004 12:49:49 +0000 (GMT) (envelope-from cbuisson@nerim.net) Received: from nerim.net (cbuisson.net1.nerim.net [213.41.135.238]) by kraid.nerim.net (Postfix) with ESMTP id 6E907418AE; Tue, 6 Jul 2004 14:49:47 +0200 (CEST) Message-ID: <40EA9FEB.4010007@nerim.net> Date: Tue, 06 Jul 2004 14:49:47 +0200 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040517 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edwin Culp References: <20040705184443.8fgo4ssoksw0o4ww@mail.encontacto.net> In-Reply-To: <20040705184443.8fgo4ssoksw0o4ww@mail.encontacto.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: 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: Tue, 06 Jul 2004 12:49:50 -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