From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 19:49:36 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3D56106566C for ; Wed, 5 Oct 2011 19:49:36 +0000 (UTC) (envelope-from freebsd-questions@veggiechinese.net) Received: from mitch.veggiechinese.net (mitch.veggiechinese.net [66.33.206.106]) by mx1.freebsd.org (Postfix) with ESMTP id B4D168FC14 for ; Wed, 5 Oct 2011 19:49:36 +0000 (UTC) Received: by mitch.veggiechinese.net (Postfix, from userid 1228) id 376E2A56C; Wed, 5 Oct 2011 12:25:03 -0700 (PDT) Date: Wed, 5 Oct 2011 12:25:02 -0700 From: William Yardley To: questions@freebsd.org Message-ID: <20111005192502.GA32140@mitch.veggiechinese.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 Cc: Subject: binary upgrade problems (8.1-RELEASE-p5 -> 8.2-RELEASE-p3) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 19:49:36 -0000 I'm having some problems after doing a: freebsd-update -r 8.2-RELEASE upgrade (I had also done an upgrade from 8.1-p5 to p6 without rebooting; not sure if that's part of the problem). I did the update, merged the config files, ran freebsd-update install, rebooted, and then ran freebsd-update install; despite /boot/kernel and /boot/kernel.old both having a recently updated kernel, one which has FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 if I run strings on it, uname and sysctl report 8.1-RELEASE-p5 FreeBSD 8.1-RELEASE-p5 #0: Tue Sep 27 16:49:00 UTC 2011 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 As you can see, I'm just running the generic kernel. The system boots and most services run, though ipfw isn't loading because of the kernel version mismatch. Trying to either rollback or re-upgrade using freebsd-update isn't working (the update list it builds is wrong -- specifically, the fetch_make_patchlist() function isn't working right and is missing the filenames, so it wants to delete all my files). Any thoughts on the simplest way to get everything synced up and happy again without doing a binary upgrade from sysinstall? kernel and kernel.old are currently the same thing; I did try doing a nextboot -k kernel.old, but that doesn't change anything. If it matters, my first reboot after the upgrade was to single user mode (to do a fsck) rather than standard - wondering if this prevented some automatic thing that happens on the first boot after the binary upgrade from running.... It has been rebooted normally several times since then, though. I've tried moving /var/db/freebsd-update out of the way and re-creating it, but that didn't help (I've since moved the old one back). w