Hallo
Ich habe ein Problem mit Virtualbox (nicht aus dem Repo), ich kann weder eine Maschine starten noch kann ich die benöigten Kernelmodule compilieren.
Und was installiert ist:
Wenn ich versuche den kernel-devel zu deinstallieren passiert leider das:
Aber die kernel-source wird doch benötigt für VirtualBox.
Der Vorgang des compilierens ist wie immer unspektakulär:
So das ich in die Log-Datei sehe:
Für mich als Laie sieht das so aus als wenn das Makefile (wo auch immer es ist) nicht richtig ist oder täusche ich mich da?
Lieben Gruß aus Hessen
Ich habe ein Problem mit Virtualbox (nicht aus dem Repo), ich kann weder eine Maschine starten noch kann ich die benöigten Kernelmodule compilieren.
Code:
uname -a
Linux openSUSE-Desk 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux
Und was installiert ist:
Code:
zypper se -si kernel virtualbox make gcc
S | Name | Typ | Version | Arch | Repository
--+------------------------------+-------+----------------------------+--------+------------------
i | VirtualBox-4.2 | Paket | 4.2.10_84104_openSUSE114-1 | x86_64 | (Systempakete)
i | gcc | Paket | 4.7-7.1.1 | x86_64 | openSUSE-12.3-Oss
i | gcc47 | Paket | 4.7.2_20130108-2.1.6 | x86_64 | openSUSE-12.3-Oss
i | kernel-desktop | Paket | 3.7.10-1.1.1 | x86_64 | openSUSE-12.3-Oss
i | kernel-devel | Paket | 3.7.10-1.1.1 | noarch | openSUSE-12.3-Oss
i | kernel-firmware | Paket | 20130114git-1.2.1 | noarch | openSUSE-12.3-Oss
i | kernel-source | Paket | 3.7.10-1.1.1 | noarch | openSUSE-12.3-Oss
i | libgcc_s1 | Paket | 4.7.2_20130108-2.1.6 | x86_64 | openSUSE-12.3-Oss
i | libgcc_s1-32bit | Paket | 4.7.2_20130108-2.1.6 | x86_64 | openSUSE-12.3-Oss
i | make | Paket | 3.82-154.1.1 | x86_64 | openSUSE-12.3-Oss
i | perl-Locale-Maketext-Lexicon | Paket | 0.91-5.1.1 | noarch | openSUSE-12.3-Oss
Wenn ich versuche den kernel-devel zu deinstallieren passiert leider das:
Code:
zypper rm kernel-devel
Die folgenden Pakete werden GELÖSCHT:
kernel-devel kernel-source
Der Vorgang des compilierens ist wie immer unspektakulär:
Code:
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules done
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
Code:
cat /var/log/vbox-install.log
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 >&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.1/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 /usr/lib64/gcc/x86_64-suse-linux/4.7/include -I/usr/src/linux-3.7.10-1.1/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/linux-3.7.10-1.1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.7.10-1.1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.7.10-1.1/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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -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
In file included from <command-line>:0:0:
/usr/src/linux-3.7.10-1.1/include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Fehler 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
Für mich als Laie sieht das so aus als wenn das Makefile (wo auch immer es ist) nicht richtig ist oder täusche ich mich da?
Lieben Gruß aus Hessen