From nobody Tue Dec 14 05:36:12 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 6F2E818E2BBC for ; Tue, 14 Dec 2021 05:45:15 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JCnQg2Tydz4VJL for ; Tue, 14 Dec 2021 05:45:15 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-ed1-x533.google.com with SMTP id y12so58416476eda.12 for ; Mon, 13 Dec 2021 21:45:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GCFZx+L0X6kks+WdhABQLC/pDpWCXJy5IGkTjMg1MsY=; b=p+++a92oBGSKlVdJnxVg/pVePq9PPq2XdBC0ord9otI0/xVR/7Czla/RFdxnRlaoeo srz1Nq5UboDpkTEzSSoLMyfKKT6K+uk0IvwR9PM/4Fmn2Ob8CEK9rB3Ynxi3oc/dfbRa iKAj2pa//EMQRZXs6EucRD+whv8KNqCoCCHo4kUbAv+b8V1gcqQyC8PskxGxUudhQXtP wTd5rtM59OZNvMO4SR8CVeFRb1HNyzB1Xf85k8+GtbIK41FQod5XES9F6uFJTdtTh34p V7JNnlvOjYwvvz2Anq2eCvLz2EoL3wXLLGCMrysYFDOa5kMc6dq/GXe2ntdB5Bzlfm63 Lt2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GCFZx+L0X6kks+WdhABQLC/pDpWCXJy5IGkTjMg1MsY=; b=Csc0EsLe0M5O9InHPWg2shrgKSjSvt+dLNLTHbWuPmBf8w/kSGON6UGXYU5D/jJrsQ +l1Eq4P92sGJWTYcIDoyagAULhVodw2N56p3nUpuFcH0gsPcJKGlSmiekrMgZ31+sAwF 8ZHL3VhK7oaeEdICufsVLmknlUI+Vv9fTycE3C8E/asdC2Z88XnheEhRyXSGXEUcEzPx WWVbDFsQe/ZzuaJHo/Nm2KNX4DtVT1KetPFVRkIenCt7U+Fg7V++AnUbUG/BxE3OXnjv pwNhVidN/Xsc9uVcpFHA/vi1RVVEWuuqNopK7qLMmDZo7OxiKa/Cqq+RUoqKn7HIALjR 4oRw== X-Gm-Message-State: AOAM533GJHW0Tp5YKC8WzOtvep2aaxl+H2j7GyuCldQI91NEBmuMTmJi w1ppDa+0Kl8IZWgGwrOfp+DoSfuUZ1SInRSpuxMHcQTdmLnOgA== X-Google-Smtp-Source: ABdhPJwBe2//33LClmiwVMFZPwGjzkGXaYvHS0F8qpAB+OKSDU9kgazEEh66vFUPFecgmT95LpnCFw6MnuykizrmgMI= X-Received: by 2002:a5d:6dab:: with SMTP id u11mr3367812wrs.46.1639460208187; Mon, 13 Dec 2021 21:36:48 -0800 (PST) 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 References: <202112140007.1BE079G8030464@fire.js.berklix.net> In-Reply-To: <202112140007.1BE079G8030464@fire.js.berklix.net> From: Mehmet Erol Sanliturk Date: Tue, 14 Dec 2021 08:36:12 +0300 Message-ID: Subject: Re: /boot/loader.conf debuging traces come out jumbled To: "Julian H. Stacey" Cc: hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000551d2005d3149341" X-Rspamd-Queue-Id: 4JCnQg2Tydz4VJL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000551d2005d3149341 Content-Type: text/plain; charset="UTF-8" On Tue, Dec 14, 2021 at 3:08 AM Julian H. Stacey wrote: > 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. > The above message has triggered remembering one of experiences with FreeBSD before 9.2(?) : I am testing a C program with "clang" : print ( ... 'A : ' ... ) a ; print ( ... 'B : ' ... ) b ; print ( ... 'C : ' ... ) c ; Output ( like similar to the following but disordered with respect to its liking ) : B : ... A : ... C : ... means "Unbelievable" ... Mehmet Erol Sanliturk --000000000000551d2005d3149341--