Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

VirtualBox и заголовки ядра.

$
0
0
После обновки перестал работать VirtualBox при попытке запустить вот что Kernel driver not installed (rc=-1908)
После /etc/init.d/vboxdrv setup
Trying to register the VirtualBox kernel modules using DKMSError! echo
Поставил DKMS получилось

Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.7.10-1.16-vanilla cannot be found at
/lib/modules/3.7.10-1.16-vanilla/build or /lib/modules/3.7.10-1.16-vanilla/source.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)



Думал что поможет нумба мод рекомпелятор.
Но результат тот же.

Собственно как это лечить и откуда взять
Quote:

Your kernel headers for kernel 3.7.10-1.16-vanilla cannot be found at
У нас в репах не нашел, в инете тоже ни чего стоящего.
Как это лечить, советы, примеры, плиз.

Loг
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.2.16

------------------------------
Deleting module version: 4.2.16
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.2.16/source ->
/usr/src/vboxhost-4.2.16

DKMS: add completed.
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
make[1]: gcc: Command not found
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/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.

mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*

WARNING: Symbol version dump /usr/src/linux-3.7.10-1.16/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f scripts/Makefile.build obj=/tmp/vbox.0
/tmp/vbox.0/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.
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem -I/usr/src/linux-3.7.10-1.16/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/linux-3.7.10-1.16/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.7.10-1.16/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.7.10-1.16/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/usr/src/linux/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/bin/sh: gcc: команда не найдена
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Ошибка 127
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>