Kernel build problem after make world
Kent Stewart
kstewart at owt.com
Sun Feb 22 09:14:48 PST 2004
On Sunday 22 February 2004 04:28 am, fjaspers at 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
More information about the freebsd-questions
mailing list