From owner-freebsd-stable@freebsd.org Sat Sep 26 07:51:23 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B86E73F706F for ; Sat, 26 Sep 2020 07:51:23 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from hermes.heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bz1F45mv2z4H6j for ; Sat, 26 Sep 2020 07:51:20 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 08Q7oN7r006814 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 26 Sep 2020 17:50:23 +1000 (AEST) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1601106626; x=1601711427; bh=H5dsPP/H9xSvk4QOmHy9IaUoRuCHiwFJE+q77/BpWag=; h=Subject:To:From:Message-ID:Date; b=ErEm288SZ/0R/kS+l44JZKsTvFakONfBTtVsw9jpLYElwVkK3q1WUgokBdHgYzJEl zhNetSu05x+P7/FoPpJ7f2CEaAWkg5yJPaZVpCMRwn6Fd1kiPEAPPjYHU6H8N5NlmC RpDQ95B4ih81De6FJOnPdG5KhBaLuk6ydiMNVMhbQBfOewpsBBEgV X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Subject: Re: Unusual display from sysctl on FBSD12.2S To: "Andrey V. Elsukov" , FreeBSD Stable Mailing List References: <09578987-6510-9ebf-8f26-59f1444911a3@heuristicsystems.com.au> From: Dewayne Geraghty Message-ID: <4ad8e533-da70-12ae-5bc0-a44b8d300842@heuristicsystems.com.au> Date: Sat, 26 Sep 2020 17:50:26 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bz1F45mv2z4H6j X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=fail (headers rsa verify failed) header.d=heuristicsystems.com.au header.s=hsa header.b=ErEm288S; dmarc=none; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au X-Spamd-Result: default: False [-1.85 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[heuristicsystems.com.au:s=hsa]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[heuristicsystems.com.au]; NEURAL_HAM_LONG(-0.97)[-0.973]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[heuristicsystems.com.au:-]; NEURAL_HAM_MEDIUM(-0.94)[-0.942]; FREEMAIL_TO(0.00)[yandex.ru,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_SHORT(-0.43)[-0.432]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2020 07:51:23 -0000 On 26/09/2020 12:11 am, Andrey V. Elsukov wrote: > On 25.09.2020 09:27, Dewayne Geraghty wrote: >> sysctl -a or sysctl vm displays on syserr, >> sysctl: S_vmtotal 48 != 88 >> >> on FreeBSD 12.2-STABLE #0 r365645M. Are others experiencing this? >> >> It has been this way for a few months. > Hi, > > This means that your sysctl(8) binary is out of sync with your kernel. > You need rebuild and reinstall it or the whole world. > Thanks Audrey, appreciate the input. I'll need to investigate further, as I seem to be alone with this anomaly. I rebuilt and reinstalled from the 13th Sept source: ~# lh /boot/kernel/kernel /sbin/sysctl /lib/libc.so.7 ; date; uptime; sysctl vm>>/dev/null -r-xr-xr-x 1 root wheel 15M 26 Sep 17:04 /boot/kernel/kernel* -r--r--r-- 1 root wheel 1.9M 26 Sep 17:04 /lib/libc.so.7 -r-xr-xr-x 1 root wheel 23K 26 Sep 17:05 /sbin/sysctl* Sat 26 Sep 2020 17:48:42 AEST 5:48PM up 36 mins, 1 user, load averages: 0.02, 0.06, 0.08 sysctl: S_vmtotal 48 != 88 FreeBSD hathor 12.2-STABLE FreeBSD 12.2-STABLE #0 r365645M: Sun Sep 13 04:00:22 AEST 2020 root@hathor:/usr/obj/prod/120109/D/K8/smallblocks/src/amd64.amd64/sys/hqdev-amd64-smp-vga amd64 1202500 1202500 >From /usr/src/sbin/sysctl/sysctl.c: if (l2 != sizeof(*v)) { warnx("S_vmtotal %zu != %zu", l2, sizeof(*v)); return (1); } Kind regards, Dewayne.