From nobody Fri May 03 05:09:20 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 4VVzPc09v1z5JHB1 for ; Fri, 3 May 2024 05:09:40 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 4VVzPb0tHWz42vQ; Fri, 3 May 2024 05:09:39 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=MEx7fDHv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::b31 as permitted sender) smtp.mailfrom=kob6558@gmail.com Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-de462979e00so9669736276.3; Thu, 02 May 2024 22:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714712977; x=1715317777; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nGOpqStH3Qn82LZ8W0TdYFSkgyPp52Cym/NciLz+eDI=; b=MEx7fDHvYeZUMfZQOL67PYceUNdh0WsZeb+xN97SP0YqX1qv7azUV9SFI/Pgw1OUSs /lzlSOIRWY8M/mAwM50xPQkkkrufHt0v62lFPhdTGq+veoSKBvjTvR8CLgrbBY99SAVM /pz2SpumKW2CquvFKDGauI1JAwG077EI24QjrykXr1zzhp+R2FoGl/Br1VdgHAaBF9lb zbjdVJA4Fd2ovyyRlUvwLihQYwTvQRUA9d2NP5DB+IZbDHn1/yDESzzRC8Anv8WUbCqc baMrnOw+FtXylSnGN5NpzqnD0x33lzDGcudIkZ6Bil7zRNZgFkXdUhc75XK9RdhOTNwM 0YPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714712977; x=1715317777; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nGOpqStH3Qn82LZ8W0TdYFSkgyPp52Cym/NciLz+eDI=; b=WkCSEMmSdjmu9vB69zXFZ4BGaJeYUBHBxV/24CtrBVEt4X01Yfu4E3JxJiMvF8NIJQ rxX9aW6E1O58D9x3AwJBf0DlcChpEOxfZO0hSQ454fmUpg3s8czbPbBounp6CLwJwxRZ 0lxREqsIPrizFNL2GHFla26OC0QBZ5hiwaQm/rE76P3aW10c35aE4RFInvd9cTqn0OdY awtL95LibYYWuTX43qN3vi30vCA1Hs635z9mDTN+Fj3y9hKDnSH3NRc/eCTx9cV9OIrp BQZjR3hIk/nwGfnARvpV7bueJZjE94D6JQyRgyi0c75dZoribYQkZqcH+qaQlHLeT0Bi ILcA== X-Forwarded-Encrypted: i=1; AJvYcCUwJhB6MyryF5afRfrysrOHNjWZoRcGsSiDMjpIERkygQyM2h7O2L9LUuK/hGHcQw3TUT45wBGpB04KxAaQxnoqBeQss+I= X-Gm-Message-State: AOJu0YzItuBdS7Iryx15063QS+YWAF94HuMXBkUe8p9sCU4v1X7gSDTn 1gnXCGn147pXh7sL79VcQY2CvcKGaK30uhut0n8Ecs+1Va4ZvuAWicrlGJDJvQ04QzQN6pWrSID tEj+nUVeiN4iPapIQvsM9Fg56Ox0LvTTb X-Google-Smtp-Source: AGHT+IG8rmpszKnxUy8r4cGVgQfk7GR5JYkwyQzejjN02fA8XiYyuatVmbBbXsfwplxH0r4i1meNbGyOCoOlc0sjrWU= X-Received: by 2002:a05:6902:1b8f:b0:de6:1056:c9e7 with SMTP id ei15-20020a0569021b8f00b00de61056c9e7mr2217216ybb.8.1714712977565; Thu, 02 May 2024 22:09:37 -0700 (PDT) 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 References: <20240428164258.000032ba@seibercom.net> <20240429052151.000039ed@seibercom.net> In-Reply-To: From: Kevin Oberman Date: Thu, 2 May 2024 22:09:20 -0700 Message-ID: Subject: Re: stop "dmesg.boot" from being overwritten on each boot-up To: "Greg 'groggy' Lehey" Cc: "Gerard E. Seibert" , questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000eb71eb061785b9e2" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.43 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.73)[-0.728]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b31:from] X-Rspamd-Queue-Id: 4VVzPb0tHWz42vQ --000000000000eb71eb061785b9e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 29, 2024 at 5:56=E2=80=AFPM Greg 'groggy' Lehey wrote: > [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 < > grog@freebsd.org> 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 > A few questions... What processor do you have? What version of FreeBSD? What version of drm-kmod (drm-*-kmod)? Which version is between the 'drm' and 'kmod'? There is a known problem with drm-515-kmod on 14.0 on Alder Lake. The problem should be fixed on 14.1 and drm-61-kmod which is getting close. If you install 14-STABLE, the fix is there. If your system does not match, you really should open a trouble report. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000eb71eb061785b9e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Apr 29, 2024= at 5:56=E2=80=AFPM Greg 'groggy' Lehey <grog@freebsd.org> wrote:
[Trimmed, resequenced for clarity]

On Monday, 29 April 2024 at=C2=A0 5:21:51 -0400, Gerard E. Seibert wrote: > On Mon, 29 Apr 2024 08:46:27 +1000, Greg 'groggy' Lehey <grog@freebsd.org>= ; 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<= br> >> recipients. For more information, see
>> http://www.lemis.com/questions.html Sent from my des= ktop computer.

You didn't copy questions@ on your last message.

>> On Sunday, 28 April 2024 at 16:42:58 -0400, Gerard E. Seibert wrot= e:
>>> 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.=C2=A0 But while you're in single user, you= can rename
>> the file.=C2=A0 It would be better to copy it elsewhere in case th= e 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.=C2=A0 The file systems are mounted
read-only, and it's not even sure that /var is accessible.=C2=A0 To ren= ame
the file you first need to mount -u / and maybe mount the file system
on which /var is located.=C2=A0 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.=C2=A0 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 recipient= s.
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.=C2=A0 If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA.php

A few questions... What proc= essor do you have? What version of FreeBSD? What version of drm-kmod (drm-*= -kmod)? Which version is between the 'drm' and 'kmod'?

There is a known problem with drm-515-kmod o= n 14.0 on Alder Lake. The problem should be fixed on 14.1 and drm-61-kmod w= hich is getting close. If you install 14-STABLE, the fix is there.

If your system does not match, you really should= open a trouble report.
-- =
Kevin Oberman= , Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
--000000000000eb71eb061785b9e2--