I get errors during and following following system update including kernel 6.13.1-zen3-1-zen (64bit)

Following the update, the rtl8852bu driver (from AUR) stopped working/was not installed for the new kernel, so I removed,reinstalled it to get the output from Add-Remove Software:

Preparing...
Cloning rtl8852bu-dkms-git build files...
Generating rtl8852bu-dkms-git information...
Checking rtl8852bu-dkms-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building rtl8852bu-dkms-git...
==> Making package: rtl8852bu-dkms-git 1.19.3.r9.e2c26e9-1 (Sun 09 Feb 2025 04:40:01 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found dkms.conf
  -> Updating rtl8852bu git repo...
==> Validating source files with sha256sums...
    dkms.conf ... Passed
    rtl8852bu ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of rtl8852bu git repo...
Cloning into 'rtl8852bu'...
done.
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "rtl8852bu-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rtl8852bu-dkms-git 1.19.3.r9.e2c26e9-1 (Sun 09 Feb 2025 04:40:06 AM EST)
==> Cleaning up...

Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Running pre-transaction hooks...
Rejecting pacman transaction if running in snapshot...
Performing snapper pre snapshots for the following configurations...
==> root: 109
Installing rtl8852bu-dkms-git (1.19.3.r9.e2c26e9-1)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Install DKMS modules
==> dkms install --no-depmod rtl8852bu/1.19.3.r9.e2c26e9 -k 6.13.1-zen3-1-zen

Error! Bad return status for module build on kernel: 6.13.1-zen3-1-zen (x86_64)
Consult /var/lib/dkms/rtl8852bu/1.19.3.r9.e2c26e9/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8852bu/1.19.3.r9.e2c26e9 -k 6.13.1-zen3-1-zen' exited 10
==> ERROR: Missing 6.13.1-arch2-1 kernel modules tree for module rtl8852bu/1.19.3.r9.e2c26e9.
Updating initramfs...
:: Building initramfs for linux-zen (6.13.1-zen3-1-zen)
Creating group 'nobody' with GID 65534.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'systemd-journal' with GID 983.
Creating user 'root' (Super User) with UID 0 and GID 0.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
:: Building fallback initramfs for linux-zen (6.13.1-zen3-1-zen)
Creating group 'nobody' with GID 65534.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'systemd-journal' with GID 983.
Creating user 'root' (Super User) with UID 0 and GID 0.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
Updating linux initcpios...
Foreign/AUR package notification
rtl8852bu-dkms-git 1.19.3.r9.e2c26e9-1
Orphaned package notification...
http-parser 2.9.4-2
lib32-libcanberra 1:0.30+r2+gc0620e4-3
libomxil-bellagio 0.9.3-5
opencv 4.11.0-2
python-qtpy 2.4.2-1
vorbis-tools 1.4.2-5
wpebackend-fdo 1.14.3-2
Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/issue.pacnew
/etc/locale.gen.pacnew
/etc/pacman.conf.pacnew
/etc/makepkg.conf.d/rust.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
/etc/updatedb.conf.pacsave
Please check and merge
Performing snapper post snapshots for the following configurations...
==> root: 110
Syncing all file systems...
Transaction successfully finished.

Running sudo dkms status returns:

nvidia/565.77: broken

Error! nvidia/565.77: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
nvidia/570.86.16, 6.13.1-zen3-1-zen, x86_64: installed
rtl8852bu/1.19.3.r9.e2c26e9: added

I can remove this package, and install the one from

GitHub - morrownr/rtl8852bu-20240418: Linux Driver for USB WiFi Adapters that are based on the RTL8832BU and RTL8852BU Chipsets - v1.19.14-127 - 20240418

and it installs and works as expected, so this isn’t a dkms issue. I suspect the issue is related to kernel 6.13.1-zen3-1 (64bit), but I cannot be sure because I know little about development/programming.

Output from running sudo garuda-inxi:

System:
  Kernel: 6.13.1-zen3-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: root=UUID=f2b6d210-fe7d-468c-9168-49e00bf58b74 rw
    rootflags=subvol=@ quiet loglevel=3 ibt=off intel_iommu=on iommu=pt
    initrd=@\boot\initramfs-linux-zen.img
  Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82AU v: Lenovo Legion 5 15IMH05
    serial: <filter> Chassis: type: 10 v: Lenovo Legion 5 15IMH05
    serial: <filter>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <filter>
    part-nu: LENOVO_MT_82AU_BU_idea_FM_Legion 5 15IMH05
    uuid: 50ef4d03-a18c-11eb-80ef-38f3ab90854a UEFI: LENOVO v: EFCN59WW
    date: 06/09/2023
Battery:
  ID-1: BAT0 charge: 55.2 Wh (95.0%) condition: 58.1/60.0 Wh (96.8%)
    volts: 17.0 min: 15.4 model: Celxpert L19C4PC0 type: Li-poly
    serial: <filter> status: not charging cycles: 14
CPU:
  Info: model: Intel Core i7-10750H socket: U3E1 bits: 64 type: MT MCP
    arch: Comet Lake gen: core 10 level: v3 note: check built: 2020
    process: Intel 14nm family: 6 model-id: 0xA5 (165) stepping: 2
    microcode: 0xFC
  Topology: cpus: 1x dies: 1 clusters: 6 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB
    desc: 6x256 KiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 4701 min/max: 800/5000 base/boost: 2475/5000 scaling:
    driver: intel_pstate governor: performance volts: 0.8 V ext-clock: 100 MHz
    cores: 1: 4701 2: 4701 3: 4701 4: 4701 5: 4701 6: 4701 7: 4701 8: 4701
    9: 4701 10: 4701 11: 4701 12: 4701 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 570.86.16 alternate: nouveau,nvidia_drm
    non-free: 550/565.xx+ status: current (as of 2025-01; EOL~2026-12-xx)
    arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 ports: active: none off: eDP-1
    empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
  Device-2: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:5 chip-ID: 5986:2137
    class-ID: 0e02
  Display: unspecified server: X.Org v: 24.1.5 with: Xwayland v: 24.1.5
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa
    gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95") monitors: <missing: xrandr>
  Monitor-1: eDP-1 model: BOE Display 0x0900 built: 2019 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm:
    drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.86.16 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
    memory: 3.91 GiB
  API: Vulkan v: 1.4.303 layers: 5 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1650 driver: N/A device-ID: 10de:1f99
    surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 19.1.7 256
    bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
    class-ID: 0403
  API: ALSA v: k6.13.1-zen3-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.2.7 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp7s0 state: down mac: <filter>
  Device-3: Realtek 802.11ax WLAN Adapter driver: N/A type: USB rev: 3.0
    speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 2-5:4 chip-ID: 0bda:b832
    class-ID: 0000 serial: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:7 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: disabled
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 2.29 TiB used: 60.81 GiB (2.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix
    model: HFM512GDHTNI-87A0B size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 11020C00 temp: 34.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD20SDZW-11JJ8S0 size: 1.82 TiB block-size: physical: 512 B
    logical: 512 B type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 1026 scheme: MBR
Partition:
  ID-1: / raw-size: 154.74 GiB size: 154.74 GiB (100.00%)
    used: 36.81 GiB (23.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p6
    maj-min: 259:6
  ID-2: /boot/efi raw-size: 2 GiB size: 2 GiB (99.80%) used: 46.8 MiB (2.3%)
    fs: vfat block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 74.73 GiB size: 74.73 GiB (100.00%)
    used: 23.96 GiB (32.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p7
    maj-min: 259:7
  ID-4: /var/log raw-size: 154.74 GiB size: 154.74 GiB (100.00%)
    used: 36.81 GiB (23.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p6
    maj-min: 259:6
  ID-5: /var/tmp raw-size: 154.74 GiB size: 154.74 GiB (100.00%)
    used: 36.81 GiB (23.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p6
    maj-min: 259:6
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.25 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 12
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p5 maj-min: 259:5
Sensors:
  System Temperatures: cpu: 53.0 C pch: 42.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.25 GiB used: 2.84 GiB (9.1%)
  Processes: 361 Power: uptime: 4m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.44 GiB services: org_kde_powerdevil,upowerd
    Init: systemd v: 257 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1492 libs: 435 tools: pamac,yay pm: flatpak
    pkgs: 0 Compilers: clang: 19.1.7 gcc: 14.2.1 Shell: garuda-inxi (sudo)
    default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.37
Garuda (2.6.26-1.1):
  System install date:     2025-01-10
  Last full system update: 2025-02-09
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Yes
  Failed units:

I hope something I provided here helps others discover what the issue is, and how to fix it,

Ernie

The package is usually at fault in these cases, not the kernel. The package has to keep up to date with new kernel releases:
https://aur.archlinux.org/packages/rtl8852bu-dkms-git

5 Likes

its like filo said.

Latest Comments

tollwitch commented on 2025-02-04 16:19 (UTC) (edited on 2025-02-04 18:10 (UTC) by tollwitch)

Heads up: This driver fails to build with kernel 6.13+ due to API changes.

Problem: - API change in set_monitor_channel function signature - Affects ASUS USB-AX56 Nano and other RTL8852BU devices

Workaround: 1. Stay on kernel 6.12.x (working with 6.12.10-arch1-1) 2. Wait for driver update!

Based on the responses I’ve received, I’ll keep using the driver from morrownr. It works, and is installed using dkms, so it’s automatically updated for new kernels. The only downside I see is the need to remove the current version to install a newer version/release, an infrequent issue.

Ernie

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