Page 1 of 1

AHS kernel 6.14.2x won't compile

Posted: Sun Apr 13, 2025 1:03 pm
by mxismythang
My PC received an update last night that failed on install. Unfortunately, I missed the initial error in the console before I closed the package updater, but I think it was likely the same as the output from my autoremove below:

Code: Select all

$ sudo apt autoremove 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-6.13.8-1-liquorix-amd64 linux-image-6.13.8-1-liquorix-amd64
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 312 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 457080 files and directories currently installed.)
Removing linux-headers-6.13.8-1-liquorix-amd64 (6.13-6~mx23ahs) ...
Removing linux-image-6.13.8-1-liquorix-amd64 (6.13-6~mx23ahs) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: openrazer-driver 3.5.1 (6.13.8-1-liquorix-amd64) (x86_64)
/usr/sbin/dkms.mx remove -m openrazer-driver -v 3.5.1 -k 6.13.8-1-liquorix-amd64 -a x86_64
Module openrazer-driver-3.5.1 for kernel 6.13.8-1-liquorix-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

razerkbd.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.13.8-1-liquorix-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

razermouse.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.13.8-1-liquorix-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

razerkraken.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.13.8-1-liquorix-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

razeraccessory.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.13.8-1-liquorix-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.13.8-1-liquorix-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found theme: /boot/grub/themes/mx_linux/theme.txt
Found linux image: /boot/vmlinuz-6.14.2-1-liquorix-amd64
Found linux image: /boot/vmlinuz-6.13.8-4-liquorix-amd64
Found initrd image: /boot/initrd.img-6.13.8-4-liquorix-amd64
Found linux image: /boot/vmlinuz-6.6.12-1-liquorix-amd64
Found initrd image: /boot/initrd.img-6.6.12-1-liquorix-amd64
Found mtest-64.efi image: /uefi-mt/mtest-64.efi
Found Windows Boot Manager on /dev/nvme0n1p2@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Setting up linux-image-6.14.2-1-liquorix-amd64 (6.14-3~mx23ahs) ...
I: /initrd.img is now a symlink to boot/initrd.img-6.14.2-1-liquorix-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.14.2-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.14.2-1-liquorix-amd64
Sign command: /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be sign
ed

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/6.14.2-1-liquorix-amd64/build make driver...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.14.2-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/openrazer-driver/3.5.1/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.14.2-1-liquorix-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.14.2-1-liquorix-amd64 (--configure):
 installed linux-image-6.14.2-1-liquorix-amd64 package post-installation script subprocess returned 
error exit status 1
Setting up linux-headers-6.14.2-1-liquorix-amd64 (6.14-3~mx23ahs) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.14.2-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.14.2-1-liquorix-amd64
Sign command: /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be sign
ed

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/6.14.2-1-liquorix-amd64/build make driver...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.14.2-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/openrazer-driver/3.5.1/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.14.2-1-liquorix-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.14.2-1-liquori
x-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.14.2-1-liquorix-amd64 (--configure):
 installed linux-headers-6.14.2-1-liquorix-amd64 package post-installation script subprocess returne
d error exit status 1
dpkg: dependency problems prevent configuration of linux-image-liquorix-amd64:
 linux-image-liquorix-amd64 depends on linux-image-6.14.2-1-liquorix-amd64 (= 6.14-3~mx23ahs); howev
er:
  Package linux-image-6.14.2-1-liquorix-amd64 is not configured yet.

dpkg: error processing package linux-image-liquorix-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-liquorix-amd64:
 linux-headers-liquorix-amd64 depends on linux-headers-6.14.2-1-liquorix-amd64 (= 6.14-3~mx23ahs); h
owever:
  Package linux-headers-6.14.2-1-liquorix-amd64 is not configured yet.

dpkg: error processing package linux-headers-liquorix-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.14.2-1-liquorix-amd64
 linux-headers-6.14.2-1-liquorix-amd64
 linux-image-liquorix-amd64
 linux-headers-liquorix-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
The only way I could get any kernel-related tasks to complete properly was to remove the 6.14.2x headers/image packages.

Now, it seems that the AHS liquorix pacakge is no longer installed, and if I attempt to reinstall it in the package manager, it attempts to install the 6.14.2x kernel again, which fails.

Is this related to a driver I am using that is incompatible with the 6.14 kernel, or is this a problem where this kernel wasn't ready for rollout yet?

Code: Select all

System:
  Kernel: 6.13.8-4-liquorix-amd64 [6.13-9~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/vmlinuz-6.13.8-4-liquorix-amd64
    root=UUID=<filter> ro quiet amdgpu.ppfeaturemask=0xffffffff init=/lib/systemd/systemd
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_ahs_x64 Libretto May 19  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: ASRock model: B650E Taichi serial: <superuser required> UEFI: American
    Megatrends LLC. v: 3.20 date: 02/21/2025
CPU:
  Info: model: AMD Ryzen 5 9600X bits: 64 type: MT MCP arch: N/A level: v4 note: check
    family: 0x1A (26) model-id: 0x44 (68) stepping: 0 microcode: 0xB404023
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 480 KiB
    desc: d-6x48 KiB; i-6x32 KiB L2: 6 MiB desc: 6x1024 KiB L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 2918 high: 3900 min/max: 3000/3900 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 3000 2: 2164 3: 2026 4: 2932 5: 3900 6: 3000
    7: 3000 8: 3000 9: 3000 10: 3000 11: 3000 12: 3000 bogomips: 93599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; STIBP: always-on;
    RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 48 [RX 9070/9070 XT] vendor: Gigabyte driver: amdgpu v: kernel pcie: gen: 5
    speed: 32 GT/s lanes: 16 ports: active: DP-1 empty: DP-2, HDMI-A-1, HDMI-A-2, Writeback-1
    bus-ID: 03:00.0 chip-ID: 1002:7550 class-ID: 0300
  Device-2: AMD Granite Ridge [Radeon Graphics] vendor: ASRock driver: amdgpu v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-3, DP-4, DP-5, HDMI-A-3,
    Writeback-2 bus-ID: 4f:00.0 chip-ID: 1002:13c0 class-ID: 0300 temp: 44.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: amdgpu
    dri: swrast gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: DP-1 mapped: DisplayPort-0 model: Acer XF250Q serial: <filter> built: 2018
    res: 1920x1080 dpi: 90 gamma: 1.2 size: 544x303mm (21.42x11.93") diag: 623mm (24.5") ratio: 16:9
    modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.5 Mesa 24.2.8-1mx23ahs renderer: llvmpipe (LLVM 15.0.6 256 bits)
    direct-render: Yes
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel pcie: bus-ID: 5-1.4:3 gen: 5 chip-ID: 0951:16c4
    speed: 32 GT/s class-ID: 0300 lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab40 class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 4f:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: Kingston HyperX Cloud Flight Wireless Headset type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  API: ALSA v: k6.13.8-4-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active 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: Realtek Killer E3000 2.5GbE vendor: ASRock driver: r8169 v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: a000 bus-ID: 49:00.0 chip-ID: 10ec:3000 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: br-f482fa0006b3 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IF-ID-3: veth0255321 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-4: veth34f0835 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-5: vethb98bcec state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-6: vetheebc50c state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-7: virbr0 state: down mac: <filter>
  IF-ID-8: virbr1 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4.4:9
    chip-ID: 2550:8761 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
  Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park
    link-mode: peripheral accept
Drives:
  Local Storage: total: 1.6 TiB used: 662.81 GiB (40.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 37.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:10 vendor: Samsung model: MZVLW256HEHP-000H1 size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: CXB73H1Q temp: 39.9 C scheme: GPT
  ID-3: /dev/nvme2n1 maj-min: 259:1 vendor: Samsung model: SSD 970 EVO Plus 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 2B2QEXM7 temp: 45.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 36.77 GiB size: 35.9 GiB (97.62%) used: 21.8 GiB (60.7%) fs: ext4
    dev: /dev/dm-0 maj-min: 253:0 mapped: luks-<filter>
  ID-2: /boot raw-size: 1.05 GiB size: 1022.5 MiB (95.20%) used: 271.8 MiB (26.6%) fs: ext4
    dev: /dev/nvme0n1p5 maj-min: 259:3
  ID-3: /boot/efi raw-size: 100 MiB size: 98.4 MiB (98.45%) used: 411 KiB (0.4%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:2
  ID-4: /home raw-size: 893.56 GiB size: 878.46 GiB (98.31%) used: 640.74 GiB (72.9%) fs: ext4
    dev: /dev/dm-1 maj-min: 253:1 mapped: luks-<filter>
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 49.2 C mobo: 35.5 C
  Fan Speeds (RPM): N/A
  GPU: device: amdgpu temp: 44.0 C device: amdgpu temp: 49.0 C mem: 71.0 C watts: 26.00
Repos:
  Packages: 2912 pm: dpkg pkgs: 2877 libs: 1536 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 35
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/docker.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb [signed-by=/etc/apt/keyrings/mx23-archive-keyring.gpg] http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
    2: deb [signed-by=/etc/apt/keyrings/mx23-archive-keyring.gpg] http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/nordvpn-keyring.gpg] https://repo.nordvpn.com/deb/nordvpn/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/polychromatic.list
    1: deb [signed-by=/usr/share/keyrings/polychromatic.gpg] http://ppa.launchpad.net/polychromatic/stable/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
    1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources
    1: deb [arch=amd64 arm64] https://repo.librewolf.net librewolf main
Info:
  Processes: 424 Uptime: 22m wakeups: 0 Memory: 30.44 GiB used: 3.37 GiB (11.1%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: AHS kernel 6.14.2x won't compile  [Solved]

Posted: Sun Apr 13, 2025 1:23 pm
by dolphin_oracle
the problem is the open-razer driver. it apparently does not build on the 6.14 kernel.

Re: AHS kernel 6.14.2x won't compile

Posted: Sun Apr 13, 2025 1:36 pm
by timkb4cq
open-razer released a new version yesterday that should work.
https://github.com/openrazer/openrazer/ ... ag/v3.10.2

Re: AHS kernel 6.14.2x won't compile

Posted: Sun Apr 13, 2025 6:13 pm
by Stevo
It's already in Sid, let's see how that backports.

Code: Select all

openrazer (3.10.2+dfsg-1) unstable; urgency=medium

  * New upstream version 3.10.2+dfsg
    - Fix security issue: potential out of bounds read in matrix_custom_frame.
      See: GHSA-835j-6976-46jx

 -- Dylan Aïssi <daissi@debian.org>  Sat, 12 Apr 2025 11:42:11 +0200

Re: AHS kernel 6.14.2x won't compile

Posted: Sun Apr 13, 2025 6:47 pm
by Stevo
Well, it backports poorly so far, but IDK whether that's because of usrmerge and udev files, or what. MX 25 trixie builds fail, FWIW.