Kernel modules again failed to load after update

edit your post and use proper formatting…

so lets reinstall nvidia + kernels, so remove nvidia:
mhwd -r pci video-nvidia-470xx
reinstall kernels:
pacman -S linux515 linux61
install nvidia back:
mhwd -i pci video-nvidia-470xx

enable early loading:
nano /etc/mkinitcpio.conf
and edit the MODULES section to look like this:

MODULES=(nvidia nvidia_drm nvidia_uvm nvidia_modeset)

save it with: ctrl+x, press ‘Y’, and update it:
mkinitcpio -P
if there are any errors from the commands post them here, if not, exit chroot and reboot

Apologies for the formatting. I tried but can’t always get it right, it seems. Let me come back to that after following your other instructions.

Getting stuck. Once I have edited the MODULES line in the nano editor, I press ctrl and x all fine, press y all fine , but how do I update it? Where does mkinitcpio -P come in? Is that the new name I must give the file? At the moment, i don’t know how to close the nano editor.

press ctrl+x, then press ‘Y’ and press enter, you should exit the editor, and then you run mkinitcpio -P from chroot

Apologies for the delayed response. Unfortunately the problem persists when I tried to reboot…
The only errors in the commands seemed to be this:

[manjaro /]# pacman -S linux515 linux61
warning: linux515-5.15.94-1 is up to date -- reinstalling
warning: linux61-6.1.12-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) linux515-5.15.94-1  linux61-6.1.12-1

Total Installed Size:  274.98 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
(2/2) loading package files                        [######################] 100%
(2/2) checking for file conflicts                  [######################] 100%
(2/2) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/2) reinstalling linux515                        [######################] 100%
(2/2) reinstalling linux61                         [######################] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.94-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
loadkeys: Unable to open file: za: No such file or directory
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.94-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
loadkeys: Unable to open file: za: No such file or directory
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64.img
==> Starting build: 6.1.12-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
loadkeys: Unable to open file: za: No such file or directory
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: 6.1.12-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
loadkeys: Unable to open file: za: No such file or directory
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64-fallback.img
==> Image generation successful
(4/5) Updating Kernel initcpios for Nvidia-DRM...
(5/5) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.

some error or spurious characters seems to have been introduced during editing of the file /etc/mkinitcpio.conf

I do not know whether that is critical - likely not.

Hi Nachlese

I will go back and do the process again,

post again logs, to see if its nvidia related:
journalctl -b-1 -p4 --no-pager
and also:
cat /etc/mkinitcpio.conf
and any errors during installing nvidia?

[manjaro /]# journalctl -b-1 -p4 --no-pager
Feb 23 08:10:15 manj-m6 kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
Feb 23 08:10:15 manj-m6 kernel: usb: port power management may be unreliable
Feb 23 08:10:15 manj-m6 kernel: nvme nvme0: missing or invalid SUBNQN field.
Feb 23 08:10:16 manj-m6 kernel: nvidia: loading out-of-tree module taints kernel.
Feb 23 08:10:16 manj-m6 kernel: nvidia: module license 'NVIDIA' taints kernel.
Feb 23 08:10:16 manj-m6 kernel: Disabling lock debugging due to kernel taint
Feb 23 08:10:16 manj-m6 kernel: 
Feb 23 08:10:16 manj-m6 kernel: traps: Missing ENDBR: _nv010986rm+0x0/0x10 [nvidia]
Feb 23 08:10:16 manj-m6 kernel: ------------[ cut here ]------------
Feb 23 08:10:16 manj-m6 kernel: kernel BUG at arch/x86/kernel/traps.c:255!
Feb 23 08:10:16 manj-m6 kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
Feb 23 08:10:16 manj-m6 kernel: CPU: 6 PID: 327 Comm: systemd-modules Tainted: P           OE      6.1.12-1-MANJARO #1 d419fb51ba9431ae2a4575820ea6b5b95f50a34f
Feb 23 08:10:16 manj-m6 kernel: Hardware name: Micro-Star International Co., Ltd. MS-7D46/PRO B660M-E DDR4 (MS-7D46), BIOS 2.00 12/27/2021
Feb 23 08:10:16 manj-m6 kernel: RIP: 0010:exc_control_protection+0xc2/0xd0
Feb 23 08:10:16 manj-m6 kernel: Code: fa ff 45 31 c9 49 89 d8 b9 09 00 00 00 48 8b 93 80 00 00 00 be fc 00 00 00 48 c7 c7 09 4e 44 b0 e8 c3 84 46 ff e9 64 ff ff ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 55 53 48 89
Feb 23 08:10:16 manj-m6 kernel: RSP: 0018:ffffb2c7425c3bf8 EFLAGS: 00010002
Feb 23 08:10:16 manj-m6 kernel: RAX: 0000000000000033 RBX: ffffb2c7425c3c18 RCX: 0000000000000027
Feb 23 08:10:16 manj-m6 kernel: RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8c54afba1660
Feb 23 08:10:16 manj-m6 kernel: RBP: 0000000000000003 R08: 0000000000000000 R09: ffffb2c7425c3a90
Feb 23 08:10:16 manj-m6 kernel: R10: 0000000000000003 R11: ffffffffb0ccc7e8 R12: 0000000000000000
Feb 23 08:10:16 manj-m6 kernel: R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Feb 23 08:10:16 manj-m6 kernel: FS:  00007f8359050080(0000) GS:ffff8c54afb80000(0000) knlGS:0000000000000000
Feb 23 08:10:16 manj-m6 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 23 08:10:16 manj-m6 kernel: CR2: 00007f83575f1000 CR3: 0000000103fec006 CR4: 0000000000f70ee0
Feb 23 08:10:16 manj-m6 kernel: PKRU: 55555554
Feb 23 08:10:16 manj-m6 kernel: Call Trace:
Feb 23 08:10:16 manj-m6 kernel:  <TASK>
Feb 23 08:10:16 manj-m6 kernel:  asm_exc_control_protection+0x26/0x30
Feb 23 08:10:16 manj-m6 kernel: RIP: 0010:_nv010986rm+0x0/0x10 [nvidia]
Feb 23 08:10:16 manj-m6 kernel: Code: 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 08 e8 77 e2 23 00 48 83 c4 08 48 89 c7 e9 bb ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 <48> 89 f7 e9 48 07 00 00 0f 1f 84 00 00 00 00 00 48 89 f7 e9 48 07
Feb 23 08:10:16 manj-m6 kernel: RSP: 0018:ffffb2c7425c3cc0 EFLAGS: 00010282
Feb 23 08:10:16 manj-m6 kernel: RAX: ffffffffc140fc80 RBX: ffffffffc312e580 RCX: 0000000000000000
Feb 23 08:10:16 manj-m6 kernel: RDX: 000000000003ac1f RSI: 0000000000000010 RDI: ffffffffc312e580
Feb 23 08:10:16 manj-m6 kernel: RBP: ffff8c514584dfe0 R08: ffffb2c7425c3c50 R09: ffffffffc312e5c0
Feb 23 08:10:16 manj-m6 kernel: R10: 0000000000000018 R11: 0000000000000000 R12: 0000000000000010
Feb 23 08:10:16 manj-m6 kernel: R13: ffff8c514584b000 R14: 00007f835985e343 R15: ffffb2c7425c3e30
Feb 23 08:10:16 manj-m6 kernel:  ? _nv035248rm+0x20/0x20 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  _nv010984rm+0x1c/0x70 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  _nv035249rm+0xe/0xa0 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  _nv035252rm+0x1d/0x30 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  _nv035254rm+0x2f/0x40 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  _nv016217rm+0x15/0x70 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  _nv000717rm+0x9/0x20 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  ? cdev_add+0x50/0x70
Feb 23 08:10:16 manj-m6 kernel:  rm_init_rm+0x17/0x50 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  nvidia_init_module+0x1ed/0x598 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  ? nvidia_init_module+0x598/0x598 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  nvidia_frontend_init_module+0x50/0x94 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  ? nvidia_init_module+0x598/0x598 [nvidia 06c5b31b70240a590a78ee399267912eeeb9e9e2]
Feb 23 08:10:16 manj-m6 kernel:  do_one_initcall+0x5a/0x220
Feb 23 08:10:16 manj-m6 kernel:  do_init_module+0x4a/0x1e0
Feb 23 08:10:16 manj-m6 kernel:  __do_sys_init_module+0x17f/0x1b0
Feb 23 08:10:16 manj-m6 kernel:  do_syscall_64+0x5c/0x90
Feb 23 08:10:16 manj-m6 kernel:  ? exc_page_fault+0x74/0x170
Feb 23 08:10:16 manj-m6 kernel:  entry_SYSCALL_64_after_hwframe+0x63/0xcd
Feb 23 08:10:16 manj-m6 kernel: RIP: 0033:0x7f8359321eee
Feb 23 08:10:16 manj-m6 kernel: Code: 48 8b 0d 85 ee 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 52 ee 0c 00 f7 d8 64 89 01 48
Feb 23 08:10:16 manj-m6 kernel: RSP: 002b:00007ffe0d034a08 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
Feb 23 08:10:16 manj-m6 kernel: RAX: ffffffffffffffda RBX: 000055fcea6962f0 RCX: 00007f8359321eee
Feb 23 08:10:16 manj-m6 kernel: RDX: 00007f835985e343 RSI: 00000000041d5500 RDI: 00007f835341c010
Feb 23 08:10:16 manj-m6 kernel: RBP: 00007f835985e343 R08: 000055fcea696540 R09: 0000000000001000
Feb 23 08:10:16 manj-m6 kernel: R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000020000
Feb 23 08:10:16 manj-m6 kernel: R13: 000055fcea696370 R14: 000055fcea6962f0 R15: 000055fcea6967a0
Feb 23 08:10:16 manj-m6 kernel:  </TASK>
Feb 23 08:10:16 manj-m6 kernel: Modules linked in: nvidia(POE+) snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel intel_rapl_msr soundwire_generic_allocation soundwire_cadence intel_rapl_common snd_sof_intel_hda snd_sof_pci intel_tcc_cooling snd_sof_xtensa_dsp x86_pkg_temp_thermal intel_powerclamp snd_sof coretemp snd_sof_utils snd_soc_hdac_hda kvm_intel snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi kvm soundwire_bus irqbypass snd_soc_core crct10dif_pclmul crc32_pclmul polyval_clmulni snd_compress snd_hda_codec_realtek vfat polyval_generic snd_hda_codec_generic ac97_bus gf128mul fat snd_pcm_dmaengine ghash_clmulni_intel ledtrig_audio snd_hda_codec_hdmi snd_hda_intel sha512_ssse3 aesni_intel snd_intel_dspcfg snd_intel_sdw_acpi crypto_simd snd_hda_codec cryptd rapl snd_hda_core intel_cstate iTCO_wdt snd_hwdep pmt_telemetry intel_pmc_bxt iTCO_vendor_support ee1004 pmt_class intel_uncore pcspkr snd_pcm mxm_wmi wmi_bmof snd_timer spi_nor i2c_i801 mei_me video snd e1000e mtd i2c_smbus mei
Feb 23 08:10:16 manj-m6 kernel:  soundcore intel_vsec serial_multi_instantiate wmi acpi_tad acpi_pad mac_hid crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid serio_raw atkbd libps2 nvme vivaldi_fmap nvme_core spi_intel_pci xhci_pci crc32c_intel spi_intel i8042 xhci_pci_renesas nvme_common serio
Feb 23 08:10:16 manj-m6 kernel: ---[ end trace 0000000000000000 ]---
Feb 23 08:10:16 manj-m6 kernel: RIP: 0010:exc_control_protection+0xc2/0xd0
Feb 23 08:10:16 manj-m6 kernel: Code: fa ff 45 31 c9 49 89 d8 b9 09 00 00 00 48 8b 93 80 00 00 00 be fc 00 00 00 48 c7 c7 09 4e 44 b0 e8 c3 84 46 ff e9 64 ff ff ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 55 53 48 89
Feb 23 08:10:16 manj-m6 kernel: RSP: 0018:ffffb2c7425c3bf8 EFLAGS: 00010002
Feb 23 08:10:16 manj-m6 kernel: RAX: 0000000000000033 RBX: ffffb2c7425c3c18 RCX: 0000000000000027
Feb 23 08:10:16 manj-m6 kernel: RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8c54afba1660
Feb 23 08:10:16 manj-m6 kernel: RBP: 0000000000000003 R08: 0000000000000000 R09: ffffb2c7425c3a90
Feb 23 08:10:16 manj-m6 kernel: R10: 0000000000000003 R11: ffffffffb0ccc7e8 R12: 0000000000000000
Feb 23 08:10:16 manj-m6 kernel: R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Feb 23 08:10:16 manj-m6 kernel: FS:  00007f8359050080(0000) GS:ffff8c54afb80000(0000) knlGS:0000000000000000
Feb 23 08:10:16 manj-m6 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 23 08:10:16 manj-m6 kernel: CR2: 00007f83575f1000 CR3: 0000000103fec006 CR4: 0000000000f70ee0
Feb 23 08:10:16 manj-m6 kernel: PKRU: 55555554
Feb 23 08:10:16 manj-m6 systemd[1]: systemd-modules-load.service: Main process exited, code=killed, status=11/SEGV
Feb 23 08:10:16 manj-m6 systemd[1]: systemd-modules-load.service: Failed with result 'signal'.
Feb 23 08:10:16 manj-m6 systemd[1]: Failed to start Load Kernel Modules.
Feb 23 08:10:17 manj-m6 kernel: kauditd_printk_skb: 96 callbacks suppressed
Feb 23 08:10:23 manj-m6 kernel: kauditd_printk_skb: 69 callbacks suppressed
Feb 23 08:10:32 manj-m6 kernel: [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:b4:b0:24:52:c9:13:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=91 PROTO=2 
Feb 23 08:12:37 manj-m6 kernel: [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:b4:b0:24:52:c9:13:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=146 PROTO=2 
Feb 23 08:13:17 manj-m6 systemd-udevd[401]: 0000:01:00.0: Worker [431] processing SEQNUM=3714 killed
Feb 23 08:14:42 manj-m6 kernel: [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:b4:b0:24:52:c9:13:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=160 PROTO=2 
Feb 23 08:15:10 manj-m6 systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount: Failed with result 'exit-code'.
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.