fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Re: freebsd-update ignores /boot/kernel/kernel sometimes!? - FreeBSD

This is a discussion on Re: freebsd-update ignores /boot/kernel/kernel sometimes!? - FreeBSD ; Andy Hilker wrote: >> Somehow freebsd-update find /boot/kernel/kernel on some servers and >> patches it and on others not. > > Additional info: > it seems that all machines where it does not work, have an SMP-GENERIC > (i386) installed. ...


Fix Unix > Unix > FreeBSD > Re: freebsd-update ignores /boot/kernel/kernel sometimes!?

Reply
 
LinkBack Tools
  #1  
Old 03-01-2007, 10:29 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: freebsd-update ignores /boot/kernel/kernel sometimes!?

Andy Hilker wrote:
>> Somehow freebsd-update find /boot/kernel/kernel on some servers and
>> patches it and on others not.

>
> Additional info:
> it seems that all machines where it does not work, have an SMP-GENERIC
> (i386) installed.


There's a bug in how FreeBSD Update handles /boot/kernel. Basically, it's
supposed to figure out if you're running a GENERIC or SMP kernel, and get
the appropriate updates based on that; but I incorrectly assumed that the
SMP kernel would identify itself as "SMP". Instead, the i386 SMP kernel
identifies itself as "SMP-GENERIC", while the amd64 SMP kernel identifies
itself as "GENERIC", with the result that

(a) On FreeBSD 6.2 i386 systems running an SMP kernel from /boot/kernel,
the kernel will not be updated, and
(b) On FreeBSD 6.2 amd64 systems running an SMP kernel from /boot/kernel,
the kernel will be replaced with a GENERIC (non-SMP) kernel.

I'm working on a patch for this and will be talking to re@ about having an
Errata Notice sent out about this.

Colin Percival
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu: boot prob after latest kernel update unix Debian 10 10-23-2008 07:02 AM
After kernel update cannot boot into openSUSE unix Suse 8 09-12-2008 07:32 AM
Re: kernel ignores kenv comconsole_speed? unix FreeBSD 0 06-06-2007 10:28 AM
Re: freebsd-update ignores /boot/kernel/kernel sometimes!? unix FreeBSD 0 03-01-2007 10:57 AM
freebsd-update ignores /boot/kernel/kernel sometimes!? unix FreeBSD 0 02-28-2007 10:50 PM


All times are GMT. The time now is 08:20 AM.