From owner-freebsd-stable@FreeBSD.ORG Wed Oct 1 15:15:06 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 F1E04323 for ; Wed, 1 Oct 2014 15:15:06 +0000 (UTC) Received: from mail1.yamagi.org (yugo.yamagi.org [212.48.122.103]) (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 B7EE4636 for ; Wed, 1 Oct 2014 15:15:05 +0000 (UTC) Received: from p579a70cb.dip0.t-ipconnect.de ([87.154.112.203] helo=happy.home.yamagi.org) by mail1.yamagi.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX (FreeBSD)) (envelope-from ) id 1XZLcI-0004pI-Sr for freebsd-stable@freebsd.org; Wed, 01 Oct 2014 17:15:01 +0200 Date: Wed, 1 Oct 2014 17:14:53 +0200 From: Yamagi Burmeister To: freebsd-stable@freebsd.org Subject: shutdown(8) not working after upgrade to 10.1-BETA3 Message-Id: <20141001171453.0e0f6ecad8769bd9a06b9425@yamagi.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 01 Oct 2014 15:15:07 -0000 Hello, I've updated my system from 10.0-RELEASE to 10.1-BETA3. The exakt version is: FreeBSD happy.home.yamagi.org 10.1-BETA3 FreeBSD 10.1-BETA3 #0 r272260: Sun Sep 28 19:35:56 CEST 2014 root@happy.home.yamagi.org:/usr/obj/usr/src/sys/GENERIC amd64 For some strange reasons shutdown(8) is no longer working for me. I type "shutdown -p now" into a virtual console. getty(8) exists on that console, but stays alive on any other consoles. After that nothing happens, the system continues to run like nothing ever happened. I'm able to login into another virtual console or via SSH, can start X.org and continue with my work. In contrast to that "halt -p" is working fine. The system shuts down immediately and the power is turned off. After typing "shutdown -p now" (while the shutdown process is hanging) "procstat -k 1" gives: 1 100002 init - mi_switch sleepq_catch_signals sleepq_wait_sig _cv_wait_sig ttydev_leave ttydev_close devfs_close VOP_CLOSE_APV vgonel vgone devfs_revoke VOP_REVOKE_APV sys_revoke amd64_syscall Xfast_syscall Looks to me that init(8) waits on a some tty to close. Which apparently never happens. A similar case was reported here: http://lists.freebsd.org/pipermail/freebsd-stable/2014-July/079159.html I wonder if I'm the only one seeing this. If necessary further data can be provided. Regards, Yamagi -- Homepage: www.yamagi.org XMPP: yamagi@yamagi.org GnuPG/GPG: 0xEFBCCBCB