On 03/18/18 21:29, François Patte wrote:
Le 18/03/2018 à 13:31, Ed Greshko a écrit :
On 03/18/18 19:38, François Patte wrote:
At every boot I can see this message: system-load-modules fails to load vboxpci, vboxnetadp, vboxnetflt, vboxdrv but when system is up, lsmod shows these modules as loaded!
Could you examine your logs and post the actual messages?
In fact, it seems to randomly depend on the boot, for instance:
yesterday at 22h34:
------------------------------------------------------> mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAI mars 17 22:34:00 dipankar systemd[1]: Failed to start Load Kernel Modules. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Unit entered failed state. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. mars 17 22:34:00 dipankar systemd[1]: Starting Load Kernel Modules... mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAI mars 17 22:34:00 dipankar systemd[1]: Failed to start Load Kernel Modules. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Unit entered failed state. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. mars 17 22:34:00 dipankar systemd[1]: Starting Load Kernel Modules... mars 17 22:34:00 dipankar systemd-modules-load[1135]: Failed to lookup alias 'vboxdrv': Function not implemented mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAI mars 17 22:34:00 dipankar systemd[1]: Failed to start Load Kernel Modules. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Unit entered failed state. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. mars 17 22:34:00 dipankar systemd[1]: Starting Load Kernel Modules... mars 17 22:34:00 dipankar systemd-modules-load[1154]: Failed to lookup alias 'vboxdrv': Function not implemented mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAI mars 17 22:34:00 dipankar systemd[1]: Failed to start Load Kernel Modules. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Unit entered failed state. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. mars 17 22:34:00 dipankar systemd[1]: Starting Load Kernel Modules... mars 17 22:34:00 dipankar systemd-modules-load[1161]: Failed to lookup alias 'vboxdrv': Function not implemented mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAI mars 17 22:34:00 dipankar systemd[1]: Failed to start Load Kernel Modules. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Unit entered failed state. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Start request repeated too quickly. mars 17 22:34:00 dipankar systemd[1]: Failed to start Load Kernel Modules. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Start request repeated too quickly. mars 17 22:34:00 dipankar systemd[1]: Failed to start Load Kernel Modules. mars 17 22:34:00 dipankar systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. <---------------------------------------------------------------
Then, 4 minutes later:
----------------------------------------------------------------> mars 17 22:38:07 dipankar systemd-modules-load[817]: Inserted module 'vboxdrv' mars 17 22:38:07 dipankar systemd-modules-load[817]: Inserted module 'vboxnetflt' mars 17 22:38:07 dipankar systemd-modules-load[817]: Inserted module 'vboxnetadp' mars 17 22:38:07 dipankar systemd-modules-load[817]: Inserted module 'vboxpci' mars 17 22:38:07 dipankar systemd[1]: Started Load Kernel Modules. mars 17 23:33:57 dipankar systemd[1]: Stopped Load Kernel Modules. <--------------------------------------------------------------
And, are you using VirtualBox from rpmfusion or directly from Oracle?
rpmfusion
Are you rebooting due to a kernel update? And, do you have akmod-VirtualBox installed?
If the above it true, then you're rebooting too soon after the update process and the akmod process hasn't finished building the kernel modules. So, on reboot the module load will initially fail. Then akmod will build the modules and load them.
Do you have a /var/cache/akmods/akmods.log? If so, does it have entries at the times noted in your logs?