Hi,
It's been a while since I built a custom kernel but necessary this time around.
I just upgraded to 13.2.
I removed /usr/src and make sure via ls -sal that everything was gone.
SO... attempt a GENERIC build....
Digging in....
Like I said, it's been a while... last time we were still using svn...
Thank you for the support
It's been a while since I built a custom kernel but necessary this time around.
I just upgraded to 13.2.
I removed /usr/src and make sure via ls -sal that everything was gone.
git clone -b releng/13.2 --depth 1 https://git.freebsd.org/src.git /usr/src
SO... attempt a GENERIC build....
Code:
make buildkernel
make[1]: "/usr/src/Makefile.inc1" line 338: SYSTEM_COMPILER: Determined that CC=cc matches the source tree. Not bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 343: SYSTEM_LINKER: Determined that LD=ld matches the source tree. Not bootstrapping a cross-linker.
--------------------------------------------------------------
>>> Kernel build for GENERIC started on Sat May 6 14:41:37 EDT 2023
--------------------------------------------------------------
===> GENERIC
mkdir -p /usr/obj/usr/src/amd64.amd64/sys
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /usr/src/sys/amd64/conf; PATH=/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/amd64.amd64/sys/GENERIC -I '/usr/src/sys/amd64/conf' -I '/usr/src/sys/amd64/conf' '/usr/src/sys/amd64/conf/GENERIC'
ERROR: version of config(8) does not match kernel!
config version = 600016, version required = 600018
Make sure that /usr/src/usr.sbin/config is in sync
with your /usr/src/sys and install a new config binary
before trying this again.
If running the new config fails check your config
file against the GENERIC or LINT config files for
changes in config syntax, or option/device naming
conventions
*** Error code 1
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Code:
which config
/usr/sbin/config
config -V
600018
Thank you for the support
Last edited by a moderator: