From owner-freebsd-arm@freebsd.org Thu Apr 14 16:45:15 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1EF1ADA807 for ; Thu, 14 Apr 2016 16:45:15 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E3441B01 for ; Thu, 14 Apr 2016 16:45:15 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id u3EGjB1T019417 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Apr 2016 16:45:12 GMT (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id u3EGjBLq019416; Thu, 14 Apr 2016 09:45:11 -0700 (PDT) (envelope-from fbsd) Date: Thu, 14 Apr 2016 09:45:10 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Shutdown -r for RPI2 hangs on serial console Message-ID: <20160414164510.GM71221@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 16:45:15 -0000 Hi All, Last couple of reboots of RPI2 have stuck when issued on the serial console. Using the same command when su-d to root over ssh seems to work. The console shows: root@www:/usr/src # shutdown -r now Shutdown NOW! shutdown: [pid 698] root@www:/usr/src # *** FINAL System shutdown message from root@www.zefox.com *** Stopping cron. Waiting for PIDS: 620. Stopping sshd. Waiting for PIDS: 601. Stopping powerd. Waiting for PIDS: 562. Stopping casperd. Waiting for PIDS: 507. Stopping devd. Waiting for PIDS: 335. Writing entropy file:. . Terminated Apr 14 09:29:55 www syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...3 1 1 0 0 done All buffers synced. [plug pulled after waiting a few minutes] During reboot the serial console reports that / wasn't properly dismounted but the system seems to recover satisfactorily. Is this something I'm doing wrong? Latest revision to display the behavior is r297909. Thanks for reading, bob prohaska