Can't boot with kernels >5.15

I have a Dell G15 5511 laptop with dual graphics card (nvidia-intel)

When i try to switch another kernel via Manjaro Settings Manager, everything goes well until i try to boot with new kernel. It stucks at boot, can’t jump into userspace. Last visible error on boot is:

Failed to start Load Kernel Modules

Here is my configuration:

inxi -G
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] driver: nvidia
    v: 525.60.11
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
    dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz 2: 1920x1080~120Hz
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel UHD Graphics (TGL GT1)
mhwd -l -d --pci
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0300:10de:25a2)
  Display controller nVidia Corporation GA107M [GeForce RTX 3050 Mobile]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:        video-hybrid-intel-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-modesetting
   ATTACHED:    PCI
   VERSION:     2020.01.13
   INFO:        X.org modesetting video driver.
   PRIORITY:    1
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 



  > AVAILABLE:

   NAME:        video-hybrid-intel-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-hybrid-intel-nvidia-470xx-prime
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    7
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-nvidia
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Closed source NVIDIA drivers for linux.
   PRIORITY:    5
   FREEDRIVER:  false
   DEPENDS:     -
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:        video-nvidia-470xx
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Closed source NVIDIA drivers for linux.
   PRIORITY:    4
   FREEDRIVER:  false
   DEPENDS:     -
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 

   NAME:        video-modesetting
   ATTACHED:    PCI
   VERSION:     2020.01.13
   INFO:        X.org modesetting video driver.
   PRIORITY:    1
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

   NAME:        video-vesa
   ATTACHED:    PCI
   VERSION:     2017.03.12
   INFO:        X.org vesa video driver.
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:1d.5/0000:04:00.0 (0200:10ec:8168)
  Network controller Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
--------------------------------------------------------------------------------
  > AVAILABLE:

   NAME:        network-r8168
   ATTACHED:    PCI
   VERSION:     2016.04.20
   INFO:        RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0200 
   VENDORIDS:   1186 10ec 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:9a60)
  Display controller Intel Corporation TigerLake-H GT1 [UHD Graphics]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:        video-hybrid-intel-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-modesetting
   ATTACHED:    PCI
   VERSION:     2020.01.13
   INFO:        X.org modesetting video driver.
   PRIORITY:    1
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 



  > AVAILABLE:

   NAME:        video-hybrid-intel-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-hybrid-intel-nvidia-470xx-prime
   ATTACHED:    PCI
   VERSION:     2021.11.04
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    7
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 

   NAME:        video-modesetting
   ATTACHED:    PCI
   VERSION:     2020.01.13
   INFO:        X.org modesetting video driver.
   PRIORITY:    1
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

   NAME:        video-vesa
   ATTACHED:    PCI
   VERSION:     2017.03.12
   INFO:        X.org vesa video driver.
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   *

I rebooted with my working kernel again and started to dig in:

sudo journalctl -p 3 -x -b -1
Oca 22 20:35:13 ArchDell kernel: 
Oca 22 20:35:13 ArchDell kernel: traps: Missing ENDBR: _nv012292rm+0x0/0x10 [nvidia]
Oca 22 20:35:13 ArchDell kernel: kernel BUG at arch/x86/kernel/traps.c:255!
Oca 22 20:35:13 ArchDell systemd[1]: Failed to start Load Kernel Modules.
░░ Subject: A start job for unit systemd-modules-load.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-modules-load.service has finished with a failure.
░░ 
░░ The job identifier is 7 and the job result is failed.
Oca 22 20:35:14 ArchDell kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02

Then i check the current journal:

sudo journalctl -x -b -u systemd-modules-load.service
Oca 22 20:35:52 ArchDell systemd-modules-load[373]: Inserted module 'crypto_user'
Oca 22 20:35:53 ArchDell systemd-modules-load[373]: Inserted module 'nvidia'
Oca 22 20:35:53 ArchDell systemd-modules-load[373]: Inserted module 'nvidia_drm'
Oca 22 20:35:54 ArchDell systemd-modules-load[373]: Inserted module 'nvidia_uvm'
Oca 22 20:35:54 ArchDell systemd-modules-load[373]: Inserted module 'uinput'
Oca 22 20:35:54 ArchDell systemd[1]: Finished Load Kernel Modules.
░░ Subject: A start job for unit systemd-modules-load.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-modules-load.service has finished successfully.
░░ 
░░ The job identifier is 57.

And compared it with early boot:

sudo journalctl -x -b -1 -u systemd-modules-load.service
Oca 22 20:35:11 ArchDell systemd-modules-load[354]: Inserted module 'crypto_user'
Oca 22 20:35:13 ArchDell systemd[1]: systemd-modules-load.service: Main process exited, code=killed, status=11/SEGV
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ An ExecStart= process belonging to unit systemd-modules-load.service has exited.
░░ 
░░ The process' exit code is 'killed' and its exit status is 11.
Oca 22 20:35:13 ArchDell systemd[1]: systemd-modules-load.service: Failed with result 'signal'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ The unit systemd-modules-load.service has entered the 'failed' state with result 'signal'.
Oca 22 20:35:13 ArchDell systemd[1]: Failed to start Load Kernel Modules.
░░ Subject: A start job for unit systemd-modules-load.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-modules-load.service has finished with a failure.
░░ 
░░ The job identifier is 7 and the job result is failed.
Oca 22 20:35:13 ArchDell systemd[1]: systemd-modules-load.service: Consumed 1.258s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ The unit systemd-modules-load.service completed and consumed the indicated resources.

and i discovered nvidia module insertion failed.

i checked installed packages for nvidia:

pac -Ss nvidia | grep installed
extra/egl-wayland 2:1.1.11-2 [installed]
extra/libvdpau 1.5-1 [installed]
extra/libxnvctrl 525.60.11-4 [installed]
extra/linux515-nvidia 525.60.11-6 (linux515-extramodules) [installed]
extra/linux61-nvidia 525.60.11-2 (linux61-extramodules) [installed]
extra/mhwd-nvidia 525.60.11-2 [installed]
extra/mhwd-nvidia-390xx 390.157-1 [installed]
extra/mhwd-nvidia-470xx 470.161.03-1 [installed]
extra/nvidia-prime 1.0-4 [installed]
extra/nvidia-utils 525.60.11-2 [installed]
multilib/lib32-libvdpau 1.5-1 [installed]
multilib/lib32-nvidia-utils 525.60.11-1 [installed]

and for kernel

core/linux-api-headers 5.18.15-1 [installed]
core/linux-firmware 20221214.f3c283e-1 [installed]
core/linux-firmware-bnx2x 20221214.f3c283e-1 [installed]
core/linux-firmware-qlogic 20221214.f3c283e-1 [installed]
core/linux-firmware-whence 20221214.f3c283e-1 [installed]
core/linux515 5.15.85-1 [installed]
core/linux61 6.1.1-1 [installed]
core/linux61-headers 6.1.1-1 [installed]
core/util-linux 2.38.1-1 [installed]
core/util-linux-libs 2.38.1-1 [installed]
extra/linux515-nvidia 525.60.11-6 (linux515-extramodules) [installed]
extra/linux515-rtl8723bu 20220818-23 (linux515-extramodules) [installed]
extra/linux61-nvidia 525.60.11-2 (linux61-extramodules) [installed]
extra/linux61-rtl8723bu 20220818-2 (linux61-extramodules) [installed]

What am i missing? Why can’t i run with kernel version 6.1.1-1 and 6.0.15-1 ?

Note: Currently running 5.15.85-1


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

you are probably missing the ibt=off parameter:

Yes, it worked, thank you, another reason to hate intel :slight_smile:

LOL… another reason to hate nvidia. xD If the nvidia driver would be open source, then there would be no need to disable ibt. The reason why it failed is that the nvidia driver is unsigned xD

intel CPU is rejecting to execute it… If you dig some, there is no problem in AMD such that…

…for well known reason. Before blaming, read this: Indirect branch tracking for Intel CPUs [LWN.net]

I asked openai and it says:

Indirect branch tracking is a feature on some Intel CPUs that helps make sure the computer runs smoothly and quickly. It does this by keeping track of where the computer is going next when it is running different programs.

The benefit of this feature is that it can make your computer run faster and smoother. However, sometimes when you have a certain type of computer graphics driver installed, like the NVIDIA driver, it can cause problems and make your computer not start up properly, like when you try to boot up Linux. This is because the computer gets confused and doesn’t know where to go next.

Imagine you are playing a game of hide and seek and you are trying to find your friends. Indirect branch tracking is like a helper who tells you where your friends went next so you can find them faster. But sometimes, the helper gives you the wrong directions and you can’t find your friends, just like how Linux doesn’t start up properly when the NVIDIA driver is installed.

:laughing:

They already have open source drivers and it’s already fixed with them. The issue will also be resolved with the proprietary drivers soon :tm:.

1 Like

I already researched about IFT before your post, don’t worry. However it is a polish and they are causing trouble to people because of that polish. I don’t like this kind of imposition so it is not a blaming, it is a reaction. I am using linux more than 22 years and due to my experiences, believe me, intel’s hands are dirtier than nvidia.

Closed source nvidia driver is not a force of nvidia, it is my decision. Nvidia’s graphics cards are more than a graphic card and i can understand them why they hide some of their code. I dont promote them but i can understand their reason.

However there is no explanation for Intel’s that imposition.

Anyway, intel or nvidia, i am not “fan” of neither of them. But i struggled much intel’s these kind of dirty approaches in the past.

So thats why another reason to hate intel…

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