uname reports wrong kernel version number

Michael Sierchio kudzu at tenebras.com
Thu May 29 04:20:20 UTC 2014


I've seen threads with this topic before, but with no satisfactory answer.

I ran freebsd-update fetch install, then installed a new kernel, then rebooted.

> strings /boot/kernel/kernel | grep '9.1-RELEASE'
@(#)FreeBSD 9.1-RELEASE-p13 #0: Tue May 27 17:49:30 UTC 2014
FreeBSD 9.1-RELEASE-p13 #0: Tue May 27 17:49:30 UTC 2014
9.1-RELEASE-p13

> sysctl kern.bootfile
kern.bootfile: /boot/kernel/kernel

> uname -a

FreeBSD pvpn.ny.pivotallabs.com 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8
#2: Mon Nov 18 20:24:53 UTC 2013
root at net6501-factory.sf.pivotallabs.com:/usr/src/sys/i386/compile/NET6501-IPSEC
 i386

Which was definitely the old kernel, but not the running one... hrm.

Any insights?

- M


More information about the freebsd-questions mailing list