I have the same symptom on a closely related machine, a ThinkPad T14
Gen 5 Intel (21MM, Core Ultra 5 125U, BIOS N47ET30W 1.19), kernel
6.18.63: it powers back on a few seconds after a clean poweroff. On mine
I traced it to the onboard Ethernet, Intel I219 at 00:1f.6 [8086:550b],
driver e1000e. It may be the same on the P14s Gen 5, so this is worth a
try.
Quick test, no permanent change:
sudo modprobe -r e1000e && systemctl poweroff
On my machine that stays off (3 of 3 shutdowns so far), and with e1000e
loaded it powers back on every time, without a cable and on battery.
Disabling "Ethernet LAN" in the BIOS (Security > I/O Port Access) also
makes it stay off.
Things that did not help here, in addition to the ones already listed in
this bug: Wake-on-LAN off, every power/wakeup flag under
/sys/bus/{pci,usb,thunderbolt}, every entry in /proc/acpi/wakeup, and
disabling Thunderbolt, USB, WLAN, WWAN and Bluetooth in the BIOS.
If the test works for you, this unit makes it permanent. Save it as
/etc/systemd/system/e1000e-unload-on-poweroff.service and run
"sudo systemctl enable e1000e-unload-on-poweroff.service":
[Unit]
Description=Unload e1000e before power off
DefaultDependencies=no
After=shutdown.target
Before=systemd-poweroff.service systemd-halt.service
[Service]
Type=oneshot
ExecStart=-/usr/bin/rmmod e1000e
[Install]
WantedBy=poweroff.target halt.target
Full details of what I tested are in bug #2162837 (T14 Gen 5). Please
report back whether unloading e1000e also fixes it on the P14s, since
that would show the two bugs have the same cause.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138359
Title:
system restarts immediately after shutdown
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lowlatency/+bug/2138359/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs