DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th February 2010
pahel0 pahel0 is offline
New User
 
Join Date: Feb 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default custom kernel problem

Hi people,
i have problem and found some articles about that on few forums. On my FBSD 8.0 machine using custom kernel. Binary update have patches for kernel, and install me new generic kernel. I found article from few users who have custom kernel, and read it should download kernel source with cvs. Using cvs i configure all with handbook RELENG_8_0, but when install kernel and run binary update he install again new generic kernel.
Reply With Quote
  #2   (View Single Post)  
Old 15th February 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,147
Thanked 182 Times in 149 Posts
Default

From http://www.freebsd.org/doc/en_US.ISO...bsdupdate.html

Quote:
Note: The updates distributed via freebsd-update, do not always involve the kernel. It will not be necessary to rebuild your custom kernel if the kernel sources have not been modified by the execution of freebsd-update install.

However, freebsd-update will always update the /usr/src/sys/conf/newvers.sh file. The current patch level (as indicated by the -p number reported by uname -r) is obtained from this file. Rebuilding your custom kernel, even if nothing else changed, will allow uname(1) to accurately report the current patch level of the system.
Conclusion: You do not have to rebuild your custom kernel if the sources have not been updated.

Implication: You have to rebuild your custom kernel if the sources have been updated.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 15th February 2010
pahel0 pahel0 is offline
New User
 
Join Date: Feb 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default

Yes, i know that. But not so long ago came out patches for kernel.
Reply With Quote
  #4   (View Single Post)  
Old 15th February 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,147
Thanked 182 Times in 149 Posts
Default

If you know that, then what is the problem?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 15th February 2010
pahel0 pahel0 is offline
New User
 
Join Date: Feb 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default

First i run binary update and rewrite my kernel with generic. After downloading source RELENG_8_0, compile and install kernel all is ok. Next time when start binary update i got generic kernel again. Why binary update again rewrite my kernel with generic? Does not equal binary update kernel and kernel compiled from source RELENG_8_0?
Reply With Quote
  #6   (View Single Post)  
Old 15th February 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,147
Thanked 182 Times in 149 Posts
Default

Please post the output of the following command:
Code:
 grep '^[^#]' /etc/freebsd-update.conf
The '^[^#]' selects only the lines that do not start with a '#' (comment).
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #7   (View Single Post)  
Old 15th February 2010
pahel0 pahel0 is offline
New User
 
Join Date: Feb 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default

Code:
ServerName update.FreeBSD.org
Components src world kernel
Ignore Paths
IDSIgnorePaths /usr/share/man/cat
IDSIgnorePaths /usr/share/man/whatis
IDSIgnorePaths /var/db/locate.database
IDSIgnorePaths /var/log
UpdateIfUnmodified /etc/ /var/ /root/ /.cshrc /.profile
MergeChanges /etc/ /var/named/etc/ /boot/device.hints
Reply With Quote
  #8   (View Single Post)  
Old 15th February 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,147
Thanked 182 Times in 149 Posts
Default

Quote:
Components src world kernel
You tell freebsd-update to update your kernel and so it does
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #9   (View Single Post)  
Old 15th February 2010
pahel0 pahel0 is offline
New User
 
Join Date: Feb 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default

I thought that if i compile kernel from source RELENG_8_0 that freebsd-update view that kernel is updated and not rewrite. I do not understand just what is the difference kernel from binary and kernel from RELENG_8_0? I now edit conf file.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OBSD 4.6 Installed - Problem building Kernel for -current IronForge OpenBSD Installation and Upgrading 11 10th November 2009 09:34 PM
Problem during kernel-build for a 6.x-to-7 upgrade clevershark FreeBSD Installation and Upgrading 2 1st February 2009 10:45 PM
Updating FreeBSD and Building a Custom Kernel bsdforlife FreeBSD Installation and Upgrading 8 16th August 2008 02:45 AM
Unable to build custom kernel [Wrong configuration?] jrick FreeBSD General 3 31st July 2008 01:53 PM
freebsd 6.0 system freeze: kernel(smp) problem? nkiuuu FreeBSD General 3 17th June 2008 09:57 AM


All times are GMT. The time now is 02:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick