trouble compiling the kernel

Abdul Rf abdulrf at surabaya.indo.net.id
Tue Aug 31 22:07:14 PDT 2004


Dear Bob,

sorry, don't forget to backup your file "config".
       cp /usr/sbin/config /usr/sbin/config.orig

if you still have problem, send your configuration file
(/sys/i386/config/DUMMYNET ??).


regards,
Abdul Rf


AR> Hello Bob,

AR> Try this one.
AR>     cd /usr/src/usr.sbin/config
AR>     make
AR>     make install
AR> and try again to build your kernel.


AR> regards,
AR> abdul rf

AR> Wednesday, September 1, 2004, 11:45:28 AM, you wrote:

BA>> Hello all-

BA>>    I am trying to recompile my kernel to make use of dummynet per the
BA>> instruction in the handbook and I am getting this error output and cannot
BA>> make use of it.  I am calling my edited config file DUMMYNET, fyi.

BA>> bash-2.05b# make buildkernel KERNCONF=DUMMYNET

BA>> --------------------------------------------------------------
 >>>>> Kernel build for DUMMYNET started on Wed Sep  1 00:38:41 EDT 2004
BA>> --------------------------------------------------------------
===>>> DUMMYNET
BA>> mkdir -p /usr/obj/usr/src/sys

BA>> --------------------------------------------------------------
 >>>>> stage 1: configuring the kernel
BA>> --------------------------------------------------------------
BA>> cd 
BA>> /usr/src/sys/i386/conf; 
BA>> PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
BA>> config  -d /usr/obj/usr/src/sys/DUMMYNET 
BA>> /usr/src/sys/i386/conf/DUMMYNET
BA>> ERROR: version of config(8) does not match kernel!
BA>> config version = 500012, version required = 500013

BA>> Make sure that /usr/src/usr.sbin/config is in sync
BA>> with your /usr/src/sys and install a new config binary
BA>> before trying this again.

BA>> If running the new config fails check your config
BA>> file against the GENERIC or LINT config files for
BA>> changes in config syntax, or option/device naming
BA>> conventions

BA>> *** Error code 1

BA>> Stop in /usr/src.
BA>> *** Error code 1

BA>> Stop in /usr/src.


BA>> the output from uname -a goes like this:

BA>> bash-2.05b# uname -a
BA>> FreeBSD europa.phreakout.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon
BA>> Feb 23 20:45:55 GMT 
BA>> 2004    
BA>> root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386

BA>> Any help to figure what configure is doing here would be graciously accepted!

BA>> thanks,
BA>> Bob

BA>> _______________________________________________
BA>> freebsd-questions at freebsd.org mailing list
BA>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
BA>> To unsubscribe, send any mail to
BA>> "freebsd-questions-unsubscribe at freebsd.org"





-- 
Salam,
Abdul Rf
email : abdulrf at surabaya.indo.net.id
YM    : abdulrf_sby
PH    : +62 813 307 31596



More information about the freebsd-questions mailing list