Here is the post install script from kernel package

if [ -x %{_sbindir}/dkms -a -e %{_unitdir}/dkms.service -a -d
/usr/src/linux-%{kversion}-$kernel_flavour-%{buildrpmrel} ];
then    /bin/systemctl --quiet restart dkms.service    /bin/systemctl
--quiet try-restart fedora-loadmodules.service    %{_sbindir}/dkms
autoinstall --verbose --kernelver
%{kversion}-$kernel_flavour-%{buildrpmrel}fi

So as you can see after when new kernel is installed, dkms is being
restarted, modules are being loaded and finally a dkms build & install is
being run to build all dkms modules for new kernel.
https://abf.io/openmandriva/kernel/blob/openmandriva2014.0/kernel.spec#lc-2058


2015-08-13 2:47 GMT+02:00 Ben Bullard <[email protected]>:

> Try booting into kernel-nrjQL-desktop-devel-4.1.3-3omv and run:
>
> # modprobe vboxdrv vboxnetflt vboxnetadp
>
> and then see if works.
>
> Ben Bullard
> ben79
> --------------------
> OpenMandriva-QA Team
>
>
> On 08/12/2015 02:46 PM, alisson oliveira ferreira wrote:
>
> I have this problem when there are updates to the kernel, usually by
> installing kernel-nrjQL-desktop-devel-4.1.3-3omv (latest version update),
> but not found in 4:13 as well, to use virtualbox, i reboot with old kernel
> and use virtualbox normally
>
> * linukiss  moonbeam  ~  $ * uname -r
> 4.1.3-nrjQL-desktop-3omv
> * linukiss  moonbeam  ~  $  *sudo dkms status
> vboxadditions, 5.0.0-0.1, 3.18.16-nrjQL-desktop-2omv, x86_64: installed
> vboxadditions, 5.0.0-0.1, 4.1.3-nrjQL-desktop-3omv, x86_64: installed
> virtualbox, 5.0.0-0.1, 3.18.16-nrjQL-desktop-2omv, x86_64: installed
> virtualbox, 5.0.0-0.1, 4.1.3-nrjQL-desktop-3omv, x86_64: installed
> * linukiss  moonbeam  ~  $ * VBoxManage --version
> WARNING: The vboxdrv kernel module is not loaded. Either there is no module
>          available for the current kernel (4.1.3-nrjQL-desktop-3omv) or it
> failed to
>          load. Please recompile the kernel module and install it by
>
>            sudo dkms autoinstall --verbose
>
>          You will not be able to start VMs until this problem is fixed.
> 5.0.0_OSEr101573
> i run sudo dkms autoinstall --verbose ... but don't return nothing
>
> 2015-08-12 16:12 GMT-03:00 luca pedrielli <[email protected]>:
>
>> Il 12/08/2015 21:04, Ben Bullard ha scritto:
>>
>> If I install a new kernel and boot into it virtualbox will not open
>> virtual machine. It gives error:
>>
>>
>> Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel
>> driver (vboxdrv) is either not loaded or there is a permission problem with
>> /dev/vboxdrv. Please reinstall the kernel module by executing 
>> '/etc/init.d/vboxdrv
>> setup' as root. If it is available in your distribution, you should
>> install the DKMS package first. This package keeps track of Linux kernel
>> changes and recompiles the vboxdrv kernel module if necessary.
>>
>> But there is no such file '/etc/init.d/vboxdrv'
>>
>> How to fix?
>>
>> Reported here:
>>
>> <https://issues.openmandriva.org/show_bug.cgi?id=1325>
>> https://issues.openmandriva.org/show_bug.cgi?id=1325
>>
>>
>> what is the output of:
>>
>> # dkms status
>>
>>
>> ?
>>
>>
>>
>>
>> --
>> Ben Bullard
>> ben79
>> --------------------
>> OpenMandriva-QA Team
>>
>>
>>
>>
>> _______________________________________________
>> OM-Cooker mailing 
>> [email protected]http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org
>>
>>
>>
>> --
>> Saluti, Luca Pedrielli
>>
>>
>> _______________________________________________
>> OM-Cooker mailing list
>> [email protected]
>> http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org
>>
>
>
>
> --
> -- Alisson Oliveira Ferreira
> |    _
> |   °v°
> | /(om)\ OpenMandriva
> |   ^ ^        Linux
>
> *            KDE 4.12__       *
>
> *http://www.openmandriva-br.org <http://www.openmandriva-br.org> *
>
>
> _______________________________________________
> OM-Cooker mailing 
> [email protected]http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org
>
>
>
> _______________________________________________
> OM-Cooker mailing list
> [email protected]
> http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org
>
_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to