You are not logged in.

#1 2018-03-10 09:55:49

HeindT19921216
Member
Registered: 2018-03-10
Posts: 4

[SOLVED] Kernel Modules Failure at Startup

Hello,

Yesterday I was trying to 'fix' my Linux:
While running  $pacman -Syu  it kept asking me if I wanted to replace a bunch of *proto files for one xorg file.
I basically followed the following forum: https://bbs.archlinux.org/viewtopic.php?id=234361.
In a nutshell-> I deleted libxfont. Manually installed libxfont2. Also changed SigLevel = Required DatabaseOptional to SigLevel = Never in pacman.conf

After running $pacman -Syu once again, everything updated without any hitches and all was right with the world. I then proceeded to turn off my laptop...

Only to find this mess this morning when I started it back up again:
Loading Kernel Module Failure SnapShot

I then ran the  $systemctl status systemd-modules-load.service   and found that it failed to find the alias of crypto_user .
crypto_user is found inside bluez.conf inside my /usr/lib/modules-load.d/ directory. (/etc/modules-load.d is empty).

__ALSO__
No peripheral devices (Second Screen, keyboard, mouse etc.) are detected and working.

pacman -Syu / -S * does not work at all. It keeps throwing a long list for each Mirror saying:
error: failed retrieving file 'multilib.db' from mirror.whatever: Could not resolve host: mirror.whatever

startx for gnome also does not work and outputs te following:
startx(xorg) Terminal Output

If anyone can, please help me resolve these issues. I really need this laptop!
Thank you.

Last edited by HeindT19921216 (2018-03-11 14:59:32)

Offline

#2 2018-03-10 10:46:16

jbreizh
Member
Registered: 2012-10-20
Posts: 44

Re: [SOLVED] Kernel Modules Failure at Startup

Hello,

First thought  : Look in /var/log/pacman.log if something went wrong

Second thought  : have you done a kernel upgrade during this last upgrade. Maybe the kernel install went wrong, so try to reinstall the linux package.


I say that because yesterday i had a different problem, pacman bug in the middle of a big upgrade (with kernel upgrade) because of retroarch package (maybe i need to investgate) and don't do post install hook. Immediatly my computer crash, so you can imagine the next boot was epic.
Luckily i was able to boot in rescue mode (edit the linux line in grub by adding systemd.unit=rescue.target ) and the linux package was in cache (no module so no network). So in did a pacman -S --force linux to reinstall the kernel and redo the post install hook. After that my pc was able to boot gnome with network and i had to reinstall manually all the package left unconfigure.

Different story but you have one big luck visibly : a bash acces !!! saving you a chroot.

good luck

Offline

#3 2018-03-10 12:50:10

seth
Member
Registered: 2012-09-03
Posts: 65,801

Re: [SOLVED] Kernel Modules Failure at Startup

Welcome to the forum.
You're running the 4.10.10 kernel - you probably forgot to mount the /boot partition during the update and are now running a kernel much different than the installed one.

Also please replace the oversized images with thumbnails or link (see the forum stickes)

Offline

#4 2018-03-10 13:50:09

HeindT19921216
Member
Registered: 2018-03-10
Posts: 4

Re: [SOLVED] Kernel Modules Failure at Startup

seth wrote:

Welcome to the forum.
You're running the 4.10.10 kernel - you probably forgot to mount the /boot partition during the update and are now running a kernel much different than the installed one.
Also please replace the oversized images with thumbnails or link (see the forum stickes)

Thanks man. Will do.

You are absolutley right -> uname -r & pacman -Q linux are not the same.
Can you tell me how I can rectify this mistake?
Is there any way I can do it without having to create a liveUSB and using chroot to mount the /boot and then run the pacman update again? (If that would even work)

Thanks again!

Offline

#5 2018-03-10 13:52:34

seth
Member
Registered: 2012-09-03
Posts: 65,801

Re: [SOLVED] Kernel Modules Failure at Startup

If you can still boot the kernel (eg. using the fallback initramfs) - otherwise you'll have to do it offline, see https://wiki.archlinux.org/index.php/Pa … _rebooting

Offline

#6 2018-03-10 15:52:06

HeindT19921216
Member
Registered: 2018-03-10
Posts: 4

Re: [SOLVED] Kernel Modules Failure at Startup

This is where I am at now...
$uname -a --> 4.10.10-1-ARCH
$pacman -Q linux --> linux 4.15.7-1

Using pacman -S linux has worked. All I think I have to do is mount /boot like you said and update it once more...

However, my /etc/fstab is completely empty. How do I create a /boot that I can mount?
Entering $blkid shows me /dev/sda1 & /dev/sda2.
Should I use the PARTUUID of sda1 to create the /boot?
To look something like this:

#
<device>                                                                              <dir>   <type> <options>                                                                                                                                                    <dump><fsck>
PARTUUID=d0d0d110-0a71-4ed6-936a-304969ea36af      /boot    vfat      rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed....                 0      2

Last edited by HeindT19921216 (2018-03-10 16:15:58)

Offline

#7 2018-03-10 17:15:01

archuser198
Member
Registered: 2018-03-10
Posts: 1

Re: [SOLVED] Kernel Modules Failure at Startup

Hello,

I keep getting failed to load kernel modules at startup. Any assistance would be appreciated. Thanks in advance.



● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2018-03-10 16:44:58 UTC; 22min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 209 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 209 (code=exited, status=1/FAILURE)

Mar 10 16:44:57 archlinux systemd-modules-load[209]: Inserted module 'crypto_user'
Mar 10 16:44:57 archlinux systemd-modules-load[209]: Failed to find module 'vboxguest'
Mar 10 16:44:57 archlinux systemd-modules-load[209]: Failed to find module 'vboxsf'
Mar 10 16:44:58 archlinux systemd-modules-load[209]: Inserted module 'vboxvideo'
Mar 10 16:44:58 archlinux systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Mar 10 16:44:58 archlinux systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Mar 10 16:44:58 archlinux systemd[1]: Failed to start Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.


@archlinux ~]$ ls -al /etc/modules-load.d/
total 8
drwxr-xr-x  2 root root 4096 Feb 22 09:31 .
drwxr-xr-x 63 root root 4096 Mar 10 16:32 ..

Offline

#8 2018-03-10 17:20:34

seth
Member
Registered: 2012-09-03
Posts: 65,801

Re: [SOLVED] Kernel Modules Failure at Startup

@archuser198, please don't hijack this thread. You issue is vbox-related.

@HeindT19921216,

lsblk -f

Offline

#9 2018-03-10 17:24:05

loqs
Member
Registered: 2014-03-06
Posts: 18,471

Re: [SOLVED] Kernel Modules Failure at Startup

You could use the output of `genfstab -U /` then remove any spurious entries seems it is missing pseudotype entries for bpf,efivars and fuse.gvfsd-fuse at least.
edit:
grammar remove spurious needs
edit:
`genfstab -t PARTUUID /` for PARTUUID's instead of UUID's

Last edited by loqs (2018-03-10 17:26:34)

Offline

#10 2018-03-11 14:58:40

HeindT19921216
Member
Registered: 2018-03-10
Posts: 4

Re: [SOLVED] Kernel Modules Failure at Startup

Hi guys, thanks for all of your comments and help.

I was able to fix the problem by using chroot and mounting all the needed parts from a liveUSB. Then just updated linux again.
This was the most helpful for the process: Proper Way to Prepare chroot to Recover a Broken Linux.  --> Also run mkinitcpio -p linux before exit.

Offline

#11 2018-03-11 17:21:08

loqs
Member
Registered: 2014-03-06
Posts: 18,471

Re: [SOLVED] Kernel Modules Failure at Startup

Offline

Board footer

Powered by FluxBB