On Wed, 2017-08-02 at 08:56 +0200, Nicolas Chauvet wrote:
2017-08-02 1:57 GMT+02:00 Easior Lars <easior(a)tom.com>:
> Hi all!
>
> I find ever that there is a rpm package named by
> VirtualBox-guest-additions in the RPM FUSION repository. I always
> install it into my Fedora box. In my impression, it worked well
> very
> long time ago. However, something wrong with this rpm happened
> sometime after then. Vboxclient always complains "Vbox kernel
> service cann't running" when I log in to GNOME by gdm. Let see what
> happened on my Fedora box. Firstly, some rpms needed by VirtualBox
> guest Additions has installed
> ,------------------------------------------------
> > $ rpm -qa | grep -i "virtualbox"
> > VirtualBox-guest-additions-5.1.24-1.fc25.x86_64
> > akmod-VirtualBox-5.1.24-1.fc25.x86_64
> > VirtualBox-kmodsrc-5.1.24-1.fc25.x86_64
>
> `------------------------------------------------
> and
> ,---------------------------------------
> > $ rpm -qa | grep -i 'kernel-headers'
> > kernel-headers-4.11.12-200.fc25.x86_64
>
> `---------------------------------------
> But the vboxservice.service is failed to start
> ,----------------------------------------------------------------
> --------------------------------------------
> > $ systemctl status vboxservice.service
> > vboxservice.service - VirtualBox guest services
> > Loaded: loaded (/usr/lib/systemd/system/vboxservice.service;
> > enabled; vendor preset: enabled)
> > Active: failed (Result: exit-code) since Wed 2017-08-02
> > 06:33:05 CST; 54min ago
> > Process: 583 ExecStart=/usr/sbin/VBoxService -f (code=exited,
> > status=1/FAILURE)
> > Main PID: 583 (code=exited, status=1/FAILURE)
> >
> > Aug 02 06:33:04 Arcadia systemd[1]: Started VirtualBox guest
> > services.
> > Aug 02 06:33:05 Arcadia VBoxService[583]: VBoxService: error:
> > VbglR3Init failed with rc=VERR_FILE_NOT_FOUND
> > Aug 02 06:33:05 Arcadia systemd[1]: vboxservice.service: Main
> > process exited, code=exited, status=1/FAILURE
> > Aug 02 06:33:05 Arcadia systemd[1]: vboxservice.service: Unit
> > entered failed state.
> > Aug 02 06:33:05 Arcadia systemd[1]: vboxservice.service: Failed
> > with result 'exit-code'.
>
> `----------------------------------------------------------------
> --------------------------------------------
> Why does VirtualBox-guest-additions not work? Do I miss some
> necessary
> steps to make it work?
>
> Another strange behavour is happend in the directory of
> /lib/modules:
> ,----------------------------------------------------------------
> ---------------------------------------------------------------
> > $ ls -al /lib/modules/4.11.12-200.fc25.x86_64/build
> > lrwxrwxrwx. 1 root root 40 Jul 22 00:57 /lib/modules/4.11.12-
> > 200.fc25.x86_64/build ->/usr/src/kernels/4.11.12-200.fc25.x86_64
> > $ ls /usr/src/kernels
> > 4.11.12-200.fc25.x86_64+debug
>
> `----------------------------------------------------------------
> ---------------------------------------------------------------
Nicolas also replied , I had wrote so notes on Howto/VirtualBox wiki
page [1]
[1]
https://rpmfusion.org/Howto/VirtualBox#I_had_install_kernel-debug-devel
_but_I_need_kernel-devel
This is because you have installed the wrong kernel-devel variant ,
you need kernel-devel whereas you might have kernel-debug-devel
instead (when using the normal kernel).
So it's likely that you have an installation error and akmods cannot
build the module.
In the nvidia documentation, I've tried to workaround this issue
by
using (on a fully updated system and rebooted):
dnf install "kernel-devel-uname-r == $(uname -r)"
https://rpmfusion.org/Howto/NVIDIA#Current_GeForce.2FQuadro.2FTesla
But the coming fix will be to use a new rpm feature, so it has a
chance to be installed along the right kernel.
https://bugzilla.redhat.com/show_bug.cgi?id=1474423
--
Sérgio M. B.