Kernel 6.6.25: BUG: workqueue leaked lock or atomic: kworker ... last function: ata_scsi_dev_rescan

That workqueue patch wasn’t backported to any kernel older than 6.6. So if you’re still getting workqueue errors on 6.1 it’s not related to that patch, it’s something else. I have no idea what that could be, sorry.

1 Like

Well in the situation where i’am right now, its equal to BSOD.

Journal doesn’t show anything why the system was freezing and this other new error’s in journal points at the emptiness.

I have a Windows retro feeling right now. :face_exhaling:

6.26 still shows this errors:

$ journalctl -p 3 -xb
Apr 13 10:06:05 koboldx-z170 kernel: x86/cpu: SGX disabled by BIOS.
Apr 13 10:06:06 koboldx-z170 kernel: 
Apr 13 10:06:11 koboldx-z170 systemd[1104]: /run/user/1000/systemd/generator.late/app-nvidia\x2dsettings@autostart.service:18>
Apr 13 10:06:11 koboldx-z170 systemd[1104]: /run/user/1000/systemd/generator.late/app-nvidia@autostart.service:18: WorkingDir>
Apr 13 10:06:14 koboldx-z170 pulseaudio[1321]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner: Could n>
Apr 13 10:16:15 koboldx-z170 kernel: BUG: workqueue leaked lock or atomic: kworker/4:0/0x7fffffff/45
                                          last function: ata_scsi_dev_rescan
Apr 13 10:16:15 koboldx-z170 kernel: BUG: scheduling while atomic: kworker/4:0/45/0x00000000

At least PC is stable :see_no_evil: :hear_no_evil: :speak_no_evil:

Hello,

I am just checking in as I am experiencing the same issue with 6.8 and 6.6. After reading the thread I installed kernel 6.1 and I am not seeing any problem in the logs for now. Let me know if I can help testing something.

I came here from the Arch forum.

System:
  Host: lenovo Kernel: 6.1.85-1-MANJARO arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 5.27.11 Distro: Manjaro Linux
Machine:
  Type: Laptop System: LENOVO product: 81LK v: IdeaPad L340-15IRH Gaming
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> UEFI: LENOVO v: BGCN17WW date: 03/21/2019
Battery:
  ID-1: BAT0 charge: 39.9 Wh (99.0%) condition: 40.3/45.0 Wh (89.6%)
CPU:
  Info: 6-core model: Intel Core i7-9750H bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 823 min/max: 800/4500 cores: 1: 800 2: 886 3: 900 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 900
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia
    v: 550.67
  Device-3: Lite-On Integrated Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.12 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau dri: iris gpu: i915
    resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.0.2-manjaro1.1
    renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
  API: Vulkan v: 1.3.279 drivers: nvidia,intel surfaces: xcb,xlib
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  API: ALSA v: k6.1.85-1-MANJARO status: kernel-api
  Server-1: PulseAudio v: 17.0 status: active
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8821ce
  IF: wlp7s0 state: up mac: 28:39:26:45:9b:2b
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp8s0 state: down mac: 98:fa:9b:37:d7:f5
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb type: USB
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.14 TiB used: 249.33 GiB (21.3%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM256GDHTNG-8310A
    size: 238.47 GiB
  ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-24Z10
    size: 931.51 GiB
Partition:
  ID-1: / size: 196.67 GiB used: 125.98 GiB (64.1%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 42.0 C pch: 40.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.64 GiB used: 3.22 GiB (42.1%)
  Processes: 319 Uptime: 55m Shell: Zsh inxi: 3.3.34
1 Like

Hmm let me try again 6.1 then… did you waited 10min after boot for the errrors to show up?

Are you on Manjaro’s stable release branch?

Did you had actually real bugs related this error logs?

I guess i’m lucky that i only see this error’s that not harm the system stability.

My AMD Laptop which used the same Kernel/Software packages btw. don’t show this error’s.
Maybe this is a Intel problem?

It has been up for over 6 hours now without any of the error messages in the journal.

Yes.

Not sure what you mean but with 6.6 and 6.8 I experienced a kernel panic after a few hours.

Same error’s with Kernel: 6.1.85-1 :zipper_mouth_face:

The last stable release update with Kernel: 6.6.30-2 fixed the error message for me.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.