From nobody Sun Oct 01 17:09:59 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 4Rz9ZP5m3hz4vYp4 for ; Sun, 1 Oct 2023 17:10:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-19.consmr.mail.gq1.yahoo.com (sonic314-19.consmr.mail.gq1.yahoo.com [98.137.69.82]) (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 4Rz9ZN6HQRz3WxQ for ; Sun, 1 Oct 2023 17:10:20 +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=1696180218; bh=9clKkkrLt0AgcrSxJz63o6FPe6O5uTRHnS+oC4VSOyw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=kQo4Zp/qUyXqA4+3j7CB1eUcXJLtkbE6Re23yhm4O8a6LfRd1FJT9qJLzbBT6oF44ttfzs49oUTJFcGrF6v9VOyUW6oYHcfBNGJT9DbI5pMLxuIGJrGu/4qHkOGZx0Bh4agZ7UOuVTJDFcGx/aZ02/nknTqyan0q1XnUpQ7dnCunXrg+29B1YFWIc6PUtqEnkipQtkl3gyJvpzCHmJ0hEARTEzjl7qnE7u714zrFBn7+GHC1f1u4Ll1Z5+qKN4eA5VRDhj1Nv79RJ/kyVVhoG6cIlErnL5dKjvcybtoMUcu6V2r+wpuK3hfrnxwhb5Fwt/0+S7fCpdOc9xXiiJ0oEg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696180218; bh=pHuV+aXr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yR0ZgeqNqvnMTdWkZlQECjnAZJYmOh9Ve_4zHJ14fCfHr95YOsIP.B6jK jm70fU9n.bZazm.fXZomiKW0Ltlq7BmM8WrPY1_KEfTGiZsEYS381X4E8uKPd0XQbt6wuFctneEY lZxtNHXkrww_lS.FxSwl3boubnu0RGZ3yVs.CDDX343BsrsEFIdEwD35.i2Y4fxGJEwT1hzL5_1I f6cH5.L_K816kGhreawaJSfzfsD.FpucmAgMKMGa22zzCFcWH_1Fc3u1OE.2oqQbcYLDqroYw9it bbu_xrsjLaqqy9c7hJu78mkyySqwqWoej_D_xhSV1AyaeZK8aHDAhrLHXiU8vJfp3foy2QtOeUeV TdkG2HtgYDWpsYfim6U6alUSQTsrY4LgBvs5IxgggSP.2v8E9k4INurka0EpAyzXPfrg_4D7dAb5 kuewS.anXlHhCx6HeH5JT7Yt3y4lO2W3N1edqlC2LWg3MIeRYG.pUj3e4N6rhIMEFOLoIW4E9Cef NoaeGA1sx2LFGZEV1pfmYi4_iEtou4n7_6iTCpFK8VTv7S_KP0ajtoGbhZt.Yr8V8sLWDc2g2GIQ - X-Sonic-MF: X-Sonic-ID: fe8c5203-5a13-4cd8-b456-d542cba82312 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sun, 1 Oct 2023 17:10:18 +0000 Received: by hermes--production-bf1-7cf89fd98c-wzsz5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 465fde750b8638e92220a48a5db715c8; Sun, 01 Oct 2023 17:10:12 +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 \(3774.100.2.1.4\)) Subject: Re: Shutdown -r under -current hangs on RPi3 From: Mark Millard In-Reply-To: Date: Sun, 1 Oct 2023 10:09:59 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7B1D2B1C-C580-448B-BEB9-51D07417C62D@yahoo.com> References: <0AADDACB-ABA3-47FF-B3A7-05B313F5326C@yahoo.com> <9D29DD48-1572-4C04-AD88-8436AC8DDDCC@yahoo.com> <88F77A9A-F3BB-4FEA-8330-EC5992D7B36B@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3774.100.2.1.4) 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: 4Rz9ZN6HQRz3WxQ On Oct 1, 2023, at 09:25, bob prohaska wrote: > On Sun, Sep 24, 2023 at 08:17:54AM -0700, bob prohaska wrote: >>=20 >> It appears that setting=20 >> debug.bootverbose=3D1=20 >> suppresses the otherwise-persistent >> Khelp module "ertt" can't unload until its refcount drops from 1 to = 0. >> message during shutdown. No new output either, apart from the swap >> removal notice. >>=20 >> So far, the few shutdown -r experiments tried have not gotten stuck, >> even after an OS build/install cycle. >=20 > Another shutdown hang has been observed with -current on a Pi3. > This time bootverbose was on, as was ucom debug. This machine > has an FTDI usb-serial adaper.=20 >=20 > The serial console reported: >=20 > *** FINAL System shutdown message from bob@pelorus.zefox.org *** = =20 >=20 > System going down IMMEDIATELY = =20 >=20 >=20 > Oct 1 08:21:26 pelorus shutdown[78571]: reboot by bob:=20 > 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 > ucom_inwakeup: tp=3D0xffffa00021cc1c00 > ucom_ioctl: cmd =3D 0x2000740e > ucom_inwakeup: tp=3D0xffffa00021cc1c00 > ucom_inwakeup: tp=3D0xffffa00021cc1c00 > ucom_close: tp=3D0xffffa00021cc1c00 > ucom_shutdown:=20 > ucom_dtr: onoff =3D 0 > ucom_line_state: on=3D0x00, off=3D0x01 > ucom_rts: onoff =3D 1 > ucom_line_state: on=3D0x02, off=3D0x00 > Oct 1 08:21:32 pelorus ucom_cfg_close:=20 > syslogd: exiting on signal 15 > Waiting (max 60 seconds) for system process `vnlru' to stop... done > Waiting (max 60 seconds) for system process `syncer' to stop...=20 > Syncing disks, vnodes remaining... 0 0 0 done > All buffers synced. > Swap device da0s2b removed. > Uptime: 3d0h14m47s > Resetting system ...=20 >=20 > Both Ethernet LEDs turned off, if that's significant. > After about half an hour, I pulled the plug. The machine > came up hands-off. >=20 Was this a debug world/kernel? non-debug? May be output I was expecting only is generated by the debug variants? Was there any lights sometimes on anywhere during that about half hour? Might it have powered off instead of rebooting? Is there anything about the above message sequence (before "Resetting system ...") that is different from when the reboot works, also with "bootverbose was on, as was ucom debug"? It is an example with no "ertt" message. =3D=3D=3D Mark Millard marklmi at yahoo.com