After the last update, some kernels do not boot, while others work

The last update on the notebook breaks something.

mhwd-kernel -li
Currently running: 6.0.19-4-MANJARO (linux60)
The following kernels are installed in your system:
   * linux515
   * linux60
   * linux61

I can boot with 5.15 and 6.0.
the 6.1 give me only the Medion bootsplash, sometimes additionally a mouse cursor.
I updated the pacman mirrors, made a pacman -Syyu, reinstalled kernel 6.1 and “update-grub”. That gives me:

GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/manjaro/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-6.1-x86_64
initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-6.0-x86_64
initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-6.0-x86_64.img
Found initrd fallback image: /boot/initramfs-6.0-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.16-x86_64
initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-5.16-x86_64.img
Found initrd fallback image: /boot/initramfs-5.16-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.15-x86_64
initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober ausgeführt.
Dessen Ausgabe wird zur Erkennung bootfähiger Programmdateien und Erzeugen neuer Boot-Einträge verwendet.
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
abgeschlossen

It seems there is another kernel 5.16 and 6.1 is broken or something weird.

inxi -Fazy
System:
  Kernel: 6.0.19-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=ea7fd4c6-296a-44c1-b785-cb93db3068a5 ro quiet apparmor=1
    security=apparmor resume=UUID=787dcb01-88f7-4bf1-9050-6b53ab0018f0
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: MEDION product: S17405 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: MEDION model: M17T serial: <superuser required> UEFI: American
    Megatrends LLC. v: 208 date: 11/19/2020
Battery:
  ID-1: BAT0 charge: 25.3 Wh (68.8%) condition: 36.8/41.6 Wh (88.4%)
    volts: 11.5 min: 11.4 model: M173137 type: Li-ion serial: N/A
    status: discharging
CPU:
  Info: model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xAA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 2110 high: 2400 min/max: 400/4200 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2400 2: 2400 3: 2400
    4: 2400 5: 1284 6: 2400 7: 1201 8: 2400 bogomips: 38720
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  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_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 IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: MEDION AG
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:9a49 class-ID: 0300
  Device-2: Chicony USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:4 chip-ID: 04f2:b5c6
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0x429d built: 2018 res: 1920x1080
    hz: 60 dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.0.4 renderer: Mesa Intel Xe Graphics (TGL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: MEDION AG
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  API: ALSA v: k6.0.19-4-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.70 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
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: 3-10:5 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 334.25 GiB (70.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Phison model: E12-512G-SSD-B16-07
    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: ECFM22.7 temp: 25.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 459.72 GiB size: 451.43 GiB (98.20%)
    used: 334.24 GiB (74.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.93 GiB used: 7.5 MiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 234 Uptime: 18m wakeups: 1485 Memory: available: 15.37 GiB
  used: 2.69 GiB (17.5%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1581 libs: 465 tools: pamac pm: flatpak pkgs: 0 Shell: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.27

Any ideas?

6.0 is EOL …

So get into 5.15 and remove it.

sudo mhwd-kernel -r linux60

You want to remove that 5.16 stuff too.
Maybe check

pacman -Qs linux5

sudo mkinitcpio -P && sudo update-grub
sometimes may help,
AND:
cscs is right…
Remember: use at least two kernels as before.
I am running either 6.1 or 6.3

Hi,

sorry I’m a bit late…
Thanks for the answers!

The issue is still here.

I removed the 6.1 and 6.0 kernel.
The system says there’s only 5.15.

mhwd-kernel -li
Currently running: 5.15.114-2-MANJARO (linux515)
The following kernels are installed in your system:
   * linux515

In boot menue is still the 5.16
If i try to boot 5.16 I get this (screenshot bad quality, sorry)

I think there is some old stuff from 5.16, but:

sudo pacman -Qs linux5
local/linux515 5.15.114-2
    The Linux515 kernel and modules
local/linux515-virtualbox-host-modules 7.0.8-11 (linux515-extramodules)
    Virtualbox host kernel modules for Manjaro Kernel

I did sudo mkinitcpio -P && sudo update-grub but nothing changed.

You can also use maxi -eg

to collect information about the boot process. This works,

  • when you are in your running system (with CTRL+ALT+F2).
  • And also in a live environment

Did you already search :mag: the forum for the error message you got ?

with bootable Kernel 5.15:

maxi -eg
Currently running: 5.15.114-2-MANJARO (linux515)
Info about: /etc/default/grub
 Please update grub.cfg:/boot/initramfs-5.16-x86_64.img <is older than> /etc/default/grub
 GRUB_DEFAULT              =saved
 GRUB_TIMEOUT              =5
 GRUB_TIMEOUT_STYLE        =menu
 GRUB_DISTRIBUTOR          ="Manjaro"
 GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor resume=UUID=787dcb01-88f7-4bf1-9050-6b53ab0018f0 udev.log_priority=3"
 GRUB_CMDLINE_LINUX        =""
 GRUB_SAVEDEFAULT          =true
 GRUB_PRELOAD_MODULES      ="part_gpt part_msdos"
 GRUB_THEME                ="/usr/share/grub/themes/manjaro/theme.txt"
 GRUB_DISABLE_OS_PROBER    =false
Info about: efi bootloaders
 /boot/grub/x86_64-efi/grub.efi 148K
 /boot/grub/x86_64-efi/core.efi 148K
Info about: efi vars (needs efibootmgr)
 Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)                                           
 Boot0001* Manjaro              HD(1,GPT,3ed2e355-08f1-d34d-9c75-bd7b23061adc,0x1000,0x96000) \EFI\MANJARO\GRUBX64.EFI
 Boot0007* UEFI OS              HD(1,GPT,3ed2e355-08f1-d34d-9c75-bd7b23061adc,0x1000,0x96000) \EFI\BOOT\BOOTX64.EFI

With not existing Kernel 5.16

maxi.eg 
Currently running: 5.16.18-1-MANJARO (linux516)
Info about: /etc/default/grub
 Please update grub.cfg:/boot/initramfs-5.16-x86_64.img <is older than> /etc/default/grub
 GRUB_DEFAULT              =saved
 GRUB_TIMEOUT              =5
 GRUB_TIMEOUT_STYLE        =menu
 GRUB_DISTRIBUTOR          ="Manjaro"
 GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor resume=UUID=787dcb01-88f7-4bf1-9050-6b53ab0018f0 udev.log_priority=3"
 GRUB_CMDLINE_LINUX        =""
 GRUB_SAVEDEFAULT          =true
 GRUB_PRELOAD_MODULES      ="part_gpt part_msdos"
 GRUB_THEME                ="/usr/share/grub/themes/manjaro/theme.txt"
 GRUB_DISABLE_OS_PROBER    =false
Info about: efi bootloaders
 /boot/grub/x86_64-efi/grub.efi 148K
 /boot/grub/x86_64-efi/core.efi 148K
Info about: efi vars (needs efibootmgr)
 Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)                                           
 Boot0001* Manjaro              HD(1,GPT,3ed2e355-08f1-d34d-9c75-bd7b23061adc,0x1000,0x96000) \EFI\MANJARO\GRUBX64.EFI
 Boot0007* UEFI OS              HD(1,GPT,3ed2e355-08f1-d34d-9c75-bd7b23061adc,0x1000,0x96000) \EFI\BOOT\BOOTX64.EFI

And

maxi -v
Currently running: 5.16.18-1-MANJARO (linux516)
 linux515 vmlinuz-5.15-x86_64 initramfs-5.15-x86_64.img=8,3M fallback=33M kver:5.15.

Kernel 5.16 is also EOL and needs to be removed.

I know this, but it can’t be removed. The system can’t see it.

Then you can remove the not working kernel manually.

I’m guessing it might still be in /boot/ and possibly some other places.

I had written a script at one point looking for modules and some other kernel lint for some other purpose … but it might work nicely here to find traces of the 5.16 kernel…

#!/usr/bin/env bash
gcspt=$(find /boot/ -type f -name grub.cfg);
initz=$(find /boot/ -type f -name 'initramfs*' | sort); 
imgz=$(find /boot/ -type f -name 'vmlinuz*' | sort); 
modz=$(find /lib/modules/ -maxdepth 1 -type d | sort);
mkinitz=$(find /etc/ -type f -name 'mkinitcpio*' 2>/dev/null | sort); 
mkinitzd=$(find /etc/mkinitcpio.d -type f | sort); 
printf '\n...Bite-Sized Boot-Info...\n'; 
printf "\nCurrently Running Kernel:\n$(hostnamectl | tail -n6 | head -n1 | awk '{ print $NF }')\n"; 
printf '\nGrub Configuration File:\n';
echo $gcspt | while read in; do ls -l --time-style=+'%F %R' "$in" | cut --complement -d ' ' -f1,2,3,4,5; done | column -t;
printf '\nInstalled Kernels:\n';
echo "$imgz" | while read in; do ls -l --time-style=+'%F %R' "$in" | cut --complement -d ' ' -f1,2,3,4,5; done | column -t; 
printf '\nInitramfs Images:\n'; 
echo "$initz" | while read in; do ls -l --time-style=+'%F %R' "$in" | cut --complement -d ' ' -f1,2,3,4,5; done | column -t;
printf '\nmkinitcpio:\n';
echo "$mkinitz" | while read in; do ls -l --time-style=+'%F %R' "$in" | cut --complement -d ' ' -f1,2,3,4,5; done | column -t;
echo "$mkinitzd" | while read in; do ls -l --time-style=+'%F %R' "$in" | cut --complement -d ' ' -f1,2,3,4,5; done | column -t;
printf '\nModule Directories:\n'; 
for i in $modz; do du --time --time-style=+'%F %R' -sh $i; done | awk '{print $2,$3,$4,$1}' | column -t; 
printf '\nHibernation:\n'; grep -o 'resume=' /etc/default/grub || printf 'No "resume=" option found in /etc/default/grub\n\n'

Just save the text as a file, ex: gcspt.sh
Then mark it executable:

chmod +x gcspt.sh

And run:

./gcspt.sh

It should print information including a number of paths.

Have you tried
sudo mhwd -r linux516

This suggests that the grub.cfg is not up to date.

Perhaps the grub.cfg file taken to boot is not the one currently seen at /boot/grub?

Are there multiple installations of Linux on the machine?
Have partitions been cloned?
Was the fstab changed recently?


Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information.
  1. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
sudo inxi --admin --verbosity=7 --filter --no-host --width
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

Sorry again for the long time. But this one seems to be the last.

Today I run the updater again. this seems to fix something.
The new 6.3 kernel boots fine, the 5.15 still boots.

@cscs
Nice script.
I deleted all 5.16 (and some other) files.
There are no wrong kernels show anymore.

straycat

Have you tried
sudo mhwd -r linux516

For sure… doesen’t work

andreas85Contributor

Perhaps the grub.cfg file taken to boot is not the one currently seen at /boot/grub?

Are there multiple installations of Linux on the machine?
Have partitions been cloned?
Was the fstab changed recently?

There are no other installations, it’s Manjaro only.
It was a clean install, ~2 years ago.
I added a nfs drive… probably unrealated

Thanks for all helpers!

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