From: Martin Steigerwald <martin@lichtvoll.de>
To: Denis Benato <benato.denis96@gmail.com>,
rafael@kernel.org, len.brown@intel.com, pavel@kernel.org,
gregkh@linuxfoundation.org, dakr@kernel.org,
Mario Limonciello <superm1@kernel.org>,
Mario Limonciello <superm1@kernel.org>
Cc: "AceLan Kao" <acelan.kao@canonical.com>,
"Kai-Heng Feng" <kaihengf@nvidia.com>,
"Mark Pearson" <mpearson-lenovo@squebb.ca>,
"Merthan Karakaş" <m3rthn.k@gmail.com>,
linux-pm@vger.kernel.org
Subject: Re: [PATCH] PM: Use hibernate flows for system power off
Date: Sun, 18 May 2025 10:24:01 +0200 [thread overview]
Message-ID: <5890366.DvuYhMxLoT@lichtvoll.de> (raw)
In-Reply-To: <7274e7a9-d645-48f6-b672-f5d8366fc813@kernel.org>
Hi.
Thanks for your reply, Mario.
Mario Limonciello - 14.05.25, 19:06:03 CEST:
> > I will eventually see I bet.
> >
> > Currently I only compile my own kernel for my current ThinkPad which
> > is not affected by this issue.
> As a debugging tactic for your problem you can try to save your shutdown
> log to the EFI pstore by adding this to your kernel command line for a
> boot.
>
> efi_pstore.pstore_disable=N printk.always_kmsg_dump=Y
>
> Then the next boot if you have the systemd-pstore service enabled it
> will move the log into /var/lib/systemd/pstore.
>
> If you don't have it enabled you can run this to manually do it one
> time.
>
> sudo systemctl start systemd-pstore.service
>
> Hopefully that log will be helpful in identifying your problem.
Thanks for the hint on how to debug things like this without some serial
console or so.
As I use Devuan and thus do not have Systemd installed, I will need to
find a different way to obtain the log from the pstore. But according to
kernel documentation this seems to be easy enough¹:
mount -t pstore pstore /sys/fs/pstore
I can indeed mount it and there are a lot of "dmesg-efi_pstore-
[timestamp]" files where time stamp seems to be in seconds since beginning
of 1970.
[1] https://docs.kernel.org/admin-guide/pstore-blk.html
Thanks,
--
Martin
next prev parent reply other threads:[~2025-05-18 8:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-12 21:26 [PATCH] PM: Use hibernate flows for system power off Mario Limonciello
2025-05-14 15:45 ` Denis Benato
2025-05-14 16:15 ` Mario Limonciello
2025-05-14 16:30 ` Martin Steigerwald
2025-05-14 17:06 ` Mario Limonciello
2025-05-18 8:24 ` Martin Steigerwald [this message]
2025-05-19 21:16 ` Mario Limonciello
2025-05-14 17:18 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5890366.DvuYhMxLoT@lichtvoll.de \
--to=martin@lichtvoll.de \
--cc=acelan.kao@canonical.com \
--cc=benato.denis96@gmail.com \
--cc=dakr@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=kaihengf@nvidia.com \
--cc=len.brown@intel.com \
--cc=linux-pm@vger.kernel.org \
--cc=m3rthn.k@gmail.com \
--cc=mpearson-lenovo@squebb.ca \
--cc=pavel@kernel.org \
--cc=rafael@kernel.org \
--cc=superm1@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.