How to fix "Failed to start Load Kernel Modules" error and complete full system upgrade?

Hello dear all,

The question is coming from a complete newbie corner, so please forgive me if I ask dumb questions :roll_eyes:

  • I’ve tried to do a full system upgrade on a laptop which I was not using for quite a while, using sudo pacman -Syu.
  • Upgrade failed (please refer to a screenshot).
  • I’ve made slight attempt to delete this python thingy package (so that I could get rid of this issue), but after seeing that pacman itself depends on it, I hesitated to do so
  • Also, I forgot to plugin my charger so laptop did shutdown quite abruptly. After turning it back on I’ve bumped into an issue - it cannot fully start, it fails with [FAILED] Failed to start Load Kernel Modules
  • Thankfully, I was able to login using terminal (by pressing ctrl+alt+f2) and get some system information (please refer below)
  • After some googling and inspecting journalctl -b 0 output, I’ve bumped into some complaints regarding nvidia. So I decided to delete packages (see screenshot on this as well), but it seemed to make things only worse as now I don’t even see “Failed to start Load Kernel Modules” error in console, only MSI logo remains on the screen.
  • But I still was able to get to a console by doing ctrl+alt+f2 and get another output of journalctl -b 0, please see below as well

At this point I decided to stop any further attempts while I’m able to get to a console :angel:

I’m hoping you could help me achieve 2 things, would really appreciate it:

  1. Fix system start - so it actually starts so I can get to GUI
  2. Solve this package dependency issues and finish full system upgrade

Please help and also please let me know if there is some additional information I can provide

p.s. While googling I’ve bumped into journalctl -b 0 command, hopefully it will help to diagnose an issue (yes, there is some personal information disclosed, hopefully no harm could come out of it). I’ve found those Load Kernel Modules errors there, but couldn’t understand how to fix them…

Attachment: First system upgrade failure:

Attachment: inxi --admin --verbosity=7 --filter --no-host --width output:

System:
  Kernel: 5.4.72-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=f03a99b3-8753-47be-a685-ef1b6a432e9b rw quiet 
  resume=UUID=7dc4c251-fe04-4b4d-9cc1-b11c968ffb08 
  Console: tty 2 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Micro-Star product: GT72S 6QF v: REV:1.0 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: Micro-Star model: MS-1783 v: REV:1.0 serial: <filter> 
  UEFI: American Megatrends v: E1783IMS.11D date: 10/14/2016 
Battery:
  ID-1: BAT1 charge: 6.3 Wh condition: 8.6/86.6 Wh (10%) volts: 12.2/11.1 
  model: MSI BIF0_9 type: Li-ion serial: N/A status: Charging 
Memory:
  RAM: total: 31.32 GiB used: 257.4 MiB (0.8%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Topology: Quad Core model: Intel Core i7-6820HK bits: 64 type: MT MCP 
  arch: Skylake-S family: 6 model-id: 5E (94) stepping: 3 microcode: D6 
  L2 cache: 8192 KiB bogomips: 43214 
  Speed: 800 MHz min/max: 800/3600 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 5: 800 6: 800 7: 802 8: 800 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr hle ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good rtm sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds status: Vulnerable: No microcode 
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:
  Device-1: NVIDIA GM204M [GeForce GTX 980 Mobile] vendor: Micro-Star MSI 
  driver: N/A alternate: nouveau, nvidia_drm, nvidia bus ID: 01:00.0 
  chip ID: 10de:161a 
  Display: server: X.org 1.20.9 driver: nvidia tty: 240x67 
  Message: Advanced graphics data unavailable in console. Try -G --display 
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  chip ID: 8086:a170 
  Device-2: NVIDIA GM204 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fbb 
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 1-1.3:6 chip ID: 046d:0825 serial: <filter> 
  Sound Server: ALSA v: k5.4.72-1-MANJARO 
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter 
  vendor: Bigfoot Networks driver: ath10k_pci v: kernel port: d000 
  bus ID: 03:00.0 chip ID: 168c:003e 
  IF: wlp3s0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet 
  vendor: Micro-Star MSI driver: alx v: kernel port: c000 bus ID: 05:00.0 
  chip ID: 1969:e0a1 
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-3: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb 
  bus ID: 1-10:5 chip ID: 0cf3:e300 
  WAN IP: <filter> 
Drives:
  Local Storage: total: 1.03 TiB used: 489.06 GiB (46.5%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVPV128HDGM-00000 
  size: 119.24 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: BXW7300Q scheme: GPT 
  ID-2: /dev/nvme1n1 vendor: Samsung model: MZVPV128HDGM-00000 
  size: 119.24 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: BXW7300Q scheme: GPT 
  ID-3: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 4B6Q scheme: GPT 
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: BD-RE BU20N rev: 1.00 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / raw size: 112.88 GiB size: 110.61 GiB (97.99%) 
  used: 66.47 GiB (60.1%) fs: ext4 dev: /dev/nvme1n1p2 label: N/A 
  uuid: f03a99b3-8753-47be-a685-ef1b6a432e9b 
  ID-2: /boot/efi raw size: 512.0 MiB size: 511.0 MiB (99.80%) 
  used: 292 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 label: N/A uuid: A6BA-85CA 
  ID-3: /mnt/drive_d raw size: 673.18 GiB size: 673.18 GiB (100.00%) 
  used: 364.40 GiB (54.1%) fs: ntfs dev: /dev/sda5 label: DATA2 
  uuid: 3C9263A95FF7EC53 
  ID-4: /mnt/ssd2 raw size: 119.24 GiB size: 119.24 GiB (100.00%) 
  used: 58.19 GiB (48.8%) fs: ntfs dev: /dev/nvme0n1p1 label: SSD2 
  uuid: 7DB9C20A1176736A 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 5.86 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme1n1p3 label: N/A uuid: 7dc4c251-fe04-4b4d-9cc1-b11c968ffb08 
Unmounted:
  ID-1: /dev/sda1 size: 128.0 MiB fs: <superuser/root required> label: N/A 
  uuid: N/A 
  ID-2: /dev/sda2 size: 300.0 MiB fs: vfat label: SYSTEM uuid: 76E9-4C21 
  ID-3: /dev/sda3 size: 237.18 GiB fs: ntfs label: OS_Install 
  uuid: 4ED85E1BCBD7F987 
  ID-4: /dev/sda4 size: 900.0 MiB fs: ntfs label: WinRE tools 
  uuid: 39A9C41A8F60D8B6 
  ID-5: /dev/sda6 size: 19.85 GiB fs: ntfs label: BIOS_RVY 
  uuid: 7FA52BEB1EBA3F15 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Hub: 1-1:2 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  chip ID: 0bda:5411 
  Device-1: 1-1.2:4 info: Logitech M-U0007 [Corded Mouse M500] type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s 
  chip ID: 046d:c069 
  Device-2: 1-1.3:6 info: Logitech Webcam C270 type: Video,Audio 
  driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s 
  chip ID: 046d:0825 serial: <filter> 
  Device-3: 1-1.4:7 info: SiGma Micro Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  chip ID: 1c4f:0026 
  Device-4: 1-7:3 info: MSI steel series rgb keyboard type: HID driver: usbhid 
  interfaces: 1 rev: 1.1 speed: 12 Mb/s chip ID: 1770:ff00 serial: <filter> 
  Device-5: 1-10:5 info: Qualcomm Atheros QCA61x4 Bluetooth 4.0 
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  chip ID: 0cf3:e300 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 10 rev: 3.0 speed: 5 Gb/s 
  chip ID: 1d6b:0003 
  Hub: 2-2:2 info: Realtek Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip ID: 0bda:0411 
Sensors:
  System Temperatures: cpu: 69.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 179 Uptime: 1m Init: systemd v: 246 Compilers: gcc: 10.2.0 
  clang: 10.0.1 Packages: pacman: 1410 lib: 400 flatpak: 0 Shell: Bash 
  v: 5.0.18 running in: tty 2 inxi: 3.1.05 

Attachment: Part of the journalctl -b 0 after first failed boot which I think is relevant

Oct 17 19:42:31 sergey-pc kernel: nvidia: disagrees about version of symbol module_layout
Oct 17 19:42:31 sergey-pc kernel: usb 1-1.3: New USB device found, idVendor=046d, idProduct=0825, bcdDevice= 0.10
Oct 17 19:42:31 sergey-pc kernel: usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=2
Oct 17 19:42:31 sergey-pc kernel: usb 1-1.3: SerialNumber: 1B125350
Oct 17 19:42:31 sergey-pc systemd-modules-load[281]: Failed to insert module 'nvidia': Exec format error
Oct 17 19:42:31 sergey-pc systemd[1]: Finished Flush Journal to Persistent Storage.
Oct 17 19:42:31 sergey-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 19:42:31 sergey-pc kernel: audit: type=1130 audit(1634488951.468:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 19:42:31 sergey-pc systemd[1]: Started Rule-based Manager for Device Events and Files.
Oct 17 19:42:31 sergey-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 19:42:31 sergey-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-lvmetad comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 19:42:31 sergey-pc systemd[1]: Started LVM2 metadata daemon.
Oct 17 19:42:31 sergey-pc kernel: audit: type=1130 audit(1634488951.484:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 19:42:31 sergey-pc kernel: audit: type=1130 audit(1634488951.484:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-lvmetad comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 19:42:31 sergey-pc systemd-modules-load[281]: Failed to insert module 'nvidia_drm': Exec format error
Oct 17 19:42:31 sergey-pc kernel: nvidia: disagrees about version of symbol module_layout
Oct 17 19:42:31 sergey-pc systemd-modules-load[281]: Inserted module 'uinput'
Oct 17 19:42:31 sergey-pc kernel: fbcon: Taking over console
Oct 17 19:42:31 sergey-pc kernel: audit: type=1130 audit(1634488951.544:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Oct 17 19:42:31 sergey-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Oct 17 19:42:31 sergey-pc systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 19:42:31 sergey-pc systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Oct 17 19:42:31 sergey-pc systemd[1]: Failed to start Load Kernel Modules.

Deletion of nvidia packages:

Attachment: Part of the journalctl -b 0 after deletion of nvidia packages which I think is relevant

Oct 17 20:25:25 sergey-pc systemd-modules-load[275]: Failed to find module 'nvidia'
Oct 17 20:25:25 sergey-pc systemd-modules-load[275]: Failed to find module 'nvidia-drm'

if you can boot on USB manjaro live or if you can get TTY on your system

for chroot open a terminal and a browser on this topic

sudo manjaro-chroot -a
pacman -Syy ( check network is ok )
pacman -Rs lib32-libcanberra libcanberra
pacman -Sy pacman ( upgrade first pacman )
pacman -Syyu

if all mkinicpio ok ( no error )
exit (end chroot ) 

if you have a fail in mkinitcpio DO NOT REBOOT
return all errors message here

According to the system upgrade log, have a look here:

Looks like your video drivers are broken, and you are affecting them outside of mhwd.

Please list, remove, reinstall drivers as needed.

Information can be found on the forums and the wiki such as here:
https://wiki.manjaro.org/index.php?title=Manjaro_Hardware_Detection_Overview

@cscs @megavolt your replies helped to solve the issue :man_dancing:. I used these steps to recover my system:

  1. I did pamac update which first complained about yaourt but I removed it as suggested by pamac, and in the end it worked and my system was updated to the latest state (no more complaints on python thingy)
  2. Then I’ve installed mhwd and other nvidia packages that I’ve removed (refer to a screenshot in the post)

After that system starts as expected and I’m writing this from it. Thank you guys!!

p.s. @stephane I was too scared to run suggested commands :slight_smile: But anyways thank you for willingness to help

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