Can't upgrade kernel

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
linexer2016
Posts: 733
Joined: Thu Dec 15, 2016 8:15 pm

Can't upgrade kernel

#1 Post by linexer2016 »

I am currently running 6.5 and would like to add at least another kernel. Unfortunately, every time I try a new kernel I get almost there and the build fails. The issue appears to be to do with wifi drivers or amd graphics cards that are not on my system and curiously perhaps, this seems to me to be the reason the kernel install fails. Not only that, if I sometimes do a sudo apt && update and sudo apt-dist upgrade, the whole thing fails again. Upon reboot, I am left with a none graphical interface (not able to boot into the system proper). My only resort has been to then do a Timeshift restore. Here's the QSI.

Code: Select all

Snapshot created on: 20250323_2155
System:
  Kernel: 6.5.0-1mx-ahs-amd64 [6.5.3-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-1mx-ahs-amd64 root=UUID=<filter> ro quiet
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.3_ahs_x64 Libretto October 15  2023 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Desktop Mobo: Micro-Star model: B550M PRO-VDH WIFI (MS-7C95) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 2.F0 date: 05/18/2023
CPU:
  Info: model: AMD Ryzen 5 5500 bits: 64 type: MT MCP arch: Zen 3 gen: 4 level: v3 note: check
    built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000D
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 2099 high: 4242 min/max: 400/4267 scaling: driver: amd-pstate-epp
    governor: powersave cores: 1: 400 2: 2995 3: 4242 4: 2992 5: 400 6: 400 7: 2994 8: 400 9: 400
    10: 3332 11: 3267 12: 3369 bogomips: 86235
  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: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: safe RET, no microcode
  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: Retpolines, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 24 [Radeon RX 6400/6500 XT/6500M] vendor: Gigabyte driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: HDMI-A-1 empty: DP-1 bus-ID: 12:00.0 chip-ID: 1002:743f class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1080 s-dpi: 96 s-size: 677x285mm (26.65x11.22") s-diag: 735mm (28.92")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: LG (GoldStar) ULTRAWIDE serial: <filter>
    built: 2014 res: 2560x1080 hz: 60 dpi: 81 gamma: 1.2 size: 798x334mm (31.42x13.15")
    diag: 869mm (34.2") modes: max: 2560x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 24.2.2-1~mx23ahs renderer: AMD Radeon RX 6500 XT (radeonsi navi24 LLVM
    15.0.6 DRM 3.54 6.5.0-1mx-ahs-amd64) direct-render: Yes
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.1
    chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.5.0-1mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: off with: 1: pipewire-pulse status: off 2: wireplumber
    status: off tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: mt7921e v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 29:00.0 chip-ID: 14c3:0616 class-ID: 0280
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 2a:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-3: Edimax AC600 USB type: USB driver: rtl88XXau bus-ID: 3-1.3:4 chip-ID: 7392:a812
    class-ID: 0000 serial: <filter>
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: wg0-mullvad state: unknown speed: 10000 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: MediaTek Wireless_Device type: USB driver: btusb v: 0.8 bus-ID: 1-9:4
    chip-ID: 0e8d:0616 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: N/A rfk-block: hardware: no
    software: no address: <filter>
  Info: acl-mtu: 0:0 sco-mtu: 0:0 link-mode: peripheral accept
Drives:
  Local Storage: total: 1.36 TiB used: 87.14 GiB (6.2%)
  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: 4B2QEXM7 temp: 31.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Crucial model: CT500P3P SSD8 size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1.00 scheme: GPT
Partition:
  ID-1: / raw-size: 465.26 GiB size: 456.89 GiB (98.20%) used: 87.14 GiB (19.1%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 428 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 50 (default 100)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 37.6 C mobo: N/A gpu: amdgpu temp: 43.0 C mem: 46.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
  Packages: pm: dpkg pkgs: 2359 libs: 1232 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/brostrend.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates non-free-firmware non-free contrib main
  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
  No active apt repos in: /etc/apt/sources.list.d/google-chrome.list
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mullvad.list
    1: deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=amd64] https://repository.mullvad.net/deb/stable bookworm main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb https://mxrepo.com/mx/repo/ bookworm ahs
Info:
  Processes: 310 Uptime: 35m wakeups: 1 Memory: 31.23 GiB used: 1.96 GiB (6.3%) Init: SysVinit
  v: 3.06 runlevel: 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

User avatar
DukeComposed
Posts: 1485
Joined: Thu Mar 16, 2023 1:57 pm

Re: Can't upgrade kernel

#2 Post by DukeComposed »

linexer2016 wrote: Tue May 20, 2025 2:50 am I am currently running 6.5 and would like to add at least another kernel. Unfortunately, every time I try a new kernel I get almost there and the build fails.
Unless you're customizing something specific, you shouldn't need to build a new kernel. Debian and MX both provide a number of pre-compiled kernels that are useful across a number of different circumstances.

If you're building a custom kernel from source, then you must first be familiar with the relevant parts of the Debian Linux Kernel Handbook and follow it precisely.

If you're not compiling a kernel from source then there's a chance that one or more of the DKMS modules that needs to get rebuilt every time you add a new kernel may have an error, but you've failed to state which DKMS module, if any, that might be.

You haven't given any error messages, provided no steps you've taken to reproduce the problem, and, indeed, haven't even described what your end goal of having another kernel is.

User avatar
linexer2016
Posts: 733
Joined: Thu Dec 15, 2016 8:15 pm

Re: Can't upgrade kernel

#3 Post by linexer2016 »

Thanks DC. Well, I was trying a new kernel only because my primary problem resides in every time I try to do a full upgrade it fails due to error messages that pertain to amdgpu graphics etc. I thought if I upgrade the kernel this might alleviate/eliminate the problem but alas I can't upgrade or add any kernels at all. This seems to me to be the main issue, i.e., those pesky amdgpu graphics firmwares that try to and fail to upgrade and then the whole upgrade process stalls.

User avatar
j2mcgreg
Global Moderator
Posts: 7074
Joined: Tue Oct 23, 2007 12:04 pm

Re: Can't upgrade kernel

#4 Post by j2mcgreg »

linexer2016 wrote: Tue May 20, 2025 5:19 am Thanks DC. Well, I was trying a new kernel only because my primary problem resides in every time I try to do a full upgrade it fails due to error messages that pertain to amdgpu graphics etc. I thought if I upgrade the kernel this might alleviate/eliminate the problem but alas I can't upgrade or add any kernels at all. This seems to me to be the main issue, i.e., those pesky amdgpu graphics firmwares that try to and fail to upgrade and then the whole upgrade process stalls.
Those AMD firmware failures is just a list of AMD kit that you don't have and they can be ignored. Whenever I do a kernel upgrade, there's always a 3 - 4 minute pause near the end while some background processes are being run. Maybe you're not waiting long enough?
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
siamhie
Global Moderator
Posts: 3650
Joined: Fri Aug 20, 2021 5:45 pm

Re: Can't upgrade kernel

#5 Post by siamhie »

j2mcgreg wrote: Tue May 20, 2025 7:05 am
linexer2016 wrote: Tue May 20, 2025 5:19 am Thanks DC. Well, I was trying a new kernel only because my primary problem resides in every time I try to do a full upgrade it fails due to error messages that pertain to amdgpu graphics etc. I thought if I upgrade the kernel this might alleviate/eliminate the problem but alas I can't upgrade or add any kernels at all. This seems to me to be the main issue, i.e., those pesky amdgpu graphics firmwares that try to and fail to upgrade and then the whole upgrade process stalls.
Those AMD firmware failures is just a list of AMD kit that you don't have and they can be ignored. Whenever I do a kernel upgrade, there's always a 3 - 4 minute pause near the end while some background processes are being run. Maybe you're not waiting long enough?
My amdgpu list keeps getting longer with each newer kernel. This is from my 6.14.7 kernel recently. :rofl:

Code: Select all

Setting up linux-image-6.14.7-x64v3-xanmod1 (6.14.7-x64v3-xanmod1-0~20250518.g3b4359e) ...
dkms: running auto installation service for kernel 6.14.7-x64v3-xanmod1.
/usr/sbin/dkms.mx autoinstall --kernelver 6.14.7-x64v3-xanmod1
dkms: autoinstall for kernel: 6.14.7-x64v3-xanmod1
.
update-initramfs: Generating /boot/initrd.img-6.14.7-x64v3-xanmod1
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_4_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_4_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_1_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_1_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_0_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_14_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_14_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_12_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_12_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_6_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_6_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_11_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_11_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_10_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_10_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_3_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_3_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_2_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_2_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_4_sjt_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_3_sjt_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_5_0_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_4_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_3_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_5_0_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_4_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_3_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_2_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_1_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_0_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_2_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_2_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_2_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_2_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_1_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_1_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_1_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_1_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_0_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_0_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_0_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_0_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_rlc_1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_4_4_5.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_4_4_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_1_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_1_1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_1_0.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_0_3.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_7_0_1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_7_0_0.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_2_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_2_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_1_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_1_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_0_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_5_0_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_4_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_1_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_mes_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_uni_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_1_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_uni_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_12_0_0_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_5_0_1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_5_0_0.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_4_0_6_1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_4_0_6.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_4_0_5.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_4_0_3.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vpe_6_1_3.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vpe_6_1_1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vpe_6_1_0.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/umsch_mm_4_0_0.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_10.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_14.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_6.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_14_0_3.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_14_0_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_4_0_1_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_5_1_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_5_dmcub.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/sdb2
I: (UUID=17dafcf4-ae90-45fb-a9e8-d1091c55ee25)
I: Set the RESUME variable to override this.
Generating grub configuration file ...
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Stevo
Developer
Posts: 14775
Joined: Fri Dec 15, 2006 7:07 pm

Re: Can't upgrade kernel

#6 Post by Stevo »

Hmm, my list got shorter after adding the newer firmware-amd-graphics in AHS. This is with the 6.14.7 Liquorix kernel...maybe it depends on the GPU.

OP, have you used MX Cleanup to remove your unused wi-fi drivers? You don't need any of those with that Mediatek chipset. And can you give an example of what versions of kernels you are trying to install, and how?

Code: Select all

Removing broadcom-sta-dkms (6.30.223.271-26~mx23ahs) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.14.7-1-liquorix-amd64
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_12_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_12_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_5_0_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_5_0_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_5_0_1.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/nvme0n1p3
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
linexer2016
Posts: 733
Joined: Thu Dec 15, 2016 8:15 pm

Re: Can't upgrade kernel

#7 Post by linexer2016 »

Thanks everyone for your thoughts on this. Yes Stevo, I have used cleanup to no avail. I have just one kernel and that worries me if ever Timeshift can't assist with a crash (it always has thus far thankfully). JCM, I've certainly given it ample time to complete but that doesn't appear to be the issue because it fails with a message to consult the log and then one has to close the routine. I suspect if it's not the amdgpu things then perhaps it's the mediatek. I will run an upgrade again now and see if I can capture any further info of relevance. Thanks again to all. And also Ste vo I will try to get rid of the unused drivers you've suggested too.

User avatar
linexer2016
Posts: 733
Joined: Thu Dec 15, 2016 8:15 pm

Re: Can't upgrade kernel

#8 Post by linexer2016 »

Stevo, here's the output after trying to clean wifi drivers (the kernel is the only one so no action to remove unused kernels).
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'rtl8812au-dkms' is not installed, so not removed
Package 'rtl8814au-dkms' is not installed, so not removed
Package 'rtl8821au-dkms' is not installed, so not removed
Package 'rtl8821cu-dkms' is not installed, so not removed
Package 'rtl8821ce-dkms' is not installed, so not removed
Package 'broadcom-sta-dkms' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 287 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 287 not upgraded.
Press any key to close

User avatar
linexer2016
Posts: 733
Joined: Thu Dec 15, 2016 8:15 pm

Re: Can't upgrade kernel

#9 Post by linexer2016 »

Ok here's what I tried (and have tried many times over last few months) and what has failed.
1. I've tried (various including liqorix kernels) and each time all appears to go more or less as expected EXCEPT for error message(s) pertaining to either the amdgpu or mediatek drivers.
2. Upon reboot I end up with a non-graphical screen from where my only option has been to run Timeshift (good old Timeshift to the rescue). Timeshift enables me to get back to where I started (i.e., before the kernel upgrade attempt).

So, I am left with a system that whilst performs aok I can't upgrade my kernel or install any additional kernels (I'd like to because it's desirable IMO to have more than one kernel on your system in case of some catastrophic failure that even Timeshift can't help).
As it stands and notwithstanding using cleanup, deleting any unused realtek or mediatek drivers, I will have to resign myself to the status quo.

User avatar
siamhie
Global Moderator
Posts: 3650
Joined: Fri Aug 20, 2021 5:45 pm

Re: Can't upgrade kernel

#10 Post by siamhie »

linexer2016 wrote: Tue May 20, 2025 2:50 am if I sometimes do a sudo apt && update and sudo apt-dist upgrade, the whole thing fails again.
Try this instead

Code: Select all

sudo apt update && sudo apt upgrade 
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

Post Reply

Return to “MX Help”