English
Ask Your Question
1

systemd-modules-load incorrectly reporting failed load virtualbox

asked 2016-01-12 23:35:04 +0000

Matt101 gravatar image

updated 2016-01-13 18:05:31 +0000

Hi, I've got VirtualBox.x86_64 5.0.12-1.fc23 installed from RPMFusion, and I just updated to Kernel 4.3.3-300.fc23.x86_64. However the issue I'm about to describe should also be reproducible going from recent older kernels to more recent Kernels.

VirtualBox builds it's modules and seems to function correctly after a Kernel update, but after a reboot the following messages appear and interrupt the graphical boot process:

Jan 12 18:18:46 laptop systemd[1]: systemd-modules-load.service: Unit entered failed state.
Jan 12 18:18:46 laptop kernel: audit: type=1130 audit(1452622726.837:3): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jan 12 18:18:46 laptop systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jan 12 18:18:46 laptop systemd-modules-load[177]: Failed to find module 'vboxdrv'
Jan 12 18:18:46 laptop systemd-modules-load[177]: Failed to find module 'vboxnetflt'
Jan 12 18:18:46 laptop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jan 12 18:18:46 laptop systemd-modules-load[177]: Failed to find module 'vboxnetadp'

I have tested my virtual machines and all seem to function correctly, so I am guessing this is a bug with systemd-modules-load service?

Can anyone more educated on this than I shed some light?

*Edit 1 *

I tried running akmods and I do have kernel-devel installed for my kernel version.

The output of "dmesg | grep -i vbox" is as follows:

[   27.188946] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[   27.190649] vboxdrv: Found 4 processor cores
[   27.207000] vboxdrv: TSC mode is Invariant, tentative frequency 1997109789 Hz
[   27.207003] vboxdrv: Successfully loaded version 5.0.12_RPMFusion (interface 0x00240000)
[   27.229819] VBoxNetFlt: Successfully started.
[   27.230309] VBoxNetAdp: Successfully started.

To me this reads like everything is working, hence the assumption that systemd-modules-load service is getting it wrong? Or is it in fact me?

edit retag flag offensive close merge delete

Comments

When you install virtualbox it install for specific kernel version, when you upgrade to a new kernel it will be installed but you will not work with it until you reboot, normally rmpfusion is a little behind with Fedora Kernel modules, so my advice is not to upgrade right away when you have rpmfusion modules unless you are using akmod since it will compile the module when it load. To my understanding this is not the case for virtualbox. So you need to boot and select previus kernel module and boot with it so you can load virtualbox again. Hope it helps.

aeperezt ( 2016-01-13 00:26:10 +0000 )edit

You are going about this all wrong, it is not a systemd problem at all. The only error you posted is "Failed to find module 'vboxnetadp'" so your virtualbox kernel modules failed to build. Manually build them and/or file a bug report against virtualbox either with virtualbox or rpmfusion as the package is not maintained by fedora, thus if you file with fedora your bug report will be marked as invalid.

bodhi.zazen ( 2016-01-14 16:11:45 +0000 )edit

3 answers

Sort by ยป oldest newest most voted
2

answered 2016-02-12 18:32:23 +0000

Matt101 gravatar image

Solution to eliminating the virtualbox related messages was to rebuild the initramfs after a kernel update:

dracut -v -f

Turns out everything was building okay with akmods, hence everything working after kernel upgrades.

edit flag offensive delete link more

Comments

Funny, I have a bug report that ask to do the inverse, https://bugzilla.rpmfusion.org/show_b...

sergiomb ( 2016-02-13 17:56:23 +0000 )edit
0

answered 2016-01-13 14:23:13 +0000

sergiomb gravatar image

Hello please run akmods as root what is the output ? have you kernel-devel installed ?

dnf install VirtualBox kernel-devel-$(uname -r)
akmods 
systemctl restart systemd-modules-load.service

in dmesg you should see kernel modules loaded:

dmesg | grep -i vbox

[ 2870.556703] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[ 2870.565213] vboxdrv: Found 2 processor cores
[ 2870.571315] vboxdrv: fAsync=0 offMin=0x1c2 offMax=0xa5f
[ 2870.671515] vboxdrv: TSC mode is Synchronous, tentative frequency 3000795689 Hz
[ 2870.671519] vboxdrv: Successfully loaded version 5.0.6_ (interface 0x00240000)
[ 2870.671946] VBoxNetFlt: Successfully started.
[ 2870.672227] VBoxNetAdp: Successfully started.
edit flag offensive delete link more

Comments

Hi, I tried the above to no avail and have edited the output of dmesg into my opening post.

Matt101 ( 2016-01-13 18:06:28 +0000 )edit

looks good , https://ask.fedoraproject.org/en/ques...

sergiomb ( 2016-01-14 00:35:09 +0000 )edit

are you sure that are failing now ?

systemctl status systemd-modules-load.service

is not ok ? it should be ok ...

sergiomb ( 2016-01-14 14:13:31 +0000 )edit

Sometimes you make me lose my patience , wtf you are talking about ? are you talking about: Failed to find module 'vboxnetadp' ? or are you talking about when system start booting appears a failing that you can ignore, is harmless, don't have any kind of messages that we can understand ?

sergiomb ( 2016-01-14 19:43:37 +0000 )edit

My apologies. I mixed up the issues. In his case he has a broken installation. On my system all modules are loaded fine but systemd still shows error fedora systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. I will file a bug report for issues on my system.

sudhirkhanger ( 2016-01-15 18:33:50 +0000 )edit
0

answered 2016-01-13 00:24:19 +0000

What makes you think this is a systemd problem ?

To debug systemd problems see http://freedesktop.org/wiki/Software/...

More likely then not, it is a problem with the vbox kernel modules. You need to build the kernel modules for each kernel update.

Sure vbox runs, but performance will take a hit or you will be missing features (google search the missing modules to see what they do)

https://www.virtualbox.org/manual/ch0...

Also, FWIW, Fedora uses KVM (rather then virtualbox) for a variety of reasons, one of them being that you do not need to compile 3rd party kernel modules with kernel updates.

https://fedoraproject.org/wiki/Gettin...

If you need support for systemd, look at your logs and update your question. I gave you a link for virtualbox. If you need support, what commands did you run and what error did you get ?

If you found a bug, file it with virtualbox or rpmfusion.

edit flag offensive delete link more

Comments

Hi, I can't find anything wrong with the functionality of any of my virtualbox guests. Please see my output of dmesg edited into my opening post. As far as I can tell this does seem to be an issue with systemd?

Matt101 ( 2016-01-13 18:09:45 +0000 )edit

Post the systemd error. Post the log and output of the command you ran (akmods systemctl restart systemd-modules-load.service and systemctl status systemd-modules-load.service ). Simply stating you have a problem and downvoting answers designed to h elp you is not likely to get you a solution.

bodhi.zazen ( 2016-01-14 16:06:33 +0000 )edit

That pastebin did not add much. You are failing to read the only error you have ever posted - "Failed to find module 'vboxnetadp'" so you are missing a virtulabox kernel module (vboxnetadp) . As both virtualbox and rpmfusion are 3rd party apps, I would not expect much response from the fedora mailing list. File a bug with virtualbox (they will say to use theri packages rather then rpmfuaion) or rpmfusion.

bodhi.zazen ( 2016-01-14 17:37:17 +0000 )edit

So the module is failing to load during boot. Still a vbox problem and not systemd. you can try disbling secure boot and/or File a bug with virtualbox (they will say to use theri packages rather then rpmfuaion) or rpmfusion .

bodhi.zazen ( 2016-01-14 17:39:10 +0000 )edit

Where do you see vboxnetadp failing? https://paste.fedoraproject.org/310881/ seems to be loding fine. My system doesn't support secure boot. I will file a bug report with rpmfusion any case because other people probably have the same problem. I don't mind switching to Oracle VirtualBox. They also provide a well maintained repo.

sudhirkhanger ( 2016-01-14 18:25:28 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2016-01-12 23:35:04 +0000

Seen: 3,200 times

Last updated: Feb 12 '16