Skip to content

System crashed updating systemd, now kernel modules won't load

I was running Pacman -Syu and my system hung updating systemd. I rebooted and now get:

systemd[1]: Failed to start Load Kernel Modules

and then various other things fail and it dumps me into emergency mode.

It tells me to run:

systemctl status systemd-modules.service

and the output is:

 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 Wed 2016-10-05 03:48:03 UTC 4min 28s ago
Docs: man:systemd-modules-load.service(8)
       man:modules-load.d(5)
Process: 267 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 267 (code=exited, status=1/FAILURE)
13 points11 comments
Open on Reddit
About this post
Posted
Archived
Score
13 · 100% up
Kind
Text
ID
55xpdf

Author

61
posts
170
comments
1
media
View profile

11 comments

Reinstall the linux* packages.

8 points

Pacman is giving me an error couldn't load libcrpto.so, so installing or uninstalling things doesn't seem like an option.

2 points

It looks like you have the initramfs of the older kernel and a new kernel partially installed.

I would:

  • boot from archiso, mount the partitions and reinstall linux with the pacman from the iso using -r --root to specify the destination where everything is mounted.
  • or from the current system I would extract manually the files from the older kernel pkg.tar.gz (look in /var/cache/pacman/pkg if you still have it).
11 points

You dont say what system you are on but I had this problem RaspPi3. Its a problem with systemd update 231 v1-v4 (so far).

The libcrypto is located in the openssl package which u can extract an copy to the correct destination using either what /u/robotbaby said or with mc

you will probably need to extract libsystemd and systemd and maybe a few others which were installed at the sametime. you can check dates in pacman cache dir.

You can check for other files with problems by going to the lib directrory and bin directory and checking for zero sized files but its best to check the whole system for zero files as there where probles in share and /etc. I just went through all the cache files I downloaded that day.

I have tried the latest, systemd-231-4 fix, 2 days ago but crashed the PI again and I have not bothered looking at it.

(edited for corrections)

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.