LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2019, 04:11 AM   #1
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Rep: Reputation: Disabled
Error = 'FAILED. Failed to start Load Kernel Modules'


I’ve set up Arch Linux with a Gnome DE. It worked very well for a few weeks.

But suddenly I get the following:
- FAILED. Failed to start Load Kernel Modules

and, further down,

- Dependency failed for Local File System
- Dependency failed for /boot/efi

I’ve checked related threads but not found a solution for my specific problem*

It might be relevant that in the process of trying to install Android Emulator I was told to install some 32 bit libs, which I tried to do?
Reading around I saw libs mentioned in connection with this kind of failure. Not sure what they even are, but ‘I was only following orders…’…

I would be very grateful for any help.


*
systemctl status systemd-modules-load.service shows in red: Active: failed (Result: exit-code) and something related to Process 264

/etc/modules-load.d/ is an empty directory

Opening /run/modules-load.d/*in nano shows nothing

/usr/lib/modules-load.d/ contains ‘bluez.conf’, which I seem to remember is something I installed to run bluetooth.

/var/log/ doesn’t have a file called ‘messages’

journalctl brings up thousands of lines. Not able to tell which ones are relevant
I also saw that you can run journalctl -b, but when I tried it, it didn’t report any errors
 
Old 06-02-2019, 04:13 AM   #2
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Original Poster
Rep: Reputation: Disabled
Also... /boot/efi is empty
 
Old 06-02-2019, 05:37 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
On LQ, posts that have zero replies will continue to float to the top for a while.
By replying to your own thread, you have now disabled that feature.
Just something to consider.

Anyhow...
There's a lot of information missing here.
How exactly you installed ARchLinux for example.
Quote:
Originally Posted by El_Bocia View Post
But suddenly I get the following:
- FAILED. Failed to start Load Kernel Modules

and, further down,

- Dependency failed for Local File System
- Dependency failed for /boot/efi
"Suddenly" is very vague.
And where do you "get" this?
I'm guessing it's part of the boot messages. The first one could be very early, the latter read like systemd messages.
Please check the journal and give us some more context.
check the status of the services involved.
also check dmesg (grep for kernel modules?).

https://wiki.archlinux.org/index.php/Troubleshooting
This is only one (hopefully not the first) of many, many archwiki pages you will want to read.
 
2 members found this post helpful.
Old 06-02-2019, 07:59 AM   #4
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
On LQ, posts that have zero replies will continue to float to the top for a while.
By replying to your own thread, you have now disabled that feature.
Just something to consider.
Thanks. So I cut my own neck then... noted for future.

Quote:
Anyhow...
There's a lot of information missing here.
How exactly you installed ARchLinux for example.

"Suddenly" is very vague.
Sorry, missing info and vagueness is down to me trying to be on point, and not fill my post with redundant material.

I installed Arch from a live USB. I set up the drive as a dual boot, chrooted and then pacstrapped base etc. in. That part I kind of get. For the UEFI setup, I blindly followed a guy on Youtube. I plan to delve into those steps to understand it better when I get the chance.

I think it's important, though, that it ran without any problems whatsoever for about a month so I think the installation was sound.

Quote:
And where do you "get" this?
I'm guessing it's part of the boot messages. The first one could be very early, the latter read like systemd messages.
Please check the journal and give us some more context.
check the status of the services involved.
also check dmesg (grep for kernel modules?).

https://wiki.archlinux.org/index.php/Troubleshooting
This is only one (hopefully not the first) of many, many archwiki pages you will want to read.
Yes, correct, I 'got it' on boot.

I'm going to now go and do the background reading you suggest (I've spent a few hours on the ArchWiki in recent weeks but find that sometimes it assumes a level of knowledge beyond mine) and try to follow your instructions on getting additional information. I might take a while.

Thanks for responding so promptly to give me a way forward.
 
Old 06-03-2019, 01:04 AM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Is there something in /etc/modules-load.d/ that was recently changed, such as some specified device module that was incorporated into some other module, deprecated, or removed altogether, so no longer exists? I was seeing the same failure message on several installations quite some time ago, and eliminated them by emptying that directory.
 
1 members found this post helpful.
Old 06-03-2019, 07:14 AM   #6
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Is there something in /etc/modules-load.d/ that was recently changed, such as some specified device module that was incorporated into some other module, deprecated, or removed altogether, so no longer exists? I was seeing the same failure message on several installations quite some time ago, and eliminated them by emptying that directory.
Thanks for this useful suggestion. Another avenue of investigation.

I'll add it to my list of things to do in order to respond, which now includes learning about systemd and the protocol for providing the kind of info a person needs in order to help diagnose what a problem is. This is taking a bit of time, but at the same time is super-interesting.

I'll report back soon!
 
Old 06-03-2019, 11:23 AM   #7
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
On LQ, posts that have zero replies will continue to float to the top for a while.
By replying to your own thread, you have now disabled that feature.
Just something to consider.

Anyhow...
There's a lot of information missing here.
How exactly you installed ARchLinux for example.

"Suddenly" is very vague.
And where do you "get" this?
I'm guessing it's part of the boot messages. The first one could be very early, the latter read like systemd messages.
Please check the journal and give us some more context.
check the status of the services involved.
also check dmesg (grep for kernel modules?).

https://wiki.archlinux.org/index.php/Troubleshooting
This is only one (hopefully not the first) of many, many archwiki pages you will want to read.
OK, so I've run journalctl on my most recent boot and sent the output to a text file. I've also located the last boot before things went wrong, if that might be useful.

But issues have arisen:
- The reports are many pages long (Even if I opt to only show messages from the kernel), so I'm guessing I need to weed out the relevant information? I've not seen anyone else on this forum paste such a massive number of lines.
- Even if I do need to send the whole lot, I can't find a way to share the text file with the information in it as I have no DE.
- I can't open my wireless adapter from the SSD installed OS, but if I use the live USB, go online with wifi-menu, then run 'journalcrtl -b -1 | pbpst -S' to send to a pastebin as shown on the Troubleshooting wiki you referenced, I get told 'pbpst: Failed to initialise internationalisation'.

Sorry I've not been able to come back to you with anything more conclusive...
 
Old 06-03-2019, 11:24 AM   #8
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Is there something in /etc/modules-load.d/ that was recently changed, such as some specified device module that was incorporated into some other module, deprecated, or removed altogether, so no longer exists? I was seeing the same failure message on several installations quite some time ago, and eliminated them by emptying that directory.
Hi, I had a look where you advised and found the directory is empty. I'm guessing that would make this line of enquiry a dead end?

Thanks again for the pointer.
 
Old 06-03-2019, 11:38 AM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by El_Bocia View Post
- Even if I do need to send the whole lot, I can't find a way to share the text file with the information in it as I have no DE.
You don't need a DE to upload large files.
Code:
man pastebinit
 
1 members found this post helpful.
Old 06-03-2019, 01:40 PM   #10
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
You don't need a DE to upload large files.
Code:
man pastebinit
Amazing! Thanks to mrmazda, I've got that output on my clipboard now. However when I pasted and went to publish I got:

Quote:
The text that you have entered is too long (79541 characters). Please shorten it to 30000 characters long.
 
Old 06-03-2019, 03:13 PM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
Also... /boot/efi is empty
that will be empty on a non-running system, The efi partition gets mounted to /boot/efi during start-up of the system.
 
Old 06-03-2019, 03:27 PM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by El_Bocia View Post
when I pasted and went to publish I got:
Code:
The text that you have entered is too long (79541 characters). Please shorten it to 30000 characters long.
The pastebinit you tried or the site it accepts from must be broken. Since you are obviously able to post here, here are some places you can upload via web browser:
 
Old 06-04-2019, 12:54 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by El_Bocia View Post
I installed Arch from a live USB. I set up the drive as a dual boot, chrooted and then pacstrapped base etc. in. That part I kind of get. For the UEFI setup, I blindly followed a guy on Youtube.
why did you decide to veer away from arch's installation guide? not recommended.

Quote:
Originally Posted by El_Bocia View Post
The reports are many pages long (Even if I opt to only show messages from the kernel), so I'm guessing I need to weed out the relevant information?
there's a command 'grep' that can help with that.
'journalctl' also has LOADS of options to specify the output; most importantly '-b' to restrict output to the current boot.
Code:
man grep
man journalctl
of course you will need a few attempts to figure out what you're actually looking for.
when you finally post here, don't give us too much (that's mostly because of me; i hate sifting through logs with my eyes only), but not too little context either.
 
Old 06-04-2019, 04:18 AM   #14
El_Bocia
LQ Newbie
 
Registered: Jun 2019
Location: London
Distribution: Arch with Gnome DE
Posts: 16

Original Poster
Rep: Reputation: Disabled
@mrmazda - pastebinit worked well, thank you. It was LQ that didn't let me paste because there was too much text!

Which leads me to:

@ondoho - I ran the -b option, also restricted to the most recent boot but still got hundreds of lines. I have no idea what I'm looking for within the output, so I just ran a search on the world 'fail'.

If it's not still too much, please take a look at this. Otherwise I'll take a longer, harder look. Maybe just read through the whole thing.

Also, I get your point about deviating from the path of the installation guide. I still stand by the fact that there were no issues for some considerable time.
I'm prepared to do another install 'by the book' if all else fails, but I see my current issues as an opportunity for some learning and don't want to back down from them without a fight!

Anyway, here's what journalctl reports:

Quote:
Jun 03 19:34:15 SURFACE kernel: dw_dmac: probe of INTL9C60:00 failed with error -16

Jun 03 19:34:15 SURFACE systemd-fstab-generator[249]: Failed to create unit file /run/systemd/generator/-.mount, as it already exists. Duplicate entry in /etc/fstab?
Jun 03 19:34:15 SURFACE systemd-fstab-generator[249]: Failed to create unit file /run/systemd/generator/-.mount, as it already exists. Duplicate entry in /etc/fstab?

Jun 03 19:34:15 SURFACE systemd-modules-load[258]: Failed to lookup module alias 'crypto_user': Function not implemented

Jun 03 19:34:16 SURFACE systemd[1]: Mounting /boot...
Jun 03 19:34:16 SURFACE mount[326]: mount: /boot: unknown filesystem type 'vfat'.
Jun 03 19:34:16 SURFACE systemd[1]: boot.mount: Mount process exited, code=exited, status=32/n/a
Jun 03 19:34:16 SURFACE systemd[1]: boot.mount: Failed with result 'exit-code'.
Jun 03 19:34:16 SURFACE systemd[1]: Failed to mount /boot.
Jun 03 19:34:16 SURFACE systemd[1]: Dependency failed for Local File Systems.
Jun 03 19:34:16 SURFACE systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
Jun 03 19:34:16 SURFACE systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
Jun 03 19:34:16 SURFACE systemd[1]: Dependency failed for /boot/efi.
Jun 03 19:34:16 SURFACE systemd[1]: boot-efi.mount: Job boot-efi.mount/start failed with result 'dependency'.
Jun 03 19:34:16 SURFACE systemd[1]: systemd-ask-password-wall.path: Succeeded.
Jun 03 19:34:16 SURFACE systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
Jun 03 19:34:16 SURFACE systemd[1]: Reached target Timers.
Jun 03 19:34:16 SURFACE systemd[1]: systemd-ask-password-console.path: Succeeded.
Jun 03 19:34:16 SURFACE systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
Jun 03 19:34:16 SURFACE systemd[1]: Starting Create Volatile Files and Directories...
Jun 03 19:34:16 SURFACE systemd[1]: Started Emergency Shell.
 
Old 06-04-2019, 09:25 AM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
systemctl status systemd-modules-load.service shows in red:
Quote:
: Failed to lookup module alias 'crypto_user': Function not implemented
Jun 03 19:34:16 SURFACE systemd[1]: Mounting /boot...
Jun 03 19:34:16 SURFACE mount[326]: mount: /boot: unknown filesystem type 'vfat'
It looks like you may have removed/wrote over some files that is involved in loading modules.

Quote:
It worked very well for a few weeks.
With the system only a few weeks old, it might be easier to copy anything you have important off the drive and reinstall the system again.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to start Load Kernel Modules Coop_012 Linux - Kernel 2 05-09-2018 12:37 PM
Failed to load start kernel modules terry-duell Fedora 6 05-01-2018 01:17 AM
[SOLVED] Won't boot - "Failed to start Load Kernel Modules" ziphem Linux - Newbie 17 09-05-2016 11:18 PM
systemd[1]: Failed to start Load Kernel Modules. LateForLunch Linux - Software 1 07-06-2015 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration