Problem with VirtualBox after upgrading kernel to 4.5.2
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'll get there. I'll try the module method you mentioned before the fallback reinstall one. However, vboxdrv isn't installed despite dpkg-l showing that virtualbox-5.0 is installed.
I guess vboxdrv is being faulty. I believe if you installed from source or tried loading your modules with no effect, I guess your reinstall might be the only option.
Info:
About the /etc/modules, it will load those modules on boot if all goes well.
Sincerely,
donald3.heckel
Last edited by donald3.heckel; 04-29-2016 at 02:12 PM.
Reason: Updated response
OK, I uninstalled, purged and installed VirtualBox exactly as you suggested. The result of the installation was:
Code:
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 5.0.20 r106931 (2016-04-28T13:33:21Z) installer
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
Building the VirtualBox kernel modules
Error! Bad return status for module build on kernel: 4.5.2-040502-generic (x86_64)
Consult /var/lib/dkms/vboxhost/5.0.20/build/make.log for more information.
VirtualBox has been installed successfully.
You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ
We hope that you enjoy using VirtualBox.
Then, I experience exactly the same problem in trying to launch a VirtualBox client as before.
The build log complains about the lack of support for -fstack-protector-strong as before.
Donald, thanks for all your help, but I'm going to restore my previous o/s from backup (I tried rebooting into the older kernel but VirtualBox is now balking for another reason - it will be cleaner to just restore things as they were). I reckon my experiment with upgrading my kernel is at an end...
On running dpkg-reconfigure virtualbox-5.0, the result is:
Code:
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File: does not exist.
...done.
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 4.5.2-040502-generic (x86_64)
Consult /var/lib/dkms/vboxhost/5.0.20/build/make.log for more information.
...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
/var/log/vbox-install.log is quite complex but the main error seems to be that -fstack-protector-strong is not recognised as a command line option by gcc.
do you have DKMS installed???
header files, and all that other stuff it needs to build what it needs to?
I did a remove everything, but my files with installes in them. then reinstalled it, let it pull in the dependices and do its thing, it saved me a lot of problems and such.
mine just picks the installed VirtOS's when its reinstlled due to the config dir it puts in /home/user/xxx
you might have to twik it a little to get them working, but you do not lose anything. I didn't anyways.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.