Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 09:14:46 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        fjaspers@xs4all.nl
Subject:   Re: Kernel build problem after make world
Message-ID:  <200402220914.46586.kstewart@owt.com>
In-Reply-To: <20040222122829.GA51371@xs4all.nl>
References:  <20040222122829.GA51371@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402220914.46586.kstewart>