From nobody Tue Apr 30 00:55:43 2024 X-Original-To: questions@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 4VT1w63m6Zz5HkWp for ; Tue, 30 Apr 2024 00:55:50 +0000 (UTC) (envelope-from grog@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VT1w63HYKz4Rb1; Tue, 30 Apr 2024 00:55:50 +0000 (UTC) (envelope-from grog@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714438550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tA+yQ9bi29gXbqb7F4XI92radhSw1ehrZFVBvSX2v/g=; b=shre+edxuUltUtBmXEbHIuqbHitklXX0Tp6oEQa4MZBoO9yyY82RAr2G2fajB1SCU1pc+d tEjzVMjwJgIZYgi8nMrqs+muWDXtFsQB2jHHqxaAO1Ft8+lBB9ubve6uv1CblyadGAdmW6 96sm/MJlH5XhV/L3MVYXI42tF0Juew6uS71fOMgVFEr3HoklQf+Y0TJDx5ZzOGLdKJ/QuE cnGH3efnY/n+UFkjT1xaN9s9/Ng7VD/cAyuZkbRfR+hLvtzUD/+pkU8sLJ2nPCDRBPiKvN 4DgToL3ZRghhLTBCbGjRaMUlrdZgfx/SDiam6wav3j3irj0zSl1+xTNvb453Mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714438550; a=rsa-sha256; cv=none; b=Wg3leBoEYFG61opV4EzluubEb5XXgSHm94uVvXXT4jdQx4lBiUVTUziQH+UGfkYuNffD6Z L+CFiqs6rC8KEkn4n4MaIukZQMMcB8DMqX8yWTQk4pqwIRprYEDIBdJTh2r4gPGS7e7AiK P61+0ALYgD0q6dHBFA04DD+Eso6GTAm9EleM3id2ghE86YrkBVEmgWfhLcspCKlKrHyB8G FbEHNEVoB7Bfg9H206HnI8rLu+IhB4NurgCiYzzkVpJMDyNMhU88qSxP3d34lzH/cevKGU Adn/wCNVCyDfMMzsPk+V2LGe7UZH8cejoEmdjecFRAO0N27InBa+BDXp1gD7ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714438550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tA+yQ9bi29gXbqb7F4XI92radhSw1ehrZFVBvSX2v/g=; b=YoWCYXcL5RWTrEAfn1ievJWLB/nkTzA8ymPsfZRHRJ7Mrt+3PSJAM/KcUjaaLt5inz18JC p9diY8gO2ULGib3CnL+FwijuxxPjOY8TiRb5rxbiH4tzHKNK5kGAqt036JwYQdGKnblLf1 MeoWN4zRpCCdZkUi1ENLTGDBPIojevZe1BM1gAzxVPu6WGeM716zAp5cnS65SU2NAySORx 1IwjDhy1QTdO7SujHDpzVAnegnFF/bhoiG52lb7uMQMQoee40B61v/QEtUHagiVMs6DYgZ JXVPre1Nl2Qli6hvHY9Lk2UzM6nZuPHa0MRcKiVtVtq+o5GD0EDZF2otK4hK1g== Received: from hydra.lemis.com (121-200-11-253.79c80b.mel.nbn.aussiebb.net [121.200.11.253]) (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 did not present a certificate) (Authenticated sender: grog/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VT1w51TCVz11SQ; Tue, 30 Apr 2024 00:55:48 +0000 (UTC) (envelope-from grog@freebsd.org) Date: Tue, 30 Apr 2024 10:55:43 +1000 From: Greg 'groggy' Lehey To: "Gerard E. Seibert" Cc: questions@freebsd.org Subject: Re: stop "dmesg.boot" from being overwritten on each boot-up Message-ID: References: <20240428164258.000032ba@seibercom.net> <20240429052151.000039ed@seibercom.net> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mZenraUfeGoLoy93" Content-Disposition: inline In-Reply-To: <20240429052151.000039ed@seibercom.net> Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: https://www.FreeBSD X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 --mZenraUfeGoLoy93 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Trimmed, resequenced for clarity] On Monday, 29 April 2024 at 5:21:51 -0400, Gerard E. Seibert wrote: > On Mon, 29 Apr 2024 08:46:27 +1000, Greg 'groggy' Lehey stated: >> When replying to this message, please copy the original recipients. >> If you don't, I may ignore the reply or reply to the original >> recipients. For more information, see >> http://www.lemis.com/questions.html Sent from my desktop computer. You didn't copy questions@ on your last message. >> On Sunday, 28 April 2024 at 16:42:58 -0400, Gerard E. Seibert wrote: >>> I want to get a copy of what happens when the system locks up while >>> booting with the i915ms.ko module. Is there any setting I can use to >>> stop overwriting that file or perhaps append the output to it? >> >> Not that I know of. But while you're in single user, you can rename >> the file. It would be better to copy it elsewhere in case the entire >> contents of the /var/run directory gets removed. > > The problem with moving the file is that it has already been > overwritten by the new boot-up process. Not when you're in single user. The file systems are mounted read-only, and it's not even sure that /var is accessible. To rename the file you first need to mount -u / and maybe mount the file system on which /var is located. I assumed you knew that, since you did other things in single user. > I might make a suggestion that a mechanism be put in place to allow > a user to not automatically overwrite that file. Something like > letsencrypt does with its log files. Sure, that's what the bugs system is for. And in that connection, >> Have you checked the bug reports for your i915ms problem? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Sent from my desktop computer. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA.php --mZenraUfeGoLoy93 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSaG4ICvM64RvkvCawi5vKQUHpCIwUCZjBBjwAKCRAi5vKQUHpC I+zRAKCkvCuXGw5SLD4JL/ha06/DNF/PXwCgg4Vi3dTqb2w4UMI9PvVbMu2jdzM= =fjmL -----END PGP SIGNATURE----- --mZenraUfeGoLoy93--