Hein_Blöd
08.11.09, 22:58
Hallo Freunde des Pinguins,
[leider habe ich seit einigen Stunden ein Problem mit meinem Computer, das ich nicht mehr allein gebacken kriege. Vorher hatte ich ein ganz gut laufendes Opensuse 11.1. Eine Vorversion von Virtualbox installierte ich vor einigen Tagen - es lief und ich wollte anfangen damit zu arbeiteten (Teilaspekt: neue Arbeitsspeicher hatte ich ein paar Tage früher eingebaut - seitdem hängt sich die Kiste öfter mal auf - was vorher fast nie der Fall war; war wohl doch zu billig.)]
Zum Problem: Virtualbox hat mich davon in Kenntnis gesetzt, dass eine Version da wäre. Ich war so blöd diese zu installieren.
Danach gab es dann diese Meldung hier:
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. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
worauf ich in etwa dieses Programm hier durchgezogen habe:
http://www.linuxforen.de/forums/showthread.php?t=261971 (Link nur exemplarisch)
Statt "Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop." (was ursprünglich im Logfile stand), ist das hier:
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
..noch häßlicher geworden:
/var/log/vbox-install.log
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27.37-0.1-pae/build SUBDIRS=/tmp/vbox.1 SRCROOT=/tmp/vbox.1 modules
make -C ../../../linux-2.6.27.37-0.1 O=/usr/src/linux-2.6.27.37-0.1-obj/i386/pae/. modules
make -C /usr/src/linux-2.6.27.37-0.1-obj/i386/pae \
KBUILD_SRC=/usr/src/linux-2.6.27.37-0.1 \
KBUILD_EXTMOD="/tmp/vbox.1" -f /usr/src/linux-2.6.27.37-0.1/Makefile \
modules
/usr/src/linux-2.6.27.37-0.1/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-2.6.27.37-0.1/scripts/gcc-version.sh: line 26: gcc: command not found
make[3]: gcc: Command not found
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.1/.tmp_versions ; rm -f /tmp/vbox.1/.tmp_versions/*
make -f /usr/src/linux-2.6.27.37-0.1/scripts/Makefile.build obj=/tmp/vbox.1
gcc -Wp,-MD,/tmp/vbox.1/linux/.SUPDrv-linux.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.37-0.1/include -I/usr/src/linux-2.6.27.37-0.1/arch/x86/include -include include/linux/autoconf.h -I/tmp/vbox.1 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -fno-delete-null-pointer-checks -Os -msoft-float -mregparm=3 -freg-struct-return -march=i586 -ffreestanding -pipe -Wno-sign-compare -I/usr/src/linux-2.6.27.37-0.1/include/asm-x86/mach-generic -Iinclude/asm-x86/mach-generic -I/usr/src/linux-2.6.27.37-0.1/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -g -I/lib/modules/2.6.27.37-0.1-pae/build/include -I/tmp/vbox.1/ -I/tmp/vbox.1/include -I/tmp/vbox.1/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_X86 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -D"DEBUG_HASH=60" -D"DEBUG_HASH2=43" -c -o /tmp/vbox.1/linux/.tmp_SUPDrv-linux.o /tmp/vbox.1/linux/SUPDrv-linux.c
/bin/sh: gcc: command not found
make[4]: *** [/tmp/vbox.1/linux/SUPDrv-linux.o] Error 127
make[3]: *** [_module_/tmp/vbox.1] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [vboxdrv] Error 2
(Mist gemacht)
rpm -qa | grep kernel
linux-kernel-headers-2.6.27-2.28
kernel-pae-base-2.6.27.37-0.1.1
kernel-source-2.6.27.37-0.1.1
kernel-pae-2.6.27.37-0.1.1
kernel-pae-extra-2.6.27.37-0.1.1
rpm -qa | grep make
make-3.81-128.9
rpm -qa | grep gcc
gcc43-gij-4.3.3_20081022-9.2
gcc43-4.3.3_20081022-9.5
libgcc43-4.3.3_20081022-9.5
gcc-gij-4.3-34.168
(Die Nummern passen nicht zusammen aber ich finde nichts anderes über yast; habe allerdings aus nem anderen Thread eine Befehlsfolge zur Installation via Zypper ausgeführt - mittendrin ist die Kiste aber völlig abgeschmiert daher habe ich das nicht nochmal gemacht ( ja, lacht über mich)..)
Kernel-Source mit der Ziffernfolge 2.6.27.37-0.1.1 habe ich installiert.
Falls einer Rat wissen sollte, wäre ich dankbar.
Gruß
& Hilferuf
Hein_Blöd
[leider habe ich seit einigen Stunden ein Problem mit meinem Computer, das ich nicht mehr allein gebacken kriege. Vorher hatte ich ein ganz gut laufendes Opensuse 11.1. Eine Vorversion von Virtualbox installierte ich vor einigen Tagen - es lief und ich wollte anfangen damit zu arbeiteten (Teilaspekt: neue Arbeitsspeicher hatte ich ein paar Tage früher eingebaut - seitdem hängt sich die Kiste öfter mal auf - was vorher fast nie der Fall war; war wohl doch zu billig.)]
Zum Problem: Virtualbox hat mich davon in Kenntnis gesetzt, dass eine Version da wäre. Ich war so blöd diese zu installieren.
Danach gab es dann diese Meldung hier:
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. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
worauf ich in etwa dieses Programm hier durchgezogen habe:
http://www.linuxforen.de/forums/showthread.php?t=261971 (Link nur exemplarisch)
Statt "Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop." (was ursprünglich im Logfile stand), ist das hier:
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
..noch häßlicher geworden:
/var/log/vbox-install.log
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27.37-0.1-pae/build SUBDIRS=/tmp/vbox.1 SRCROOT=/tmp/vbox.1 modules
make -C ../../../linux-2.6.27.37-0.1 O=/usr/src/linux-2.6.27.37-0.1-obj/i386/pae/. modules
make -C /usr/src/linux-2.6.27.37-0.1-obj/i386/pae \
KBUILD_SRC=/usr/src/linux-2.6.27.37-0.1 \
KBUILD_EXTMOD="/tmp/vbox.1" -f /usr/src/linux-2.6.27.37-0.1/Makefile \
modules
/usr/src/linux-2.6.27.37-0.1/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-2.6.27.37-0.1/scripts/gcc-version.sh: line 26: gcc: command not found
make[3]: gcc: Command not found
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.1/.tmp_versions ; rm -f /tmp/vbox.1/.tmp_versions/*
make -f /usr/src/linux-2.6.27.37-0.1/scripts/Makefile.build obj=/tmp/vbox.1
gcc -Wp,-MD,/tmp/vbox.1/linux/.SUPDrv-linux.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.37-0.1/include -I/usr/src/linux-2.6.27.37-0.1/arch/x86/include -include include/linux/autoconf.h -I/tmp/vbox.1 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -fno-delete-null-pointer-checks -Os -msoft-float -mregparm=3 -freg-struct-return -march=i586 -ffreestanding -pipe -Wno-sign-compare -I/usr/src/linux-2.6.27.37-0.1/include/asm-x86/mach-generic -Iinclude/asm-x86/mach-generic -I/usr/src/linux-2.6.27.37-0.1/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -g -I/lib/modules/2.6.27.37-0.1-pae/build/include -I/tmp/vbox.1/ -I/tmp/vbox.1/include -I/tmp/vbox.1/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_X86 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -D"DEBUG_HASH=60" -D"DEBUG_HASH2=43" -c -o /tmp/vbox.1/linux/.tmp_SUPDrv-linux.o /tmp/vbox.1/linux/SUPDrv-linux.c
/bin/sh: gcc: command not found
make[4]: *** [/tmp/vbox.1/linux/SUPDrv-linux.o] Error 127
make[3]: *** [_module_/tmp/vbox.1] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [vboxdrv] Error 2
(Mist gemacht)
rpm -qa | grep kernel
linux-kernel-headers-2.6.27-2.28
kernel-pae-base-2.6.27.37-0.1.1
kernel-source-2.6.27.37-0.1.1
kernel-pae-2.6.27.37-0.1.1
kernel-pae-extra-2.6.27.37-0.1.1
rpm -qa | grep make
make-3.81-128.9
rpm -qa | grep gcc
gcc43-gij-4.3.3_20081022-9.2
gcc43-4.3.3_20081022-9.5
libgcc43-4.3.3_20081022-9.5
gcc-gij-4.3-34.168
(Die Nummern passen nicht zusammen aber ich finde nichts anderes über yast; habe allerdings aus nem anderen Thread eine Befehlsfolge zur Installation via Zypper ausgeführt - mittendrin ist die Kiste aber völlig abgeschmiert daher habe ich das nicht nochmal gemacht ( ja, lacht über mich)..)
Kernel-Source mit der Ziffernfolge 2.6.27.37-0.1.1 habe ich installiert.
Falls einer Rat wissen sollte, wäre ich dankbar.
Gruß
& Hilferuf
Hein_Blöd