From owner-freebsd-questions@freebsd.org Thu Sep 22 10:40:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 909EEBE42BC for ; Thu, 22 Sep 2016 10:40:57 +0000 (UTC) (envelope-from ijeff@sandbox.ca) Received: from zaphod.sandbox.ca (sandbox.ca [206.47.13.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "zotac", Issuer "zotac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 45F1B17B6 for ; Thu, 22 Sep 2016 10:40:56 +0000 (UTC) (envelope-from ijeff@sandbox.ca) Received: from [192.168.4.112] (cpe-66-24-99-48.stny.res.rr.com [66.24.99.48]) (authenticated bits=0) by zaphod.sandbox.ca (8.15.2/8.15.2) with ESMTPSA id u8MAORMK034800 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 22 Sep 2016 06:24:32 -0400 (EDT) (envelope-from ijeff@sandbox.ca) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: freebsd-update not updating kernel? From: Ian Jefferson In-Reply-To: Date: Thu, 22 Sep 2016 06:14:28 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <0B507E9E-77ED-4CD9-A51D-EF1B35DA45CD@sandbox.ca> References: To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3124) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (zaphod.sandbox.ca [192.168.0.12]); Thu, 22 Sep 2016 06:24:33 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2016 10:40:57 -0000 I was having a similar issue with freebsd-update not being aware (able?) = to patch up to 9.3-RELEASE-p45. I am continually getting messages from freebsd-update cron like this: = **************************************************************************= **** Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... = done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be removed as part of updating to = 9.3-RELEASE-p45: = **************************************************************************= ****** I can run freebsd-update fetch and install all day long with reboots and = uname still reports 9.3-RELEASE-p43. For fun I installed lsof and I can reproduce Matt=E2=80=99s problem = exactly. So does uname(3) or uname(1) report on the kernel or does it simply = report back an environment variable? It looks to me like the latter and = perhaps there is something about this p43 to p45 update that is not = setting this environment variable up. Both "freebsd-update cron" and =E2=80=9Clsof" don=E2=80=99t seem to = think the upgrade/patch has occurred. In the case "freebsd-update = cron=E2=80=9D every day it reports by email that some update is required = to get to p43. Is this a bug? Ian > On Sep 7, 2016, at 8:38 AM, Matthew Pounsett = wrote: >=20 > It looks to me from what I'm pasting below as if there is a kernel out > there somewhere for 9.3-RELEASE-p45, but freebsd-update is = unable/unwilling > to fetch it. I've also got Virtualbox segfaulting, which frequently > happens to me mid-upgrade when there's a kernel/package mismatch. >=20 > Does anyone have an explanation for what's happening here? >=20 > % uname -a > FreeBSD localhost 9.3-RELEASE-p43 FreeBSD 9.3-RELEASE-p43 #0: Sat May = 28 > 00:19:32 UTC 2016 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 >=20 > % sudo freebsd-update -F fetch install > Looking up update.FreeBSD.org mirrors... 4 mirrors found. > Fetching metadata signature for 9.3-RELEASE from = update6.freebsd.org... > done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. >=20 > No updates needed to update system to 9.3-RELEASE-p45. > No updates are available to install. > Run '/usr/sbin/freebsd-update fetch' first. >=20 > % sudo pkg install -f lsof > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > The following 1 package(s) will be affected (of 0 checked): >=20 > Installed packages to be REINSTALLED: > lsof-4.90.e,8 >=20 > Number of packages to be reinstalled: 1 >=20 > 111 KiB to be downloaded. >=20 > Proceed with this action? [y/N]: y > Fetching lsof-4.90.e,8.txz: 100% 111 KiB 113.9kB/s 00:01 > Checking integrity... done (0 conflicting) > [1/1] Reinstalling lsof-4.90.e,8... > [1/1] Extracting lsof-4.90.e,8: 100% >=20 > % lsof >/dev/null > lsof: WARNING: compiled for FreeBSD release 9.3-RELEASE-p45; this is > 9.3-RELEASE-p43. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"