From owner-freebsd-stable@FreeBSD.ORG Mon Feb 9 16:41:40 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 097F5CDD for ; Mon, 9 Feb 2015 16:41:40 +0000 (UTC) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pix.net", Issuer "Pix.Com Technologies, LLC CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A6006B55 for ; Mon, 9 Feb 2015 16:41:39 +0000 (UTC) Received: from torb.pix.net (verizon.pix.net [71.178.232.3]) (authenticated bits=0) by hydra.pix.net (8.15.1/8.15.1) with ESMTPA id t19Gfbau089057; Mon, 9 Feb 2015 11:41:38 -0500 (EST) (envelope-from lidl@pix.net) X-Authentication-Warning: hydra.pix.net: Host verizon.pix.net [71.178.232.3] claimed to be torb.pix.net Message-ID: <54D8E341.101@pix.net> Date: Mon, 09 Feb 2015 11:41:37 -0500 From: Kurt Lidl User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: freebsd-update and hang during reboot References: <2F9DC176-912C-40C0-BAB7-DB66BD572ABA@vnode.se> In-Reply-To: <2F9DC176-912C-40C0-BAB7-DB66BD572ABA@vnode.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 16:41:40 -0000 Joel wrote: > Hi, > > Just about every machine I have seems to hang after running freebsd-update and doing a reboot. The last message on the screen is "All buffers synced” and it just freezes. > > This happens when doing a freebsd-update and going from 10.0 to 10.1, but also when doing a fresh 10.1 install and using freebsd-update to get the latest -pX security patches. As soon as I reboot the machine, it hangs. > > I’ve tried it on several different HP ProLiant models, on Intel NUCs and on VMware virtual machines. Same phenomenon everywhere. It’s really easy to trigger: just install 10.1, use default settings everywhere, freebsd-update fetch/install, shutdown -r now and BOOM. It hangs. I think I’ve seen it on > > > > > 30 servers or so now. > > Everything works like it should after the initial hang tough - no matter how many times I reboot it completes the reboot cycle just fine. > > I’ve seen several people (mostly on IRC) mention this problem, but no solution. > > Is anyone working on fixing this? I ran into this problem in spades when upgrading a set of servers from FreeBSD 9.0 to 9.1. I happened consistently. Normal reboots worked, but when going from 9.0 to 9.1, it *ALWAYS* hung, and it always hung at the same place, after printing the "All buffers synced" message. I ultimately determined that if I did the following, rather than just a "reboot" or "shutdown -r now 'FreeBSD 9.1-RELEASE upgrade'", it would consistently AVOID the hang: sync ; sync ; sync ; shutdown -o -n -r now "FreeBSD 9.1 install" Your mileage may vary, but you don't have a lot to lose by trying it. -Kurt