From nobody Tue Dec 14 00:07:09 2021 X-Original-To: hackers@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 2326B18E91AF for ; Tue, 14 Dec 2021 00:07:24 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) by mx1.freebsd.org (Postfix) with ESMTP id 4JCdwq0G69z4gPS for ; Tue, 14 Dec 2021 00:07:22 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p4fc4c12a.dip0.t-ipconnect.de [79.196.193.42]) (authenticated bits=128) by land.berklix.org (8.15.2/8.15.2) with ESMTPA id 1BE07Fk5035874 for ; Tue, 14 Dec 2021 00:07:15 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id 1BE079qt062803 for ; Tue, 14 Dec 2021 01:07:09 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.16.1/8.16.1) with ESMTP id 1BE079G8030464 for ; Tue, 14 Dec 2021 01:07:09 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <202112140007.1BE079G8030464@fire.js.berklix.net> To: hackers@freebsd.org Subject: /boot/loader.conf debuging traces come out jumbled From: "Julian H. Stacey" Organization: http://berklix.com/jhs/ User-agent: EXMH on FreeBSD http://www.berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30462.1639440429.1@fire.js.berklix.net> Date: Tue, 14 Dec 2021 01:07:09 +0100 X-Rspamd-Queue-Id: 4JCdwq0G69z4gPS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jhs@berklix.com has no SPF policy when checking 144.76.10.75) smtp.mailfrom=jhs@berklix.com X-Spamd-Result: default: False [-1.63 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[jhs]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[berklix.com]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.63)[-0.629]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:144.76.0.0/16, country:DE]; RECEIVED_SPAMHAUS_PBL(0.00)[79.196.193.42:received] X-ThisMailContainsUnwantedMimeParts: N Debugging my /boot/loader.conf on 12.2-STABLE (with a 12.2-RELEASE kernel, (as 12.2-STABLE & 12.3-RELEASE & 13.0-RELEASE GENERIC kernels crash during boot on one machine here (To be subject of later analysis & posting)... I got distracted onto debugging boot options, after output from booting screen rolled off the top), So I concentrated first on identifying & hashing out noisey boot options , before next searching how to capture boot text (maybe to a serial port ?) ) I tried adding markers to loader.conf create deliberate visible error texts to mark around lines I wanted to study the effect of, eg fuse_load="YES" etc ... I added this in the middle of /boot/loader.conf : ZZZZZZZZZ00000000_load="YES" ZZZZZZZZZ00001111_load="YES" ZZZZZZZZZ00002222_load="YES" ZZZZZZZZZ44440000_load="YES" ZZZZZZZZZ44441111_load="YES" ZZZZZZZZZ44442222_load="YES" & next boot showed a weirdly disordered: Loading configured modules... can't find 'ZZZZZZZZZ00000000_load' can't find 'ZZZZZZZZZ00002222_load' can't find 'ZZZZZZZZZ44442222_load' can't find 'ZZZZZZZZZ44440000_load' can't find 'ZZZZZZZZZ44441111_load' can't find 'ZZZZZZZZZ00001111_load' /etc/hostid size=0x25 its not even just a reverse order that one might have expected from a forth unstacker or some such. Makes it harder to trace what output lines come from which loader.conf lines. -- Julian Stacey http://berklix.com/jhs/ http://stolenvotes.uk Minimise contact, vax insufficient. Prime liar a liability to cons & UK.