You are not logged in.

#1 2019-11-09 00:22:12

atomikegg
Member
Registered: 2019-08-14
Posts: 99

[Solved] Modules Fail to Load on Boot

I'm seeing a message quickly flash by during boot, which says something about modules failing to load, and instructing to run the command below. I noticed i can't mount a shared folder.

# uname -a
Linux lilegg 5.3.8-arch1-1 #1 SMP PREEMPT @1572357769 x86_64 GNU/Linux

# systemctl status systemd-modules-load
* 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 2019-11-09 00:04:25 UTC; 1min 49s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 233 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 233 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Last edited by atomikegg (2019-11-09 23:34:25)

Offline

#2 2019-11-09 00:24:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Modules Fail to Load on Boot

Why do you post all your threads in Installation? Which is clearly marked for issues around the installation of the system...

And your journal entry is useless. `journalctl _PID=233` will show you something relevant. Try reading the wiki for a change:
https://wiki.archlinux.org/index.php/Sy … ing_output


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-11-09 08:42:00

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Modules Fail to Load on Boot

This error occured on a new installation, while getting the OS and all the software installed. We can move it to a different category if you prefer. Which category would you like?

My last post in installation was about partitioning. Was Installation the wrong place for a post about partitioning during installation? Which is a better category?

Not sure what you mean "all your threads". In the past 3 months, I have posted 3 threads in installation (because that seemed the correct place),and and 10 thread in Newbie. Are you thinking of someone else? What "all threads" are you referring to?

I executed the command as instructed by the error message. Maybe the error message should say `journalctl _PID=233`? Glad i understand how to do that now. I wanted to give more info, really i did.

# journalctl _PID=233
-- Logs begin at Fri 2019-11-08 15:09:41 UTC, end at Sat 2019-11-09 08:26:01 UTC. --
Nov 08 17:36:25 lilegg systemd-modules-load[233]: Failed to find module 'vboxdrv'
Nov 08 17:36:25 lilegg systemd-modules-load[233]: Failed to find module 'vboxpci'
Nov 08 17:36:25 lilegg systemd-modules-load[233]: Failed to find module 'vboxnetadp'
Nov 08 17:36:25 lilegg systemd-modules-load[233]: Failed to find module 'vboxnetflt'
....
[same error repeats]

So, obviously related to VirtualBox.

I'll go do some learnin'.

Last edited by atomikegg (2019-11-09 08:42:58)

Offline

#4 2019-11-09 14:09:29

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [Solved] Modules Fail to Load on Boot

Moving to Newbie Corner.

atomikegg, I'd suggest you post your topics in Newbie Corner for now. If they need to be moved, a moderator will do that.

Offline

#5 2019-11-09 16:18:17

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Modules Fail to Load on Boot

The folks over at virtualbox forum advised me that that arch wiki page is outdated and incorrect, and that i must install the VirtualBox additions off the VirtualBox guest additions CD instead. Is it ok to mention the VirtualBox forum tho'? I don't see anything against that in the forum rules.

I noticed that VirtualBox features on my new arch install weren't working correctly with the arch packages, but installing Guest Additions off the VirtualBox CD fixed the problem.

It was working, no idea what borked it.

# modprobe vboxdrv
modrpobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.3.8-arch1-1

Offline

#6 2019-11-09 16:47:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] Modules Fail to Load on Boot

The vb forums gave bad advice.

The modules that are throwing an error are the host modules. Is this installation the host or guest? What, exactly, do you have installed?

Online

#7 2019-11-09 23:21:49

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Modules Fail to Load on Boot

Fixed. i removed the Guest Additions installed from the VBox CD

./VBoxLinuxAdditions.run uninstall

Also removed virtualbox-host-dkms, which was my error (meant for non-default kernel, i think). I suspect this might have been the source of the loading error.

pacman -Rus virtualbox-host-dkms

That failed, with an alert to run `dkms remove`, but i didn't have success with that. I read that the dkms directory can just be manually deleted, so i did that, and then uninstalled again.

Installed virtualbox-guest-utils and virtualbox-guest-modules-arch as directed on arch wiki

pacman -S virtualbox-guest-utils
pacman -S virtualbox-guest-modules-arch

i might have enabled the service, i don't recall, but it's running

systemctl enable vboxservice.service

added the modules, but not sure if necessary

modprobe -a vboxguest vboxsf vboxvideo

i added the users to the group, but not sure if that was even necessary

gpasswd -a johny vboxsf
gpasswd -a root vboxsf

No more loading errors, everything seems working as expected.

i think these steps are the recommended arch process. I may have repeated some of the above steps in abnormal order, so it would be cool to know the correct order.

thx!

Last edited by atomikegg (2019-11-09 23:37:09)

Offline

Board footer

Powered by FluxBB