From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 19:13:24 2003 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 2485E37B401 for ; Fri, 20 Jun 2003 19:13:24 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 833D043F75 for ; Fri, 20 Jun 2003 19:13:23 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h5L2DBc05159; Fri, 20 Jun 2003 19:13:11 -0700 From: Kent Stewart To: BSDVault , freebsd-questions Date: Fri, 20 Jun 2003 19:13:10 -0700 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306201913.10819.kstewart@owt.com> Subject: Re: Buildkernel fails after cvsup and buildworld today (5.0 -> 5.1) any help? 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: Sat, 21 Jun 2003 02:13:24 -0000 On Friday 20 June 2003 04:53 pm, BSDVault wrote: > I currently still booted into 5.0-RELEASE-p7. My hardware is an asus > A7M-266D dual AMD MP-1800's . I have two Western Digital 120Gig drives > (IDE) and 2 512 PC-2100 DDR. > > Buildworld completed fine after cd /usr/obj; chflags -R noschg * ; rm -rf > *. I then tried to buildkernel as I always have and got the following > error: > > machdep.o: In function `cpu_idle': > machdep.o(.text+0x14a7): undefined reference to `sched_runnable' > *** Error code 1 > > You didn't read /usr/src/UPDATING. The problem you are seeing is covered in 20030125: The scheduler framework has grown a second scheduler and consequently you must specify one and only one scheduler in your kernel config. The cvs config files have been updated to use the old scheduler which may be selected via 'options SCHED_4BSD'. If you would like to try the new, much more experimental, scheduler please try 'options SCHED_ULE' and contribute to the arch@ discussion. You probably should add 'options SCHED_4BSD' to your kernel config file. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html