I am having problems with Oracle VM Virtualbox. I get this error output:
wellywu@linux-pn0z:~> sudo su -
root’s password:
linux-pn0z:~ # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 3.6.5-10-desktop cannot be found at
/lib/modules/3.6.5-10-desktop/build or /lib/modules/3.6.5-10-desktop/source.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
linux-pn0z:~ #
How do I solve this problem? I was told to take it to Tumbleweed.
wellywu@linux-pn0z:~> sudo su -
root’s password:
linux-pn0z:~ # zypper install linux-glibc-devel
Loading repository data…
Reading installed packages…
‘linux-glibc-devel’ is already installed.
No update candidate for ‘linux-glibc-devel-3.4.0-2.1.23.noarch’. The highest available version is already installed.
Resolving package dependencies…
DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it’s located.
Failed to install using DKMS, attempting to install without
Makefile:184: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /usr/src/linux modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo;
echo " ERROR: Kernel configuration is invalid.";
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo " Run ‘make oldconfig && make prepare’ on kernel src to fix it.";
echo;
/bin/false)
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.
I upgraded most of the other kernel-* packages as well. I could not upgrade the kernel-default-base and kernel-desktop-base to 3.6.5-10 because it would break compatibility with my current Linux kernel 3.6.5-10-desktop. I am installing Red Hat Fedora 17 64 bit into a second guest virtual machine using Oracle VM Virtualbox right now. It still works after I woke up from sleep earlier this morning.
I took a better look at some output you gave us. Why are you having both kernel-desktop-base and kernel-default-base installed? Seems to me that you have been messing with the kernel packages. A rule considering kernel-packages: they need to be one version for all. You can’t “upgrade most of” when the kernel is considered, not unless you force your way through, IMHO.
So, please again post output of
I just deleted kernel-default-base 3.4.x. I could not get rid of the other stuff because it would either break Oracle VM Virtualbox or my Realtek Communications, Inc. SD Card slot compatibility. I think that is all I needed to do. Thank you very much for your help.