Kernel BUG! - 5.11.16-zen1-1-zen

It appears my system freezes when it tries to go to sleep and wake up, Kernel complains here is the output.

Is there a tracker to put this stuff in?

5.11.16-zen1-1-zen kernel
B450 Board
5600XT GPU

Apr 30 17:58:19 linuzo-amd64 kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000000000).
Apr 30 17:58:19 linuzo-amd64 kernel: [drm] PSP is resuming...
Apr 30 17:58:19 linuzo-amd64 kernel: [drm] reserve 0x900000 from 0x800f400000 for PSP TMR
Apr 30 17:58:19 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: RAS: optional ras ta ucode is not available
Apr 30 17:58:19 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: RAP: optional rap ta ucode is not available
Apr 30 17:58:19 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: SMU is resuming...
Apr 30 17:58:19 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: smu driver if version = 0x00000036, smu fw if version = 0x00000037, smu fw version = 0x002a3d00 (42.61.0)
Apr 30 17:58:19 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: SMU driver if version not matched
Apr 30 17:58:21 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: failed send message: EnableAllSmuFeatures (6)         param: 0x00000000 response 0xffffffc2
Apr 30 17:58:21 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: Failed to enable requested dpm features!
Apr 30 17:58:21 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: Failed to setup smc hw!
Apr 30 17:58:21 linuzo-amd64 kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <smu> failed -62
Apr 30 17:58:21 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: amdgpu_device_ip_resume failed (-62).
Apr 30 17:58:21 linuzo-amd64 kernel: snd_hda_intel 0000:0b:00.1: refused to change power state from D3hot to D0
Apr 30 17:58:21 linuzo-amd64 kernel: snd_hda_intel 0000:0b:00.1: CORB reset timeout#2, CORBRP = 65535
Apr 30 17:59:00 linuzo-amd64 kernel: amdgpu: Move buffer fallback to memcpy unavailable
Apr 30 17:59:00 linuzo-amd64 kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process the buffer list -19!
Apr 30 17:59:10 linuzo-amd64 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=147168, emitted seq=147170
Apr 30 17:59:10 linuzo-amd64 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process  pid 0 thread  pid 0
Apr 30 17:59:10 linuzo-amd64 kernel: amdgpu 0000:0b:00.0: amdgpu: GPU reset begin!


Apr 30 17:59:10 linuzo-amd64 kernel: ------------[ cut here ]------------
Apr 30 17:59:10 linuzo-amd64 kernel: kernel BUG at mm/slub.c:305!
Apr 30 17:59:10 linuzo-amd64 kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
Apr 30 17:59:10 linuzo-amd64 kernel: CPU: 18 PID: 49414 Comm: kworker/18:0 Not tainted 5.11.16-zen1-1-zen #1
Apr 30 17:59:10 linuzo-amd64 kernel: Hardware name: System manufacturer System Product Name/ROG STRIX B450-F GAMING, BIOS 3103 06/17/2020
Apr 30 17:59:10 linuzo-amd64 kernel: Workqueue: events drm_sched_job_timedout [gpu_sched]
Apr 30 17:59:10 linuzo-amd64 kernel: RIP: 0010:__slab_free+0x1f9/0x500
Apr 30 17:59:10 linuzo-amd64 kernel: Code: 0f 84 d2 01 00 00 57 9d 0f 1f 44 00 00 4d 85 ff 75 73 45 84 c9 0f 84 92 00 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b f7 47 08 00 0d 21 00 0f 84 25 fe ff ff 44 89 44 24 1c 48 89
Apr 30 17:59:10 linuzo-amd64 kernel: RSP: 0018:ffffb7590db87ca0 EFLAGS: 00010246
Apr 30 17:59:10 linuzo-amd64 kernel: RAX: ffff9e0e90ffa300 RBX: 000000008020001c RCX: ffff9e0e90ffa200
Apr 30 17:59:10 linuzo-amd64 kernel: RDX: ffff9e0e90ffa200 RSI: ffffe8fd4443fe00 RDI: ffff9e0e80043600
Apr 30 17:59:10 linuzo-amd64 kernel: RBP: ffffb7590db87d40 R08: 0000000000000001 R09: ffffffffc06895b4
Apr 30 17:59:10 linuzo-amd64 kernel: R10: ffff9e0e90ffa200 R11: ffffb7590db87a00 R12: ffffe8fd4443fe00
Apr 30 17:59:10 linuzo-amd64 kernel: R13: ffff9e0e90ffa200 R14: ffff9e0e80043600 R15: ffff9e0e818be0c8
Apr 30 17:59:10 linuzo-amd64 kernel: FS:  0000000000000000(0000) GS:ffff9e118ee80000(0000) knlGS:0000000000000000
Apr 30 17:59:10 linuzo-amd64 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 30 17:59:10 linuzo-amd64 kernel: CR2: 0000560ab0229f98 CR3: 0000000118c10000 CR4: 0000000000350ee0
Apr 30 17:59:10 linuzo-amd64 kernel: Call Trace:
Apr 30 17:59:10 linuzo-amd64 kernel:  ? kfd_gtt_sa_free+0x56/0x80 [amdgpu]
Apr 30 17:59:10 linuzo-amd64 kernel:  ? kernel_queue_uninit+0x84/0xf0 [amdgpu]
Apr 30 17:59:10 linuzo-amd64 kernel:  kernel_queue_uninit+0x84/0xf0 [amdgpu]
Apr 30 17:59:10 linuzo-amd64 kernel:  stop_cpsch+0xa0/0xc0 [amdgpu]
Apr 30 17:59:10 linuzo-amd64 kernel:  kgd2kfd_pre_reset+0x56/0x80 [amdgpu]
Apr 30 17:59:10 linuzo-amd64 kernel:  amdgpu_device_gpu_recover.cold+0x36e/0x98a [amdgpu]
Apr 30 17:59:10 linuzo-amd64 kernel:  amdgpu_job_timedout+0x121/0x140 [amdgpu]
Apr 30 17:59:10 linuzo-amd64 kernel:  drm_sched_job_timedout+0x64/0xe0 [gpu_sched]
Apr 30 17:59:10 linuzo-amd64 kernel:  process_one_work+0x214/0x3e0
Apr 30 17:59:10 linuzo-amd64 kernel:  worker_thread+0x4d/0x470
Apr 30 17:59:10 linuzo-amd64 kernel:  ? flush_delayed_work+0x40/0x40
Apr 30 17:59:10 linuzo-amd64 kernel:  kthread+0x181/0x1b0
Apr 30 17:59:10 linuzo-amd64 kernel:  ? __kthread_init_worker+0x50/0x50
Apr 30 17:59:10 linuzo-amd64 kernel:  ret_from_fork+0x22/0x30
Apr 30 17:59:10 linuzo-amd64 kernel: Modules linked in: ufs hfsplus hfs cdrom minix msdos jfs xfs ext4 crc16 mbcache jbd2 dm_mod hid_logitech_hidpp zram snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device hid_logitech_dj mc snd_hda_>
Apr 30 17:59:10 linuzo-amd64 kernel:  xhci_pci_renesas nouveau mxm_wmi wmi radeon i915 video intel_agp intel_gtt amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart
Apr 30 17:59:10 linuzo-amd64 kernel: ---[ end trace 78437c3316e0c71d ]--- ~~~

Some more info for you DEVS!

System:    Kernel: 5.11.16-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=f0e58ef5-65bf-462f-8f31-865d2f723b45 rw 
           rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
           systemd.unified_cgroup_hierarchy=1 resume=UUID=8e479d1e-603f-4e5e-b380-332e9e780384 loglevel=3 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 vt: 7 dm: LightDM 1.30.0 Distro: Garuda Linux 
           base: Arch Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx serial: <filter> UEFI: American Megatrends 
           v: 3103 date: 06/17/2020 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus serial: <filter> 
           charge: 100% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Info: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 family: 17 (23) model-id: 71 (113) 
           stepping: 0 microcode: 8701021 cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 182402 
           Speed: 3604 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 1: 3604 2: 3372 3: 3599 4: 3600 5: 3598 
           6: 3594 7: 3815 8: 3598 9: 3599 10: 3602 11: 3600 12: 3599 13: 3600 14: 3601 15: 3980 16: 3497 17: 3551 18: 3591 
           19: 3597 20: 3594 21: 3591 22: 3599 23: 3600 24: 3599 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] 
           vendor: Micro-Star MSI driver: amdgpu v: kernel bus-ID: 0b:00.0 chip-ID: 1002:731f class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati unloaded: modesetting,radeon alternate: fbdev,vesa 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: DisplayPort-0 res: 1920x1080 hz: 60 dpi: 102 size: 480x270mm (18.9x10.6") diag: 551mm (21.7") 
           OpenGL: renderer: AMD Radeon RX 5600 XT (NAVI10 DRM 3.40.0 5.11.16-zen1-1-zen LLVM 11.1.0) v: 4.6 Mesa 21.0.3 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus-ID: 0b:00.1 
           chip-ID: 1002:ab38 class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403 
           Device-3: C-Media USB Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1:2 
           chip-ID: 0d8c:0012 class-ID: 0300 
           Sound Server-1: ALSA v: k5.11.16-zen1-1-zen running: yes 
           Sound Server-2: sndio v: N/A running: no 
           Sound Server-3: JACK v: 0.125.0 running: no 
           Sound Server-4: PulseAudio v: 14.2 running: yes 
           Sound Server-5: PipeWire v: 0.3.26 running: no 
Network:   Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel port: e000 bus-ID: 04:00.0 
           chip-ID: 8086:1539 class-ID: 0200 
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.5 TiB used: 77.61 GiB (3.0%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Western Digital model: WDS500G3X0C-00SJG0 size: 465.76 GiB block-size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: 111110WD temp: 42.9 C 
           scheme: GPT 
           ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Kingston model: SA2000M8250G size: 232.89 GiB block-size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: S5Z42105 temp: 34.9 C scheme: GPT 
           ID-3: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD20EARS-19MVWB0 size: 1.82 TiB block-size: 
           physical: 4096 B logical: 512 B speed: 3.0 Gb/s serial: <filter> rev: AB51 scheme: GPT 
Partition: ID-1: / raw-size: 448.33 GiB size: 448.33 GiB (100.00%) used: 77.61 GiB (17.3%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:4 
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 546 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 
           maj-min: 259:3 
           ID-3: /home raw-size: 448.33 GiB size: 448.33 GiB (100.00%) used: 77.61 GiB (17.3%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:4 
           ID-4: /var/log raw-size: 448.33 GiB size: 448.33 GiB (100.00%) used: 77.61 GiB (17.3%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:4 
           ID-5: /var/tmp raw-size: 448.33 GiB size: 448.33 GiB (100.00%) used: 77.61 GiB (17.3%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:4 
Swap:      Kernel: swappiness: 10 (default 60) cache-pressure: 75 (default 100) 
           ID-1: swap-1 type: partition size: 17.18 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:5 
           ID-2: swap-2 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0 
           ID-3: swap-3 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1 
           ID-4: swap-4 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2 
           ID-5: swap-5 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3 
           ID-6: swap-6 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram4 
           ID-7: swap-7 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram5 
           ID-8: swap-8 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram6 
           ID-9: swap-9 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram7 
           ID-10: swap-10 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram8 
           ID-11: swap-11 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram9 
           ID-12: swap-12 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram10 
           ID-13: swap-13 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram11 
           ID-14: swap-14 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram12 
           ID-15: swap-15 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram13 
           ID-16: swap-16 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram14 
           ID-17: swap-17 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram15 
           ID-18: swap-18 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram16 
           ID-19: swap-19 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram17 
           ID-20: swap-20 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram18 
           ID-21: swap-21 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram19 
           ID-22: swap-22 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram20 
           ID-23: swap-23 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram21 
           ID-24: swap-24 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram22 
           ID-25: swap-25 type: zram size: 666.3 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram23 
Sensors:   System Temperatures: cpu: 49.9 C mobo: 0 C gpu: amdgpu temp: 35.0 C mem: 38.0 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 820 
Info:      Processes: 436 Uptime: 23m wakeups: 5 Memory: 15.62 GiB used: 3.23 GiB (20.7%) Init: systemd v: 248 tool: systemctl 
           Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1597 lib: 489 Shell: Bash v: 5.1.4 
           running-in: xfce4-terminal inxi: 3.3.04 ~~~

Please read Garuda wiki "Reporting bugs"

1 Like

format your posts with three ~ before and after the terminal output, please

2 Likes

Ok sorry about that!

Thanks I read the wiki about reporting bugs and since its with the linux-zen kernel which to my knowledge is a garuda feature, it says to report on the forum giving as much info needs to fix the issue.

Just trying to help make the best distro for this community :slight_smile:

Have you tried setting different cstates in your bios.

Sometimes different grub kernel boot parameters can help with sleep issues as well.

If it truly is a kernel bug that's really out of Garuda's hands, as Garuda has nothing to do with Linux kernel development.

From the Garuda Wiki article you linked:

Any software experiencing bugs that can not be resolved should be reported to its upstream project.

2 Likes

5.12.x is almost upon us (5.12.1 is currently in Arch testing). It will be worth checking whether there's a fix already present.

There was a recent bug report to do with linux-firmware. Is your system fully up-to-date?

2 Likes