The FreeBSD Diary

The FreeBSD Diary (TM) Remember
I remember
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 an easier way to fix ERROR: version of config(8) does not match kernel!
Author: Janou 
Date:   17-02-02 18:20

It seems that there's an easier way to do this instead of going through a whole cvsup again. This error comes when time to compile the kernel, not during the cvsup stage. So, why send someone back to cvsup, then have to remove objects, then installworld, when they can just type:

cd /usr/src/usr.sbin/config && make && make install

This will solve the config(8) 49918 -> 40019 problem.

Janou

Reply To This Message
 
 Re: an easier way to fix ERROR: version of config(8) does not match kernel!
Author: Janou 
Date:   17-02-02 18:22

Did I say "installworld" ? I meant "buildworld". Installworld comes afte the kernel compile :)

Janou

Reply To This Message
 
 Re: an easier way to fix ERROR: version of config(8) does not match kernel!
Author: Dan Langille 
Date:   18-02-02 05:52

If you read carefully, as I'm sure you did, you will see that I only did the cvsup to verify that it was indeed out of date sources which were causing the problem.

I'm also quite sure that the proposed solution would not have worked on my box. It wasn't my config which was out of date. It was my kernel source.

Reply To This Message
 
 Re: an easier way to fix ERROR: version of config(8) does not match kernel!
Author: dman 
Date:   09-02-06 00:00

I had this problem before, a buildworld && installworld works. But if you just want to update config(8) you should

cd /usr/src/usr.sbin/config
make
make install BINDIR=/usr/sbin

as was recomended by http://www.jp.freebsd.org/newconfig/patch.html

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org