From owner-freebsd-questions@FreeBSD.ORG Thu May 29 07:02:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50F3D332 for ; Thu, 29 May 2014 07:02:28 +0000 (UTC) Received: from mail-yh0-x22a.google.com (mail-yh0-x22a.google.com [IPv6:2607:f8b0:4002:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 140DB2517 for ; Thu, 29 May 2014 07:02:28 +0000 (UTC) Received: by mail-yh0-f42.google.com with SMTP id t59so9806171yho.1 for ; Thu, 29 May 2014 00:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5QKF40xufmfXKO8VjgvQKXX0PyZEx9joiSBgiyka3CE=; b=aI+cUHjurVj45Ks7yhQAWLzZehBlzxzo4JunUHfy6BnmZHXM3bguzqAh9T3k5zMa+b VbBqZwoneT6Ht5FjDXdBBhy5sSPZjQkNDFA3QHQhxkstaz2tumq5oYbwmWBRqZFqo4ie DcaheDo4vV75/GXqVlXJ+ufc9Jn5RQ6frnFNxOBzqron8NnImMZnhunS9ViWj5kSMPUR DMgd9VIpDmQswN7NB4ygcIVxONfTL+8ja1rBsDlmv8Gn4d9r1G6sdlttyJVYIgTTfCU3 zaYZVxIXzRjKTReuYwL1BHGAMqrzzBxipUHUHgRuyFE3mYNn9kZvxjifMyUJUkDXmVSV jAHA== MIME-Version: 1.0 X-Received: by 10.236.170.194 with SMTP id p42mr7041496yhl.103.1401346947157; Thu, 29 May 2014 00:02:27 -0700 (PDT) Received: by 10.170.54.8 with HTTP; Thu, 29 May 2014 00:02:27 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 May 2014 08:02:27 +0100 Message-ID: Subject: Re: uname reports wrong kernel version number From: krad To: Michael Sierchio Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 07:02:28 -0000 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 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" >