Mailinglist Archive: opensuse-de (1764 mails)

< Previous Next >
Re: Kein USB unter VirtualBox / openSuSE 11.1?
  • From: "Achim Seel" <achim.seel@xxxxxxxxxxxxxx>
  • Date: Fri, 2 Jan 2009 08:28:01 +0100
  • Message-id: <5300fae60901012328w1a12d3b1p8a3aaf197da83539@xxxxxxxxxxxxxx>
Hallo Thomas (und alle anderen),


erstmal ein gesundes Neues Jahr. Hoffe, es sind alle gut reingekommen.

Ich melde mich nochmal zurück, nachdem ich mir über den Jahreswechsel
eine "Installations-Auszeit" genommen habe.
Es haut noch nicht so recht hin.

Ich gehe mal davon aus, dass Du das RPM von der Website virtualbox.org in
Deinem Home liegen hast.

Ja.

In der Konsole mal den Befehl hier eingeben:
rpm -i --force VirtualBox-2.1.0_41146_openSUSE111-1.i586.rpm

Hab ich gemacht.
Es kam folgende Fehlermeldung:

"No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

/etc/init.d/vboxdrv setup

as root."

In der /var/log/vbox-install.log stand der Hinweis, dass das
Kernerl-Include nicht gefunden wurde und der Hinweis, dieses mit
KERN_INCL= ... anzugeben (den genauen Wortlaut der Fehlermeldung habe
ich leider nicht mehr, weil das LOG schon wieder überschrieben wurde).

Daraufhin habe ich mit Yast die Kernel-Sources installiert. Includes
gibt es zwar jede Menge, aber ein spezielles Kernel-Include habe ich
nicht gefunden.

Nachdem ich das empfohlene /etc/init.d/vboxdrv setup ausgeführt habe,
kam folgende Fehlermeldung:

"Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)"

Im Logfile steht jetzt folgendes:

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27.7-9-pae/build
SUBDIRS=/tmp/vbox.1 SRCROOT=/tmp/vbox.1 modules
make -C ../../../linux-2.6.27.7-9
O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. modules
make -C /usr/src/linux-2.6.27.7-9-obj/i386/pae \
KBUILD_SRC=/usr/src/linux-2.6.27.7-9 \
KBUILD_EXTMOD="/tmp/vbox.1" -f /usr/src/linux-2.6.27.7-9/Makefile \
modules
/usr/src/linux-2.6.27.7-9/scripts/gcc-version.sh: line 25: gcc:
command not found
/usr/src/linux-2.6.27.7-9/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.7-9/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.7-9/include
-I/usr/src/linux-2.6.27.7-9/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 -Os -msoft-float -mregparm=3
-freg-struct-return -march=i586 -ffreestanding -pipe -Wno-sign-compare
-I/usr/src/linux-2.6.27.7-9/include/asm-x86/mach-generic
-Iinclude/asm-x86/mach-generic
-I/usr/src/linux-2.6.27.7-9/include/asm-x86/mach-default
-Iinclude/asm-x86/mach-default -fomit-frame-pointer
-fasynchronous-unwind-tables
-I/lib/modules/2.6.27.7-9-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 -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


Danach habe ich mit Yast das Paket "autoconf" installiert.
Eine autoconf.h oder auto.conf finde ich aber im Verzeichnis immer noch nicht.

Ich bin leider in Linux noch nicht so fit, dass ich diese Meldungen
deuten könnte und bräuchte weitere Hilfe.


Vielen Dank im Voraus.
Achim
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups