System not powering off

First of all: thank you folks so much for your answers!

at around February 20 and still ongoing I have the same issue on a Dell Laptop, see below for details. I am not sure where to start reporting. Basically the system is not powering off, no matter if “reboot”, “power off” or “standby” target should be reached. So when the computer goes stand-by (for example triggered by inactivity), it will not power off (fan continuous running, display on). Then i have to force a power off by pressing the power button for a few seconds. it will restart just fine, as all systems and mounts are down at this point.

i was able to go back to kernel version 6.6.* at grub where it was working just fine. but while skipping some kernel version, i retried w/o success.

also during this period the intel webcam stopped working. and at some point (may be not serious) i discovered a rather unclear issue with un-signed kernel modules regarding ipu6 and/or v4l2 could not load during boot. but i am not sure about a relation to this issue with powering off.

❯ uname -srm
Linux 6.7.7-200.fc39.x86_64 x86_64
inxi -Fzxx
❯ inxi -Fzxx
  Kernel: 6.7.7-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
  Type: Laptop System: Dell product: Latitude 9430 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0Y5GV9 v: A01 serial: <superuser required> part-nu: 0B11
    UEFI: Dell v: 1.20.0 date: 12/14/2023
  ID-1: BAT0 charge: 37.6 Wh (72.9%) condition: 51.6/59.1 Wh (87.3%)
    volts: 12.5 min: 11.6 model: BYD DELL VTH8534 serial: <filter>
    status: charging
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i7-1265U bits: 64
    type: MST AMCP arch: Alder Lake rev: 4 cache: L1: 928 KiB L2: 6.5 MiB
    L3: 12 MiB
  Speed (MHz): avg: 663 high: 1180 min/max: 400/4800:3600 cores: 1: 1180
    2: 400 3: 923 4: 400 5: 800 6: 400 7: 900 8: 400 9: 400 10: 400 11: 756
    12: 1005 bogomips: 64512
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] vendor: Dell
    driver: i915 v: kernel arch: Gen-12.2 ports: active: eDP-1
    empty: DP-1,DP-2,HDMI-A-1 bus-ID: 0000:00:02.0 chip-ID: 8086:46a8
  Display: wayland server: v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: AU Optronics 0x6d9c res: 1920x1200 dpi: 162
    diag: 355mm (14")
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.6 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:46a8 display-ID: :0.0
  API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: mesa intel device-ID: 8086:46a8 device: 1
    type: cpu driver: mesa llvmpipe device-ID: 10005:0000
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Device-1: Intel Alder Lake Imaging Signal Processor vendor: Dell
    driver: intel-ipu6 bus-ID: 0000:00:05.0 chip-ID: 8086:465d
  Device-2: Intel Alder Lake PCH-P High Definition Audio vendor: Dell
    driver: sof-audio-pci-intel-tgl bus-ID: 0000:00:1f.3 chip-ID: 8086:51c8
  API: ALSA v: k6.7.7-200.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:51f0
  IF: wlp0s20f3 state: up mac: <filter>
  IF-ID-1: br-108b827715da state: down mac: <filter>
  IF-ID-2: br-15f55f342824 state: down mac: <filter>
  IF-ID-3: br-1f1af8d6d7bb state: down mac: <filter>
  IF-ID-4: br-36326d883ed1 state: down mac: <filter>
  IF-ID-5: br-470b018aea08 state: down mac: <filter>
  IF-ID-6: br-550d31aeb582 state: down mac: <filter>
  IF-ID-7: br-62898092224d state: down mac: <filter>
  IF-ID-8: br-6b1b86505d98 state: down mac: <filter>
  IF-ID-9: br-8a7077b6f372 state: down mac: <filter>
  IF-ID-10: br-9082db5f8621 state: down mac: <filter>
  IF-ID-11: br-97cfe375d347 state: down mac: <filter>
  IF-ID-12: br-c56156a88327 state: down mac: <filter>
  IF-ID-13: br-d6c6c4054442 state: down mac: <filter>
  IF-ID-14: docker0 state: down mac: <filter>
  IF-ID-15: wwp0s20f0u4c2 state: down mac: <filter>
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 bus-ID: 0000:00:0e.0 chip-ID: 8086:467f
  Local Storage: total: 953.87 GiB used: 353.47 GiB (37.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: PM9B1 NVMe 1024GB
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 45.9 C
  ID-1: / size: 952.28 GiB used: 353.11 GiB (37.1%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 303.7 MiB (31.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 57.2 MiB (9.5%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 952.28 GiB used: 353.11 GiB (37.1%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  Src: /sys System Temperatures: cpu: 44.0 C mobo: 42.0 C sodimm: Mem C
  Fan Speeds (rpm): N/A
  Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
  Memory: total: 32 GiB note: est. available: 30.98 GiB used: 4.18 GiB (13.5%)
  Processes: 395 Power: uptime: 29m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 34 Compilers: gcc: 13.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.33

as to read in a maybe related thread, i also looked for “denied” term in journalctl:

❯ journalctl -b -1 -g denied
Mar 05 13:25:17 fedora audit[1093]: AVC avc:  denied  { execmem } for  pid=1093 comm="syslog-ng" sc>
Mar 05 13:25:18 fedora audit[1093]: AVC avc:  denied  { watch } for  pid=1093 comm="syslog-ng" path>
Mar 05 13:25:18 fedora syslog-ng[1093]: [2024-03-05T13:25:18.267291] Error start configuration moni>
Mar 05 13:25:23 fedora audit[1296]: AVC avc:  denied  { execmem } for  pid=1296 comm="ModemManager">
Mar 05 13:26:50 fedora gsd-power[2796]: Release of light sensors failed: GDBus.Error:org.freedeskto>

unfortunately the latest kernel update now removed the older 6.6.* kernel that was working as expected.

You should be able to re-download and install an older kernel. Some methods of (re)installing specific kernel versions can be found in Fedora’s documentation.

As for the inability to fully power off your system. I think I’ve seen others report similar problems lately. It is likely that you’ll just have to wait for the kernel devs to resolve the problem. Though it is possible that you could have caused such a problem by misconfiguring your BIOS or by adding something like noacpi or acpi=off. Also, be sure your firmware is up to date.

thank you for the hint. I never heard of koji before.

i search there, but those 6.6.* version i found have been deleted at koji. instead of searching for a non-deleted i was able to go back to Linux 6.5.6-300.fc39.x86_64 with dnf. powering off is working this way, but leaving me a bit unhappy about newer kernel versions.

FWIW, I think the bug you are seeing might be related to the “Put CPUs into INIT on shutdown” patch that was reverted for the 6.5 kernel series. This issue has been reported here before.

There is also an open bug report with people reporting that various iterations of the patch do or do not work with their systems.

My guess is that the kernel devs are still working on that code. You might want to chime in on that bug report with your results and follow it to get alerts about the latest fixes.