Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2014 08:02:27 +0100
From:      krad <kraduk@gmail.com>
To:        Michael Sierchio <kudzu@tenebras.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: uname reports wrong kernel version number
Message-ID:  <CALfReyfFuSg23H47hFOrF_=%2Bdk5=fPXPY6cyR9KbhZB7BBW_fg@mail.gmail.com>
In-Reply-To: <CAHu1Y72jbJdpquXVTBDgaX3oQqS3vCXrMo1=5n8Y29O99iegXQ@mail.gmail.com>
References:  <CAHu1Y72jbJdpquXVTBDgaX3oQqS3vCXrMo1=5n8Y29O99iegXQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The obvious answer is an installkernel has been done but no reboot
performed. Looks at the modification time and compare it to uptime. Its not
a dead cert as some tricky person could have mangled the kernels
timestamps, but its a good indication



On 29 May 2014 05:20, Michael Sierchio <kudzu@tenebras.com> wrote:

> 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@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
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyfFuSg23H47hFOrF_=%2Bdk5=fPXPY6cyR9KbhZB7BBW_fg>