From owner-freebsd-stable@FreeBSD.ORG Wed Dec 10 14:28:43 2014 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 7202A9E7 for ; Wed, 10 Dec 2014 14:28:43 +0000 (UTC) Received: from smtp24.services.sfr.fr (smtp24.services.sfr.fr [93.17.128.83]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0AD5B9D2 for ; Wed, 10 Dec 2014 14:28:42 +0000 (UTC) Received: from filter.sfr.fr (localhost [93.4.34.137]) by msfrf2418.sfr.fr (SMTP Server) with ESMTP id DC6BE70000A8; Wed, 10 Dec 2014 15:28:39 +0100 (CET) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=listjm@club-internet.fr Received: from [192.168.1.67] (137.34.4.93.rev.sfr.net [93.4.34.137]) by msfrf2418.sfr.fr (SMTP Server) with ESMTP id A12B770000A5; Wed, 10 Dec 2014 15:28:39 +0100 (CET) X-SFR-UUID: 20141210142839660.A12B770000A5@msfrf2418.sfr.fr Message-ID: <54885894.2060006@club-internet.fr> Date: Wed, 10 Dec 2014 15:28:36 +0100 From: Juan =?iso-8859-1?b?UmFt824=?= Molina Menor User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: andrew clarke Subject: Re: System hang on shutdown when running freebsd-update References: <548846F8.4080208@club-internet.fr> <20141210133658.GA12721@ozzmosis.com> In-Reply-To: <20141210133658.GA12721@ozzmosis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org 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: Wed, 10 Dec 2014 14:28:43 -0000 El 10/12/2014 14:36, andrew clarke escribió: > On Wed 2014-12-10 14:13:28 UTC+0100, Juan Ramón Molina Menor (listjm@club-internet.fr) wrote: > >>>> / Another update. I narrowed down the issue due to /sbin/init being >>>> replaced. This might be the magic that freebsd-update does to make the >>>> crash happen. (Although there might be more situations that cause a >>>> hang.) >>> >>> />/ I can completely reliably trigger the hang on a default >>> />/ 10.1-RELEASE install on UFS2 in VMware Fusion with the following >>>>> / procedure: >>> />/ >>> />/ # chflags noschg /sbin/init >>> />/ # cp -Rp /sbin/init /sbin/init2 >>> />/ # rm -f /sbin/init >>> />/ # mv /sbin/init2 /sbin/init >>> />/ # chflags schg /sbin/init >>> />/ # reboot >>> />/ => Hang after "All buffers synced." >>> /These commands do not trigger the issue here on a 10.1-RELEASE on VMware >>> Player, but do it in a real system with the same release, both i386. >>> When I last freebsd-updated this latter machine from 10.0 to >>> 10.1-RELEASE, I also remember seeing the hang on shutdown. >>> >>> Hope it helps, >>> Juan >> >> The hang occurs again when running freebsd-update to install the >> security advisories of today on a 10.1-RELEASE i386. No problem under >> VMWare, same version. >> >> Best regards, >> Juan > > A FreeBSD 10.1-REL amd64 VM here also hangs after /sbin/reboot is run, > after installing updates with freebsd-update. The VM runs under > VirtualBox on an Ubuntu 14.04 host. > > On hard-resetting the VM, it appears the filesystem (UFS) wasn't flushed: > > Dec 11 00:29:52 vbox-freebsd kernel: WARNING: / was not properly dismounted Yes, I forgot that, same here on bare metal. > > Regards > Andrew >