From nobody Sat Dec 02 04:18:20 2023 X-Original-To: freebsd-current@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 4ShxWK33bvz52Vqj for ; Sat, 2 Dec 2023 04:18:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-23.consmr.mail.gq1.yahoo.com (sonic304-23.consmr.mail.gq1.yahoo.com [98.137.68.204]) (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 4ShxWH6ktMz4FLK for ; Sat, 2 Dec 2023 04:18:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=VbL6Wo3A; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.204 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=1701490713; bh=yss0TGd99MFuJxL8ht65f6ra+HzoRRgDwRDfkfGrKI0=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=VbL6Wo3ADDMdozw6NEpTbp3Rw/TMvYpqtoma6WF/L854FWz27BWBcbrtBBninqSIvvof4CszFoofrrCGZh+BfG0maGmZckYrJxkp9/5L0yN7G4MG1cXZFh09QoO4QzFykHvZt1UNHC/jzaFfjZNrPr0OobLLmA5L0CauIkjmqjZdrHQsdrhGjczdP7tPtUIgd/2XhlXYPXuyjurkeYygRNZep5ojm8J1pAJHD/at4uAv3TPpPhz0Z+WOiLi2vcztfFO8ZYkcEjXgE3oZVjNo3UpkVBQ9tbNRpLGuOEoNoWOePZUUXS6ioBsB1JyguB9d5blU/PMc66cLt5JPnsYJaQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1701490713; bh=6SSaQE2JsP3/K+9DOXkEhMHf1pAOwiAxQLC69gUz+MN=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=DLy7TPglKtkYPqqIVbW8MJ8WJna2SyxzPlGbMTMlVt1d8u7Zh2cstIRAqgPCS8eUjMVisGvm1pI0Zx+2WyOJdnNd53SIQSeM9iDBWyG62NkHkLJ1wJbOEP+J24U8dU77ReZynLxIvNk1xyIXqVs0G7GudsJXM8SEUCb6zIZZF28cc5KZmOf9F8A+4ar1vg9mrnbNIRnuaZb2L1BWj4EVt4NtGy5fts2eoj/H5/MSRRRsT4QeiIIssTMKz3n1LHyBAjo5uCjT/UtWkPHPrlLYvQULM46/JSx5aF+PjvYNshdVa3XdWe8Dwbex8X9cJ0v00mpakt9jonUwGiJe5NFYEg== X-YMail-OSG: CKa3xbQVM1mHnPoOqPcOP_iBQW9Xln96nSq0FZQSWMop3O6R66XvaGzTJxgJIpg wIopZM38pJDbimYRQnRDbz8zTBtTM..UsZ1MKbzr0.skuEozpBkHOtOCd7FvMUNV30HVsLiUKHKA xikgtsYpiglUheIS6NlBqPT96XrS_BXAtTn6U68JqxC_T1njp3PvFuj5xtKlQC3H0fQ9GZ3uuURJ cVOsfjPffPmQtMGar1QwQTlIlsOO90z.5reVpYhzRHa16QFvxEXJXFkqSj58xTI0.8QqJUM.lrfI I8Blo9mzRnK6ZPaYbzXGhQkoGkcm2VhZLlHSHsFkR4_C7K3Zgd4txzpEnRB9MclZbNehgm_TRqZG fEmKaBnlDraoQFw3_D6M.Vhr6NCM2qtkMI6VaRHwvUErQEhGk8vcciYd1X.NCuVrrvBegC_4aaCU UbAxOSLie5X5eUOiu22JTAhisUe2eBf4Bbt_EFV1pVTUYftodgrMcAH3Qjah9oNXTSRuRemrWg.C cvx9z15ZaeBVNMP51AidrVXG3f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wq5vYNGPZyWNuE_yoV_q A.yk9nJLEepwT616dQRUxfMix4LaAUcxLIDS0LzSyTykIcN7fDMZ8wfFRQ444.zO_uMezSTuPGEK XIcFtSxnDujjtn0vt8CmjKUx4JYosUGhj87TzHa4FClO6TKgXXDdgJIxCl29iHRbRglKNGe9j9oJ XtK.4SmScseYN.Qr_xoObsEIrnW4B.cAU6JTXwt9ao0xJmGgEdxSfLgTeWyFgb0sCvUoOaAhfFkg 15CGNhBsI_B3hgdI3CJHA6Uwj3ZIAMZ4o86tNDsDoqoTJtYVHbw6kW3fsSE7v.ytcqKhTcrV8q2I 71dp7DoZy8Hy_V8EbN0DbW1YSd3B8p9pzwzNa6i9Hqg6kDQZGVzlEJjXGnaM3eDah0utu33hsUlT GDKdFoF8SSqpYtFe3nftir0InJF_DXf141d6d24Rilw4PTzwohOx2Itk8w2gFnqzvbObs6mbL2.l yVa2Ht1G0SKEOUVhisLzTB.L_Ey8beiqViuxx91YJdKt5VB80GbgS9tTLt4iiohdAiWIvevXXr2s h1WV9sAnYt8CIWuLHj2p6YpO4KdW9J4kheIhkH5tvcwF93yzq_QJqCQuYaSKE3zmyVe_EDEtGq4b S6sWyC3HAXefRyAKAfTqC66rF9LMBmo.JsWLRoCP6w0DgbuEpaCptvjn2Fc0- X-Sonic-MF: X-Sonic-ID: 0b59979a-c4ee-4ee6-a5e6-e8d70f9e905d Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Sat, 2 Dec 2023 04:18:33 +0000 Received: by hermes--production-gq1-5cf8f76c44-z2sg6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7627e1b50ce7c3188508d8d2314f9350; Sat, 02 Dec 2023 04:18:31 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: "options MAXMEMDOM=2" vs. amd64 DBG kernel booting: 3000+ "kernel: Process (pid 1) got signal 5" notices during booting Date: Fri, 1 Dec 2023 20:18:20 -0800 References: <6F60DA66-1333-4CF0-B433-F0CE56F5D301@yahoo.com> <91C200DC-94B2-4831-B3DF-9C4627556ADB@yahoo.com> To: Current FreeBSD In-Reply-To: <91C200DC-94B2-4831-B3DF-9C4627556ADB@yahoo.com> Message-Id: <08EBBFE9-8BBC-4618-A3E4-882D55B99F48@yahoo.com> X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Spamd-Result: default: False [-3.46 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.963]; 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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.204:from]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.204:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4ShxWH6ktMz4FLK X-Spamd-Bar: --- On Nov 23, 2023, at 13:28, Mark Millard wrote: > On Nov 21, 2023, at 21:43, Mark Millard wrote: >=20 >> While my kernel/world build procedures build both DBG and NODBG >> kernels and worlds, I normally run the NODBG kernel and world, >> using DBG only when I need to for problem investigation. >>=20 >> I recently had reason to use the DBG kernel and found it got the >> oddity of 3000+ instances of "kernel: Process (pid 1) got signal 5" >> during booting, as reported in /var/log/messages . An example is: >>=20 >> . . . >> Nov 20 23:13:09 7950X3D-UFS shutdown[20174]: reboot by root:=20 >> Nov 20 23:13:09 7950X3D-UFS syslogd: exiting on signal 15 >> Nov 20 23:14:21 7950X3D-UFS syslogd: kernel boot file is = /boot/kernel/kernel What looks to normally output just before the odd messages below is the likes of: . . . ugen1.3: at usbus1 ugen1.4: at usbus1 The odd messages are reported in /various/log/messages as: >> Nov 20 23:14:21 7950X3D-UFS kernel: got signal 5 >> Nov 20 23:14:21 7950X3D-UFS kernel: Process (pid 1) got signal 5 >> Nov 20 23:14:21 7950X3D-UFS syslogd: last message repeated 3133 times The text of what would normally be in the output here is the likes of: Root mount waiting for: CAM . . . Root mount waiting for: CAM nda0 at nvme0 bus 0 scbus4 target 0 lun 1 nda0: nda0: Serial Number REDACTED nda0: nvme version 1.3 nda0: 1907729MB (3907029168 512 byte sectors) nda1 at nvme1 bus 0 scbus5 target 0 lun 1 nda1: nda1: Serial Number REDACTED nda1: nvme version 1.0 nda1: 1430799MB (2930277168 512 byte sectors) nda2 at nvme2 bus 0 scbus6 target 0 lun 1 nda2: nda2: Serial Number REDACTED nda2: nvme version 1.0 nda2: 1430799MB (2930277168 512 byte sectors) nda3 at nvme3 bus 0 scbus7 target 0 lun 1 nda3: nda3: Serial Number REDACTED nda3: nvme version 1.2 nda3: 1953514MB (4000797360 512 byte sectors) nda4 at nvme4 bus 0 scbus8 target 0 lun 1 nda4: nda4: Serial Number REDACTED nda4: nvme version 1.2 nda4: 976762MB (2000409264 512 byte sectors) Setting hostuuid: REDACTED. Setting hostid: REDACTED. Starting file system checks: /dev/gpt/FBSDFSSDroot: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/gpt/FBSDFSSDroot: clean, 221370202 free (400602 frags, 27621200 = blocks, 0.1% fragmentation) Mounting local filesystems:. Autoloading module: acpi_wmi Autoloading module: ig4 Autoloading module: intpm But I do not get to see such when the 3000+ messages happen. >> Nov 20 23:14:21 7950X3D-UFS kernel: intsmb0: at device 20.0 on pci0 >> . . . >>=20 >> This stopped when I commented out the: >>=20 >> options MAXMEMDOM=3D2 The 3000+ messages returned, no MAXMEMDOM assignment present. I'd updated FreeBSD and replaced the 96 GiBytes of RAM with 192 GiBytes of RAM. "boot -s" and "boot -v" still get the messages. In hopes for recording the messages to see what is last before the messages start (no serial console) I tried adding "kern.msgbufsize=3D4587520" to /boot/loader.conf . The result was no "kernel: Process (pid 1) got signal 5" messages at all for the boot of the debug kernel+world. That and the earlier MAXMEMDOM change leading to the behavior changes suggest memory layout sensitivity. I've commented out "kern.msgbufsize=3D4587520" for testing in a context where the 3000+ messages occur. >> that I've had historically and built, installed, and booted >> the resulting DBG kernel. >>=20 >> I'll note that I never had the messages for the NODDBG kernel, >> despite it also having that line. >> . . . I've still not seen such from a non-debug kernel+world. I'll be doing a from scratch "bulk -a" under the debug kernel and world context as part of testing: https://reviews.freebsd.org/D42767 This should also give an idea if the context is unstable. =3D=3D=3D Mark Millard marklmi at yahoo.com