From nobody Sat Sep 23 18:26:42 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RtHfX2grTz4v3bf for ; Sat, 23 Sep 2023 18:27:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtHfX053Xz4p1J for ; Sat, 23 Sep 2023 18:26:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695493616; bh=JqgG/DHpIOLTPawOy1mm8AytTPn30u1Su/+dK+Pz5IY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Xxn71TDIf57LRSvCnsMvZLIk8rDMWb6b9RpbdBuKEejutKEk60tIMQEfmBrsgQJoDiRKPZ3uO7kBVtTAYtiW/dwC/9RmVmjws13FU3nfAzdBdLJ4Msq4Lpyfg/WQOPZCEPAu9DVn93dAZWUajE2Uc4F08l0kYDceyxN7b6s3iqstYaEA5OhB/irRpfkj02NuXTy+V8DgsXbaEmLoOWzwcH715cSTKkhicrAsduVM4aunu+V/C6ySMWX1ILt/aykCS/+27wBpX4L8KFdblO9l6FQ3hioCUTybQjNAe8sky9a1z2dmeFxuZekPVCgcYvJVhoFiUVoU4b8SV1hQseb3nw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695493616; bh=ZiGjymf0QjOiURfqBO7W9VyeVt+WITZHIjI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ZSTeU1uckQB5qB8f3fBkYXY.c15r_Ktg9bMPNIRyF0ZGgNCQ_d_UHEPKBZat LM45vU1T478_y6RWj9pgdvdFts4L8ynmABzEONfKZXvKqFlfyjrg5Un06tXI8tQ9fXvolX0HeZQ5 UR0ongDsKoZHA9GKbtYI7J2ZOawHIbRXXLtWtfVddA1CySCfDZD5L7G7nHNl.komNJ3m8asWBJgU 1xcKs6BM.bWTRZ86khRnXgzM8irrfbRnVM4Vgm4.Dsb7tDst9bAGaOQioQtJrf7jVbhfcJFuX57X bmfG5swRFcufieUFP8.jcORm.PR5fEqG2.jyMKNCJ5T2hHABftk8j2ojsBlqo6Fr1z5V4MHJlEUA xVRtUqsEXsMyGj6rKD9k.wLBQbANrLbxO3H._H8EAGWmTCWGGK4W.1.wMnhuBFa1pQZOiNXq6Ebz dlRVAHK9Fk724fxAJFksKlKLsM.._C0AlBpDVFwa8mHXvdyTCga_QnDREksz3RvqjGeG0KtObUCo 42o3oJpiI9Fec8it09El.y2bfsMbGAROr7nl_a1cEEjBgg8Ajd9YpsJXzPdtxe7Mde.VG3PbSutl q X-Sonic-MF: X-Sonic-ID: e7602793-99b7-416d-8437-7dba8a1baca8 Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sat, 23 Sep 2023 18:26:56 +0000 Received: by hermes--production-gq1-77657878bb-swgd4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9cc58a70117fb04f3ed31228d3a7b836; Sat, 23 Sep 2023 18:26:52 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Shutdown -r under -current hangs on RPi3 From: Mark Millard In-Reply-To: Date: Sat, 23 Sep 2023 11:26:42 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <0AADDACB-ABA3-47FF-B3A7-05B313F5326C@yahoo.com> References: To: bob prohaska X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4RtHfX053Xz4p1J On Sep 23, 2023, at 08:52, bob prohaska wrote: > =46rom time to time, but seemingly more often lately, a Pi3 > get stuck during shutdown -r. The machine is running -current > from a mechanical usb hard disk through a powered hub. No micro > SD card is used. Once up it's quite stable. >=20 > The console reports >=20 > login: Sep 23 08:20:37 pelorus shutdown[224]: reboot by bob: > Stopping sshd. > Waiting for PIDS: 1063. > Stopping cron. > Waiting for PIDS: 1073. > Stopping powerd. > Waiting for PIDS: 1002. > Stopping devd. > Waiting for PIDS: 752. > Writing entropy file: . > Writing early boot entropy file: . > . > Terminated > Sep 23 08:20:43 pelorus syslogd: exiting on signal 15 > Waiting (max 60 seconds) for system process `vnlru' to stop... done >=20 > Waiting (max 60 seconds) for system process `syncer' to stop... = Syncing disks, vnodes remaining... 4 0 0 0 done > All buffers synced. > Uptime: 23h31m45s > Khelp module "ertt" can't unload until its refcount drops from 1 to 0. I've gotten the above message on rare occasions over the years on the amd64 system (ThreadRipper 1950X). (But reboots and shutdowns are not frequent for this system normally.) There is a recent: = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271677 It is not just your context with the issue. > Resetting system ... >=20 > At that point all activity ceases. The only clue I can recognize is = that > the red power LED remains off, as if FreeBSD never relinquishes = control > to the Pi firmware, which turns the LED back on at powerup. = Power-cycling > results in a normal reboot. =3D=3D=3D Mark Millard marklmi at yahoo.com