Kernel modules again failed to load after update

manjaro /]# cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)

MODULES=(nvidia nvidia_drm nvidia_uvm nvidia_modeset)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap consolefont filesystems fsck"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
#COMPRESSION="zstd"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

No errors in installing nvidia that I could see…but I am a newbie.

its still the nvidia…
did you tried booting with both kernels, the 5.15 and the 6.1? (not the fallback ones, but the normal one)

That’s it! I wasn’t specifying the boot and didn’t see it was booting by default to linux61. When I booted from linux515, it worked like a charm! I tried 6.1 and it won’t.

How do I now fix this permanently?

i really dont know how, the only thing i can think of, is to add the ibt parameter, since you are using nvidia+intel, and the issue happens only on the newer kernels:
sudo nano /etc/default/grub
and inside this line: GRUB_CMDLINE_LINUX_DEFAULT inside the quotes add this parameter:
ibt=off
dont remove anything, just add it to existing parameters, save the file with ctrl+x, press Y, then enter;
update grub:
sudo update-grub

reboot and select the 6.1 kernel and see if you can boot with it

1 Like

Yes, that got 6.1 booting. I don’t know if it’s my imagination but it did seem to take longer to boot and feels slower. Could I delete 6.1 and use 5.15 as it is LTS?

ok, so the issue was the ibt parameter… at least we figured it out… yes you can if you wish, so boot with the 5.15 and remove the 6.1 from system settings, or:
sudo mhwd-kernel -r linux61

Amazing support. Thank you so much. One last thing: if I only use 515 as LTS, how to go back to skipping the advanced options for choosing what to boot ?

you mean you dont want the grub menu to be shown?
sudo nano /etc/default/grub
and edit this line to look like this:
GRUB_TIMEOUT_STYLE=hidden
save it with ctrl+x, press ā€˜y’, then enter;
update grub:
sudo update-grub

Thank you for the support and resolving the issue brilliantly.

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