LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-05-2016, 12:40 PM   #1
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Rep: Reputation: 18
Won't boot - "Failed to start Load Kernel Modules"


The computer won't boot, with the error message "Failed to start Load Kernel Modules". When running journalctl -xb I see messages about 'failed to load find module vboxdrv, vboxnetflt, vboxnetadp, vboxpci. I recently upgraded my Fedora 24 system, and I'm wondering if this could be because the VirtualBox is not yet caught up? What's the easiest fix for this - should I remove VirtualBox, and if so, what parts? Dkms, or just those modules that were listed? I tried booting with older kernels, but this did not work either.

Thanks!!!
Attached Thumbnails
Click image for larger version

Name:	IMG_20160905_130454.jpg
Views:	5
Size:	61.9 KB
ID:	22947   Click image for larger version

Name:	20160905_122752.jpg
Views:	6
Size:	112.4 KB
ID:	22948  

Last edited by ziphem; 09-05-2016 at 01:08 PM.
 
Old 09-05-2016, 12:51 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
VirtualBox modules are not needed to boot. Something else is wrong.
 
Old 09-05-2016, 01:30 PM   #3
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
boot up, and when it gets stuck (i suppose) can you press Ctrl+Alt+F2?
Does that bring you to a text console login?
if yes, login, enter the following commands and post the output here:
Code:
lspci -k
uname -a
sudo grep -C4 EE /var/log/Xorg.0.log
(the location of your Xorg.0.log file might be different, but it's definitely the right name.
so if the grep returns nothing, try
Code:
sudo find / -name Xorg.0.log -exec grep -C4 EE {} \;
(that might take a looong time)
 
Old 09-05-2016, 01:37 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Looking at your screenshot ... wondering if systemd stopped loading modules after vbox modules were not found.
 
Old 09-05-2016, 01:53 PM   #5
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Original Poster
Rep: Reputation: 18
Hey, I really appreciate this quick help.

I'm sorry to post screenshots, but all I have now is my phone, and typing the output would take forever and certainly allow mistakes to enter. Attached is a pic of the output of the commands lspci -k, uname -a, and sudo grep -C4 EE /var/log/Xorg.0.log.

As for the Vbox issues, I think I've read something that there can be issues when you upgrade the kernel but the vbox and associated files are not upgraded and in sync. But I don't know if, as suggested, this just impacts vbox alone loading.
Attached Thumbnails
Click image for larger version

Name:	IMG_20160905_134627.jpg
Views:	6
Size:	205.4 KB
ID:	22949  
 
Old 09-05-2016, 02:14 PM   #6
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
nothing pops out from the code i requested, however the first 3 lines of that scrot might merit closer inspection.
 
Old 09-05-2016, 05:28 PM   #7
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Original Poster
Rep: Reputation: 18
I've read that if one of the modules can't be loaded, that can cause the whole system to entered a failed stated. Aside from losing VirtualBox, is there any risk of right now of doing a dnf remove VirtualBox and also dkms?
 
Old 09-05-2016, 05:38 PM   #8
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
Originally Posted by ziphem View Post
I've read that if one of the modules can't be loaded, that can cause the whole system to entered a failed stated. Aside from losing VirtualBox, is there any risk of right now of doing a dnf remove VirtualBox and also dkms?
If this is true with systemd then it sucks big time. It is definitely not the case with normal init systems. Failure to load one or more modules affects the functionality provided by those modules only.
 
Old 09-05-2016, 07:03 PM   #9
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Original Poster
Rep: Reputation: 18
Removed VirtualBox and Dkms and still getting warning "Failed to find module:
Vboxdrv
Vboxnetflt
Vboxnetadp
Vboxpci"

What can I do to exclude the system from attempting to load these? How exactly do I go about that? I've tried /etc/modprobe*/blacklist and blacklist vboxdrv etc, but that doesn't seem to work.

Thanks.

Last edited by ziphem; 09-05-2016 at 08:14 PM.
 
Old 09-05-2016, 08:23 PM   #10
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Original Poster
Rep: Reputation: 18
I'm cautiously optimistic that excluding these modules - once I know how to do so - will solve the problem.....
 
Old 09-05-2016, 08:40 PM   #11
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Sorry, I'm foreigner on systemd land. But I'm sure if you use your favorite search engine with keywords "systemd module loading" you will get your answer.
 
Old 09-05-2016, 09:22 PM   #12
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Original Poster
Rep: Reputation: 18
Sitting at home with food poisoning today (bleh), I've spent hours and hours searching, but have found nothing to solve the issue, unfortunately. Actually, the searching is the only way I learned about blacklisting....
 
Old 09-05-2016, 09:25 PM   #13
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Well, took me 30 seconds to get this one: https://wiki.gentoo.org/wiki/Systemd...module_loading Does it help?
 
Old 09-05-2016, 09:45 PM   #14
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Original Poster
Rep: Reputation: 18
Thanks for looking, I do appreciate it. The modules are not specified anywhere in my system, aside from the blacklist file I created, and the webpage doesn't provide any guidance on the blacklisting, at least from what I saw.
 
Old 09-05-2016, 09:56 PM   #15
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 154

Original Poster
Rep: Reputation: 18
I just read on a forum that

Quote:
Your problem probably results from the fact that a copy of /etc/modprobe.d/blacklist.conf is located in the initramfs. When you reboot your computer, it is still using the old copy that doesn't contain your change. Try to rebuild the initramfs with the following command and then reboot:
For Fedora 24 I believe this is Dracut - fv (https://ask.fedoraproject.org/en/que...ly-one-kernel/)

Is there any negatives or concerns you can think of about rebuilding initramfs?

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 load kernel modules on arch after "pacman -Syu" imu96 Linux - Kernel 6 04-03-2013 11:54 PM
Can't start Xorg in Slackware 13.37 64 bit (Failed to load module "fbdev") arilou649 Slackware 6 08-04-2011 01:43 PM
"dpkg -i ~oss-linux-4.0-1016_i386.deb"="Relinking the OSS kernel modules failed" bezdomny Linux - Software 2 07-26-2008 05:06 PM
Xorg Will Not Start!? Failed to load "shm" Avieth Linux - Software 9 04-21-2006 04:58 PM
Unable to start Apache "Cannot load /etc/httpd/modules/libphp4.so" dagalicous Linux - Software 1 03-10-2005 02:43 AM


All times are GMT -5. The time now is 06:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration