From nobody Sat Sep 23 18:34:41 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 4RtHqr5XNbz4v4MS for ; Sat, 23 Sep 2023 18:35:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (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 4RtHqq61qVz4pvq for ; Sat, 23 Sep 2023 18:35:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ME9Rdc56; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.205 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695494100; bh=JDPZ51YbNUXZxqRytEUYJcz1Qq7qus5c7xq3wyGKYco=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ME9Rdc569i8gLeHXW6nwon/rA9B/e/90xX2AVc7DF0hrETfUwdDPEuDevE4wUEBnW5x1iX/AQq4fl7Qwaeb1sEDb0bCBHgX23mehn9smLg/ErKagODTV5jOhmy3evu7uad4TLURsFVKTBhPA52ZQClUwj0B0tu0XOMV+HLVd1rpwD4/9YHWPnpcDjDn1VFrPwZgdR8LSJ6Bhd2ZEWhW/eGUlDar3xqMN9KnD2hY2GpVS5DS4+6CBJ8TA2Hdnu8Edr09M9UiIcm31y6PMLIUHtnah9Oi1/vgy+HtjVGx6dDYdpS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Sp4C8. YP_aknjI.wxW_BiMAZjMqUFA.j5OSWlvxM8n1FNYnrEWcqFhF_Gf4SOIQwJMeToxHus4aZDKtxei LtxPgQxumI7l2DxfobSD64o6CVYXez0yl0khbqcl72.IPT0vRU_HKgTrfZX36RoHf.htkL.a0NNr cm2LtZnXz4CEn0E0syeV8CRu7C.80q7MlXQxCvsC6cIITRWlOelpwVFz_Am2KlijAJublT.gQnwQ PezUEKJx9FuhzO0ZJYlnBD91JXMPve2cuMHC1utnjKUaB00Rd4PL13qLBwqTLcnT.4vVF5JVLXDN _KlTjNUA_1.HjmeY_vNAs20ZgFTSAlQFBQqNcKTcJJYPuUrbBiSA10PRTEltHN9d0EbA59eZBNDg 7Y6lW2k82lEog1hQg.ujI4AyjL8IskltmaBFcG2lGCyRQH3gegwsi0n_oXlHBkiIgvW_kJOwuARP NtpfHG.jStgdVZUTbj0CBTX5DaBTjFgyyq2U.OsFlEI6GKMA8xm2qNBJvxrcCtGgbFl1W1YzvgjF RVEsFRFbM8NHjKGwnV8X9EUR.ekhUyJX9bGR4RTkBrxXkgzri4uUDJj2FujoKe2AHDaIUa4kl1xW 51pk0VkGeJ1g3jqc6PBQ0yUFQahsIiN_AsaVpF1Tv_EEjqUrWwRC0fyP1hpH9csu0ZrUrUBE2nxy GkkhiKpTxiHpmcQdbEmm51hpo_OSpz2Cnn_nydaj3eXvtC33GF6EtyjaPrSM2XjvpsEUtAi9dqDk F X-Sonic-MF: X-Sonic-ID: f0dffdad-cb8b-439c-bd1e-a06cc482db11 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Sat, 23 Sep 2023 18:35:00 +0000 Received: by hermes--production-bf1-678f64c47b-glgzv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2ffbfc07b39fa435cb6788340388856a; Sat, 23 Sep 2023 18:34:57 +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: <0AADDACB-ABA3-47FF-B3A7-05B313F5326C@yahoo.com> Date: Sat, 23 Sep 2023 11:34:41 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9D29DD48-1572-4C04-AD88-8436AC8DDDCC@yahoo.com> References: <0AADDACB-ABA3-47FF-B3A7-05B313F5326C@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.27 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.77)[-0.773]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.205:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.205:from]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RtHqq61qVz4pvq On Sep 23, 2023, at 11:26, Mark Millard wrote: > On Sep 23, 2023, at 08:52, bob prohaska wrote: >=20 >> =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. >=20 > 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.) >=20 > There is a recent: = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271677 >=20 > It is not just your context with the issue. >=20 >> 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. >=20 The system might produce more messages about the shutdown activity if it has been booted via: boot -v This might narrow down the context some for someone familiar with the messages --if oyu are lucky enough to eventually get an example from a boot -v context. =3D=3D=3D Mark Millard marklmi at yahoo.com