From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 09:14:48 2004 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 838D816A4CE for ; Sun, 22 Feb 2004 09:14:48 -0800 (PST) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4267043D2F for ; Sun, 22 Feb 2004 09:14:48 -0800 (PST) (envelope-from kstewart@owt.com) Received: from localhost.invalid (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i1MHEJ9U007309; Sun, 22 Feb 2004 09:14:19 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sun, 22 Feb 2004 09:14:46 -0800 User-Agent: KMail/1.6 References: <20040222122829.GA51371@xs4all.nl> In-Reply-To: <20040222122829.GA51371@xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402220914.46586.kstewart@owt.com> cc: fjaspers@xs4all.nl Subject: Re: Kernel build problem after make world 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: Sun, 22 Feb 2004 17:14:48 -0000 On Sunday 22 February 2004 04:28 am, fjaspers@xs4all.nl wrote: > Hi, > > I upgraded my system from RELEASE 5.0 to RELENG_5_2. > Used cvsup to get the sources, made buildworld; made a generic > kernel; installed world. Everything went well, i was able to boot > into multi-user mode. > > BUT now i would like build a custom kernel. This doesnt work anymore. > I tried it both ways. (make builkernel KERNCONF=MYKERNEL, > or config MYKERNEL, make depend; make;) > > The kernel sources seem to compile, but when the linker starts my > screen is flooded with unknown "Unknown referernces errors" > > Would anybody known what causes this? > Should there be some magic new entry in /etc/make.conf? > For starters, I think we would need to see the messages. What has me concerned is whether you installed your kernel before you did the installworld. Version 5.2 has a different statfs, which needs the new kernel to run. An old world and a new kernel was fine but an old kernel and a new world was a show stopper. You had to use the fixit disk to recover your system. There are different options in the config file for 5.2 and you would need to start with a new GENERIC to create your MYKERNEL. Beyond that, I don't have any ideas at this point. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html