From nobody Sun Sep 24 01:32:46 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 4RtT655p2Cz4vYws for ; Sun, 24 Sep 2023 01:33:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-21.consmr.mail.gq1.yahoo.com (sonic313-21.consmr.mail.gq1.yahoo.com [98.137.65.84]) (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 4RtT6539Nkz4RSP for ; Sun, 24 Sep 2023 01:33:01 +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=1695519178; bh=ZwyYkSW+C/7DwS5IU3NsVP1tL789HR3lykxZl5e7U9c=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=XGj72a+fje/pPd9PUm3Br/fKI7a3htwHoXCmi3GsOlqYe7BYLr4a176A+xA+MkWNN5gvJZSCI6TYGX2J73cfKt4OIIoeIOg5rj+Dtu9BktAMvs7nA06mL1zwkULcJSECIYuNWU8S9u2wfN/X4GvLCN0mXzmRIeX03DDTAWE13Yle+Z/PVEoUYqD9ctkT+hxY2pzx4RZrlhqU0k+42Cr3ONEKgNR3WIP/0HY+spgQKYGsvoF2oHhhGHC3P2ipbTEw04RPjUBQAO0SxR+27wyI1iOdIlFV3OVmqQTvjrmpdXJY3qZhiGdO/jUgogIVOGzUww3QaHP0ddiEn5IVJo6dNQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695519178; bh=rZEQ3vQjUn9JEFiKpRiUBZRYxx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Y7ExS5U5s1_2wliQEt7z g57xut60wsC90ZHalHfN74DPoUrkSvTX9Awb.u4c6qjiBumTQb24pKZEFOqaC5fvhpIyKHf_A_0f iwxPYTz7BySKFXPAVfB3UxnTvw_nAmmce75XnrpufgsTpFj.Ksuig63j.38zKx_b0NtcBcUXTM_z slyFGobexS_adXCFdMBvwumJcnNLmdlUMDczwVyF2KPd2tpws3GfgeQhsIq1P6sowT9ndH.4h6Ki TRGfUISe27j.jG6UXHc0dhpGteRziRh1tOOWFqT0LqBXq9392PXSnxaU5PholPKEC0oAYqdJT79E 8hcYGBuzJeAtW8h4QsmE_v1PfkrD6ZVagIUcGu3eHplpgwaZ73KcFig0ZqxO5Y9bqp5Yeg_v8aP7 myPiHYMuw_oXk9MoGWLEvpcvua.Qnzsnn5pNi9GnXwFTXgO5J3Xyv9brEnP9Wo6LKNL.wVHqA8U0 2mdNXGWfwJjMfW3KBbBaGTiknu19i6yxSZxCL7hcB9A7V6.t.fuzW66ePJRX5n674mGQIulQ3fIu 3WLcxNDMAsy.CjJFJPTx1qRVUU7eKsSBLHSM2NP6CinqeSXI_BCPnZ9K.f7Gu6c8pDfPWLa3FCn3 nzSp31w-- X-Sonic-MF: X-Sonic-ID: 779cbba2-9032-4948-982b-ab857b6d667e Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sun, 24 Sep 2023 01:32:58 +0000 Received: by hermes--production-gq1-77657878bb-6nv9v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c324f694c5064f3a84b3f8e86007c243; Sun, 24 Sep 2023 01:32:56 +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 18:32:46 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <88F77A9A-F3BB-4FEA-8330-EC5992D7B36B@yahoo.com> References: <0AADDACB-ABA3-47FF-B3A7-05B313F5326C@yahoo.com> <9D29DD48-1572-4C04-AD88-8436AC8DDDCC@yahoo.com> 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: 4RtT6539Nkz4RSP On Sep 23, 2023, at 18:13, bob prohaska wrote: > On Sat, Sep 23, 2023 at 03:51:47PM -0700, Mark Millard wrote: >> >> # sysctl -Wd debug.bootverbose >> debug.bootverbose: Control the output of verbose kernel messages >> >> So use of: >> >> # sysctl debug.bootverbose=1 I showed the interactive/shell-script command, not a line for use in /etc/sysctl.conf . >> before shutdown may be a way of controlling it later, after >> having already booting. This might be handy if one forgot >> to do the the boot -v at boot time. >> > Ahh, so I was being dense.... sysctl never crossed my mind. > > I've added sysctl debug.bootverbose=1 to /etc/sysctl.conf and rebooted. /etc/sysctl.conf looks like (just an example with comments removed): vfs.zfs.min_auto_ashift=12 vfs.zfs.per_txg_dirty_frees_percent=5 vm.swap_enabled=0 vm.swap_idle_enabled=0 debug.minidump=1 kern.nodump_coredump=1 kern.capmode_coredump=1 kern.sugid_coredump=1 kern.tty_info_kstacks=1 Note the lack of any "sysctl " prefix: it is not a shell script. It only contains the assignment notation, not a shell command. > The reboot completed without complaints about errt, but as it came up > multiuser the console reported: > sysctl: unknown oid 'sysctl debug.bootverbose' at line 11 Yep: Remove the "sysctl " prefix. > However, if I type > sysctl debug.bootverbose=1 while logged in as root I see > root@pelorus:~ # sysctl debug.bootverbose=1 > debug.bootverbose: 0 -> 1 > root@pelorus:~ # > > So, for some reason the command has to be entered interactively, > at least for now. > > Rebooting with shutdown -r reported swap device removal. > The errt complaint remained absent. > > There's something odd about sysctl debug.bootverbose. For example: > > root@pelorus:~ # sysctl -a | grep -i bootverbose > <118>sysctl: unknown oid 'sysctl debug.bootverbose' at line 11 One of the things in a sysctl entry is logging output of error messages. One of those messages contained the text "bootverbose" and show was shown by the grep. > debug.bootverbose: 0 That is the normal output of the default value. > root@pelorus:~ # sysctl debug.bootverbose > debug.bootverbose: 0 That is again the normal output of the default value, but by a request for just the one value to be output. > root@pelorus:~ # sysctl debug.bootverbose=1 > debug.bootverbose: 0 -> 1 That is just reporting the explicit change to the non-default value. > root@pelorus:~ # > > Am I committing some invisible (to me) typo? > The only oddity was the "sysctl " prefix in /etc/sysctl.conf === Mark Millard marklmi at yahoo.com