From owner-freebsd-stable@FreeBSD.ORG Tue Oct 14 17:16:50 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 4D9CA326 for ; Tue, 14 Oct 2014 17:16:50 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 11D4AA07 for ; Tue, 14 Oct 2014 17:16:49 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 06AEE20E708FD; Tue, 14 Oct 2014 17:16:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id 8AF4A20E7089C; Tue, 14 Oct 2014 17:16:46 +0000 (UTC) Message-ID: <9950D9D780BD4975ACEF9FA5D0F71CCC@multiplay.co.uk> From: "Steven Hartland" To: "Kevin Oberman" , "FreeBSD-STABLE Mailing List" References: Subject: Re: System hang on shutdown when running freebsd-update Date: Tue, 14 Oct 2014 18:16:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 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: Tue, 14 Oct 2014 17:16:50 -0000 ----- Original Message ----- From: "Kevin Oberman" To: "FreeBSD-STABLE Mailing List" Sent: Tuesday, October 14, 2014 6:09 PM Subject: System hang on shutdown when running freebsd-update >I thought that this was just a fluke, but it has now happened three times, > so I guess it's now out of the "fluke" class. > > I have upgraded several times recently to each 10.1 BETA and RC. After the > first install pass t install the kernel and modules, the system shutdown > freezes at the very end. I see the buffers synced to the disks and get the > "All buffers synced" message. Then it just hangs. The disks are not marked > as clean and are fscked after a reset and boot. > > There is not much between the "All buffers synced" message and the call to > vfs_unmountall(), so I suspect it is hanging in that call. I admit that I > am pretty much lost whenever I look at the VFS code and I have not put a > lot of effort going further. Just hoping that someone familiar with it > might have an idea. > > I have tried several reboots and all run normally. The problem only seems > to appear when upgrading the OS. It happened repeatedly when I tried to > reboot before doing the second "install" pass of freebsd-update, but not > after, so the kernel and world are not in sync. I am baffled as to what > could be going on, but it means I need to be at the system (a baby server) > when I upgrade, but not every time I upgrade. I know it happened on the > 10.0-RELEAASE to 10.1-BETA1 and 10.1-RC1 to 10.1-RC2 upgrades. > > Has anyone else seen this? > > The system is an Asus VivoPC VM40B-2. > CPU: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz (1496.63-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x306a9 Family = 0x6 Model = 0x3a > Stepping =9 > > Features=0xbfebfbff > > Features2=0xdbae3bf > AMD Features=0x28100800 > AMD Features2=0x1 > Structured Extended Features=0x281 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 4294967296 (4096 MB) > avail memory = 4014346240 (3828 MB) My usual question for this is does the following help especially if you have IPMI loaded at the time. sysctl hw.usb.no_shutdown_wait=1 Regards Steve