Page 1 of 1
Can't upgrade kernel
Posted: Tue May 20, 2025 2:50 am
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
Re: Can't upgrade kernel
Posted: Tue May 20, 2025 3:08 am
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.
Re: Can't upgrade kernel
Posted: Tue May 20, 2025 5:19 am
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.
Re: Can't upgrade kernel
Posted: Tue May 20, 2025 7:05 am
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?
Re: Can't upgrade kernel
Posted: Tue May 20, 2025 10:29 am
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.
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 ...
Re: Can't upgrade kernel
Posted: Tue May 20, 2025 7:26 pm
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
Re: Can't upgrade kernel
Posted: Wed May 21, 2025 3:09 am
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.
Re: Can't upgrade kernel
Posted: Wed May 21, 2025 3:12 am
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
Re: Can't upgrade kernel
Posted: Wed May 21, 2025 5:55 am
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.
Re: Can't upgrade kernel
Posted: Wed May 21, 2025 7:27 am
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
Re: Can't upgrade kernel
Posted: Wed May 21, 2025 10:59 am
by Stevo
That looks OK for the wi-fi, but those "287 not upgraded yet" is not good.
I'd sure like to see the terminal output of the attempted upgrade. Those firmware messages are not errors, just harmless warnings. Note that there's a "W" for warning for each, not "E".
You appear to have a combined root and home partition, so there's lots of free space.
Re: Can't upgrade kernel
Posted: Wed May 21, 2025 11:04 am
by Stevo
Also, which kernel are you trying to add? Another user reported that the latest 6.1.0-35 from Debian required "nowatchdog" be added to the boot options in order to boot.
Re: Can't upgrade kernel
Posted: Thu May 22, 2025 5:24 am
by linexer2016
siamhie wrote: Wed May 21, 2025 7:27 am
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
Will do and report accordingly thanks S.
Re: Can't upgrade kernel
Posted: Thu May 22, 2025 5:27 am
by linexer2016
Stevo wrote: Wed May 21, 2025 11:04 am
Also, which kernel are you trying to add? Another user reported that the latest 6.1.0-35 from Debian required "nowatchdog" be added to the boot options in order to boot.
Stevo,
I have tried various kernels all resulting in issues that manifest with a non-graphical boot necessitating as I've mentioned, a Timeshift restore.
I note your nowatchdog suggestion and will also try that and let you know how I go.
Re: Can't upgrade kernel
Posted: Thu May 22, 2025 5:29 am
by linexer2016
Stevo wrote: Wed May 21, 2025 10:59 am
That looks OK for the wi-fi, but those "287 not upgraded yet" is not good.
I'd sure like to see the terminal output of the attempted upgrade. Those firmware messages are not errors, just harmless warnings. Note that there's a "W" for warning for each, not "E".
You appear to have a combined root and home partition, so there's lots of free space.
Stevo,
I'd sure like to give you the entire terminal output (how would you suggest I do that?). In regards to the combined root and home partition, when I set the system up I just followed the auto partitioning so never really got a chance to alter that. Now it is in place and to take advantage of the lots of free space, any suggestions on how to proceed would be welcome.
Re: Can't upgrade kernel
Posted: Thu May 22, 2025 5:46 am
by linexer2016
Hello again all,
Well, I've tried siamie's suggestion of sudo apt ... etc ... I believe I'd tried that before siamhie but what you were suggesting was probably in response to a typo I'd made earlier.
Anyway, on this occasion (and this has happened before) all the 287 not upgrade were upgraded however, the whole process reaches a conclusion with the following ...
W: Possible missing firmware /lib/firmware/amdgpu/hainan_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/oland_k_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/oland_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/verde_k_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/verde_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/pitcairn_k_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/pitcairn_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/tahiti_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_dmcu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/raven_dmcu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_2_1_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_2_0_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_1_6_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_1_5_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_1_4_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/yellow_carp_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/beige_goby_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dimgrey_cavefish_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_dmcub.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/renoir_dmcub.bin for module amdgpu
...
And this is now before I reboot and fully expecting a non-graphical boot up and having then to resort to Timeshift. I will try the nowatchdog switch at boot up but I'm not sure it will fix the non-graphical interface. What happens (if past performance is any guide at least) is my bootup screens are in a lower res than normal and then stalls at the command line from where I have to invoke Timeshift.
Re: Can't upgrade kernel
Posted: Mon May 26, 2025 2:43 am
by linexer2016
Well I'm afraid I'm left in the awkward position of not being able to do a conventional/routine apt update/upgrade. This is because each time something that appears to be connected with the aforementioned missing firmware and/or the mediatek or realtek drivers, the system once rebooted loses its normal resolution and in fact won't boot into the graphical xfce environment. This of course means I have to then resort to Timeshift from the command line which succeeds in getting me back to the GUI but sans the upgrades I had intended. The only way I can upgrade is to judiciously select from mxpi pertinent upgrades (firefox et al) and stay away from anything that wants to build a new header, kernel or init.
There's been no further posts other than this my latest in this thread so if noone else has anything to contribute I will shortly close the thread. Wish there was an unresolved flag or at least a resolved flag as the solved flag isn't always appropriate.
Re: Can't upgrade kernel
Posted: Mon May 26, 2025 3:02 am
by Eadwine Rose
There is a new one now, 37, I upgraded to that without issues.
Your upgrade takes place in Synaptic or MXPI, you can run it again and get the terminal output from there.
Re: Can't upgrade kernel
Posted: Mon May 26, 2025 4:33 am
by linexer2016
Well ER, the contagion if I may call it that has now spread to a second platform where I run MX. Using the mxpi and just selecting upgradable packages (four were there) yielded that plethora of warnings about amdgpu files and an upgrade of the initramfs. Upon reboot I'm left at the command line and having (again) to resort to Timeshift. There must be something contained in the upgrade process that causes this but darned if I can determine what it is. Here's the output of the latest routine and I've edited for brevity the full missing firmware list which is extensive on this platform at least ...
update-initramfs: Generating /boot/initrd.img-6.5.0-1mx-ahs-amd64
W: Possible missing firmware /lib/firmware/radeon/R520_cp.bin for module radeon
W: Possible missing firmware /lib/firmware/radeon/RS600_cp.bin for module radeon...
Re: Can't upgrade kernel
Posted: Mon May 26, 2025 4:57 am
by linexer2016
I should add in here the QSI for this second platform. Now, through a process of elimination, it appears to me that whenever a new init is built the problem occurs. On this occasion the file that caused the collapse was intel-microcode.
Code: Select all
Snapshot created on: 20231112_1649
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
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.3_ahs_x64 Libretto October 15 2023 base: Debian GNU/Linux
12 (bookworm)
Machine:
Type: Desktop System: Dell product: Vostro 410 v: N/A serial: <superuser required> Chassis:
type: 3 serial: <superuser required>
Mobo: Dell model: 0J584C v: A00 serial: <superuser required> BIOS: Dell v: 1.0.3
date: 06/20/2008
CPU:
Info: model: Intel Core2 Quad Q9300 bits: 64 type: MCP arch: Penryn level: v1 built: 2008
process: Intel 45nm family: 6 model-id: 0x17 (23) stepping: 7 microcode: 0x70A
Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
L2: 6 MiB desc: 2x3 MiB
Speed (MHz): avg: 1995 high: 1998 min/max: 1998/2498 scaling: driver: acpi-cpufreq
governor: ondemand cores: 1: 1995 2: 1995 3: 1998 4: 1995 bogomips: 19949
Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] vendor: ASUSTeK driver: radeon
v: kernel alternate: amdgpu arch: TeraScale-2 code: Evergreen process: TSMC 32-40nm
built: 2009-15 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports: active: HDMI-A-1
empty: DVI-D-1,VGA-1 bus-ID: 01:00.0 chip-ID: 1002:6779 class-ID: 0300 temp: 48.0 C
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: radeon
unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon 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: HDMI-A-1 mapped: HDMI-0 model: LG (GoldStar) FULL HD built: 2016 res: 1920x1080
hz: 60 dpi: 102 gamma: 1.2 size: 480x270mm (18.9x10.63") diag: 551mm (21.7") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: OpenGL v: 4.5 Mesa 24.2.8-1mx23ahs renderer: AMD CAICOS (DRM 2.50.0 / 6.5.0-1mx-ahs-amd64
LLVM 15.0.6) direct-render: Yes
Audio:
Device-1: Intel 82801I HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:293e class-ID: 0403
Device-2: AMD Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM R5 230/235/235X OEM]
vendor: ASUSTeK EAH6450 SILENT/DI/1GD3 driver: snd_hda_intel v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aa98 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: active with: 1: pipewire-pulse status: active
2: wireplumber status: active tools: pw-cat,pw-cli,wpctl
Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse) tools: pacat,pactl,pavucontrol
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Dell RTL8111/8168/8411 driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: ce00 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Realtek 802.11ac WLAN Adapter type: USB driver: rtl8852bu bus-ID: 3-4:2
chip-ID: 0bda:b832 class-ID: 0000 serial: <filter>
IF: wlan0 state: up mac: <filter>
IF-ID-1: wg0-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Drives:
Local Storage: total: 111.8 GiB used: 10.75 GiB (9.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WDS120G2G0A-00JH30 size: 111.8 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 0000
scheme: MBR
Partition:
ID-1: / raw-size: 23.27 GiB size: 22.74 GiB (97.71%) used: 10.75 GiB (47.3%) fs: ext4
dev: /dev/sda4 maj-min: 8:4
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 50 (default 100)
ID-1: swap-1 type: file size: 862 MiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
System Temperatures: cpu: 42.0 C mobo: N/A gpu: radeon temp: 48.5 C
Fan Speeds (RPM): N/A
Repos:
Packages: pm: dpkg pkgs: 2207 libs: 1103 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brostrend.list
1: deb https://linux.brostrend.com stable main previous
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/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/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 http://mirror.datamossa.io/mxlinux/mx/repo/ bookworm main non-free
2: deb http://mirror.datamossa.io/mxlinux/mx/repo/ bookworm ahs
Info:
Processes: 225 Uptime: 1m wakeups: 0 Memory: 2.9 GiB used: 1.21 GiB (41.8%) 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: BIOS (legacy, CSM, MBR)