Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: 11.2 + Virtualbox 3.0.12

  1. #1

    Default 11.2 + Virtualbox 3.0.12

    Hi,

    Trying to run VirtualBox and getting this message

    WARNING: The vboxdrv kernel module is not loaded. Either there is no module
    available for the current kernel (2.6.31.5-0.1-default) or it failed to
    load. Please recompile the kernel module and install it by

    sudo /etc/init.d/vboxdrv setup

    You will not be able to start VMs until this problem is fixed.
    WARNING: The compilation of the vboxdrv.ko kernel module failed during the
    installation for some reason. Starting a VM will not be possible.
    Please consult the User Manual for build instructions.
    /usr/bin/VirtualBox: line 72: /usr/lib/virtualbox/VirtualBox: Permission denied
    /usr/bin/VirtualBox: line 72: exec: /usr/lib/virtualbox/VirtualBox: cannot execute: Permission denied

    So therefore as root running /etc/init.d/vboxdrv setup

    Code:
    Makefile:150: 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 -C /usr/src/linux SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
    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)
    
      ERROR: Kernel configuration is invalid.
             include/linux/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-2.6.31.5-0.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:150: 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/lib/gcc/i586-suse-linux/4.4/include -Iinclude  -I/usr/src/linux-2.6.31.5-0.1/arch/x86/include -include include/linux/autoconf.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 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fomit-frame-pointer -I/usr/src/linux/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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)"  -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
    /tmp/vbox.0/linux/SUPDrv-linux.c:1: error: code model 'kernel' not supported in the 32 bit mode
    /tmp/vbox.0/linux/SUPDrv-linux.c:1: sorry, unimplemented: 64-bit mode not compiled in
    make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
    make[1]: *** [_module_/tmp/vbox.0] Error 2
    make: *** [vboxdrv] Error 2
    Any advice please?

  2. #2
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: 11.2 + Virtualbox 3.0.12

    Did you install the kernel source headers? It is needed to compile the virtualbox.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #3
    roderyf NNTP User

    Default Re: 11.2 + Virtualbox 3.0.12

    I'm running 3.1.0 without any problems?

  4. #4
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: 11.2 + Virtualbox 3.0.12

    Quote Originally Posted by roderyf View Post
    I'm running 3.1.0 without any problems?
    It will try to compile the module only if the kernel version is not matching.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  5. #5
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    74

    Default Re: 11.2 + Virtualbox 3.0.12

    I just installed VBoix 3.0.12 on my openSUSE 11.2 64bit.

    1. Make sure you have kernel-source, kernel-syms and make installed, just in case gcc also.
    2. Download the All Distributions vbox package from download page and install it.

    I had no probs, except gotta figure out how to enable sound under win7 in vbox session.
    Linux & Open Source World
    E@zyVG's Vichar::World Connected

    Free and open-source software is good for you and for the world.

  6. #6
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    74

    Default Re: 11.2 + Virtualbox 3.0.12

    .... or get .rpm from here:

    Index of /virtualbox/3.0.12/
    Linux & Open Source World
    E@zyVG's Vichar::World Connected

    Free and open-source software is good for you and for the world.

  7. #7
    Join Date
    Jul 2008
    Location
    in front of the keyboard
    Posts
    90

    Default Re: 11.2 + Virtualbox 3.0.12

    kernel-syms NEEDS to be installed !

  8. #8
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    2

    Default Re: 11.2 + Virtualbox 3.0.12

    I had a similar issue...since I have been running VBOX on 11.1 for a long time, I was puzzled when I ran into problems after installing VBOX 3.0.12 on 11.2.



    Following solved my issue:

    install kernel-headers
    install kernel-syms
    install make
    install gcc

    add users to vbox group

    compile: /etc/init.d/vboxdrv setup

    keep an eye on:vbox-install.log
    in /var/log

    hopes it helps you!
    ##################
    Andreas

    HP Compaq 6710b OpenSuse 11.2 x64 KDE 4.3.3 (Windows on VBOX)

  9. #9

    Default Re: 11.2 + Virtualbox 3.0.12

    Quote Originally Posted by andreas_ohlsson_q2d View Post
    I had a similar issue...since I have been running VBOX on 11.1 for a long time, I was puzzled when I ran into problems after installing VBOX 3.0.12 on 11.2.



    Following solved my issue:

    install kernel-headers
    install kernel-syms
    install make
    install gcc

    add users to vbox group

    compile: /etc/init.d/vboxdrv setup

    keep an eye on:vbox-install.log
    in /var/log

    hopes it helps you!
    Spot on - Thanks Andreas (all)

  10. #10
    dariofassi NNTP User

    Default Re: 11.2 + Virtualbox 3.0.xx

    I have a similar problem.
    I tried with all versions VirtualBox 3.0.x ;from OSS repo, from BuildService, from VirtualBox.org and nothing works.

    I'm running on openSuSE 11.2 x86_64 , HP 6830 (Intel P8400 / 3gb).

    I have installed Kernel syms , source and more.

    /etc/init.d/vboxdrv setup ; ends without errors, but when VM start I get this error:

    "Recompiling VirtualBox kernel module, NOT. It has been packaged.Recompiling VirtualBox netflt kernel module, NOT. It has been packaged. "

    or with .org version 3.0.12:

    "This VM can't execute in a KVM env"

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •