Results 1 to 9 of 9

Thread: Cannot Start VirtualBox

  1. #1

    Default Cannot Start VirtualBox

    Well I hope I can get this one figured out, I have been stumped for a while. I have been having some problems with virtualbox starting. So here is the issue:

    When I start a VM I get the following:

    Code:
    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. Please reinstall the kernel module by executing
    
    '/etc/init.d/vboxdrv setup'
    So I do just that, and the results are:

    # /etc/init.d/vboxdrv setup

    Stopping VirtualBox kernel modules done
    Uninstalling old VirtualBox DKMS kernel modules done
    Trying to register the VirtualBox kernel modules using DKMS failed
    (Failed, trying without DKMS)
    Recompiling VirtualBox kernel modules failed (Look at /var/log/vbox-install.log to find out what went wrong) [/CODE]

    So I check to see if I have the proper packages in stalled using this:

    Code:
    j # uname -a
    Linux js-lnx 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 i686 i686 i386 GNU/Linux
    [CODE]# rpm -q pam-devel make gcc kernel-source
    pam-devel-1.1.1.90-1.6.i586
    make-3.81-135.1.i586
    gcc-4.5-4.2.i586
    kernel-source-2.6.34.7-0.7.1.noarch

    and ..

    Code:
     # rpm -qa | grep kernel
    kernel-syms-2.6.34.7-0.7.1.i586
    kernel-devel-2.6.34.7-0.7.1.noarch
    kernel-pae-devel-2.6.34.7-0.7.1.i586
    kernel-desktop-devel-2.6.34.7-0.7.1.i586
    kernel-desktop-2.6.34.7-0.7.1.i586
    kernel-xen-devel-2.6.34.7-0.7.1.i586
    kernel-default-devel-2.6.34.7-0.7.1.i586
    kernel-source-2.6.34.7-0.7.1.noarch
    The only thing that I can see in dmesg is this:

    Code:
     1010.751683] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
    [ 1077.099036] usb 1-3: reset high speed USB device using ehci_hcd and address 2
    [ 2112.102023] usb 1-3: reset high speed USB device using ehci_hcd and address 2
    I am seeing quite a few entries about the usb. I am not sure if that is common or if its unrelated. I am running x86 11.3, and virtualbox 4.0.4 I have tried to uninstall, and even go back to 3.2 but I still get the same problems any way I try. thanks

  2. #2

    Default Re: Cannot Start VirtualBox

    On 03/10/2011 05:06 AM, ice2921 wrote:

    But you don't say if you did this:

    > (Look at /var/log/vbox-install.log to find out what went wrong)


    What does /var/log/vbos-install.log say?

    --
    Kevin Miller - http://www.alaska.net/~atftb
    Juneau, Alaska
    In a recent survey, 7 out of 10 hard drives preferred Linux
    Registered Linux User No: 307357, http://counter.li.org

  3. #3

    Default Re: Cannot Start VirtualBox

    IM sorry I did do that and I found this:


    Code:
    ke KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -C /lib/modules/2.6.34.7-0.7-desktop/build modules
    make -C ../../../linux-2.6.34.7-0.7 O=/usr/src/linux-2.6.34.7-0.7-obj/i386/desktop/. modules
    make -C /usr/src/linux-2.6.34.7-0.7-obj/i386/desktop \
            KBUILD_SRC=/usr/src/linux-2.6.34.7-0.7 \
            KBUILD_EXTMOD="/tmp/vbox.0" -f /usr/src/linux-2.6.34.7-0.7/Makefile \
            modules
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
            echo;                                                           \
            echo "  ERROR: Kernel configuration is invalid.";               \
            echo "         include/generated/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.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
    make -f /usr/src/linux-2.6.34.7-0.7/scripts/Makefile.build obj=/tmp/vbox.0
      gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.5/include -I/usr/src/linux-2.6.34.7-0.7/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34.7-0.7/include -include include/generated/autoconf.h   -I/tmp/vbox.0 -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 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fomit-frame-pointer -fasynchronous-unwind-tables -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/lib/modules/2.6.34.7-0.7-desktop/build/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_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=27" -D"DEBUG_HASH2=27" -c -o /tmp/vbox.0/linux/.tmp_SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
      gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.5/include -I/usr/src/linux-2.6.34.7-0.7/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34.7-0.7/include -include include/generated/autoconf.h   -I/tmp/vbox.0 -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 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fomit-frame-pointer -fasynchronous-unwind-tables -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/lib/modules/2.6.34.7-0.7-desktop/build/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_X86 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -D"DEBUG_HASH=60" -D"DEBUG_HASH2=43" -c -o /tmp/vbox.0/.tmp_SUPDrv.o /tmp/vbox.0/SUPDrv.c
    {standard input}: Assembler messages:
    {standard input}:123: Error: unknown .loc sub-directive `discriminator'
    {standard input}:123: Error: junk at end of line, first unrecognized character is `1'
    {standard input}:235: Error: unknown .loc sub-directive `discriminator'
    {standard input}:235: Error: junk at end of line, first unrecognized character is `1'
    {standard input}:745: Error: unknown .loc sub-directive `discriminator'
    {standard input}:745: Error: junk at end of line, first unrecognized character is `1'
    {standard input}:988: Error: unknown .loc sub-directive `discriminator'
    {standard input}:988: Error: junk at end of line, first unrecognized character is `2'
    {standard input}:1031: Error: unknown .loc sub-directive `discriminator'
    {standard input}:1031: Error: junk at end of line, first unrecognized character is `2'
    {standard input}:1522: Error: unknown .loc sub-directive `discriminator'
    {standard input}:1522: Error: junk at end of line, first unrecognized character is `2'
    {standard input}:1548: Error: unknown .loc sub-directive `discriminator'
    {standard input}:1548: Error: junk at end of line, first unrecognized character is `2'
    {standard input}:1574: Error: unknown .loc sub-directive `discriminator'
    {standard input}:1574: Error: junk at end of line, first unrecognized character is `2'
    Code:
    I just dont know what that means. The only thing that I have noticed was this:
    
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
            echo;                                                           \
            echo "  ERROR: Kernel configuration is invalid.";               \
            echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
            echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
            echo;                                                           \
            /bin/false)
    Does that make any sense?

  4. #4

    Default Re: Cannot Start VirtualBox

    On 03/10/2011 08:36 AM, ice2921 wrote:
    >
    > IM sorry I did do that and I found this:

    snip
    >
    > Does that make any sense?


    Error: junk at end of line, first unrecognized character is `2' implies
    to me that maybe the package is corrupt. Were you installing from a
    repo, or did you download from Oracle's site or what?

    I'd download a new package, and check the md5 sum

    Do you have the virtualbox repo in your repo list?

    http://download.virtualbox.org/virtu.../opensuse/11.3

    That's where I pull my vbox package from.


    ....Kevin
    --
    Kevin Miller - http://www.alaska.net/~atftb
    Juneau, Alaska
    In a recent survey, 7 out of 10 hard drives preferred Linux
    Registered Linux User No: 307357, http://counter.li.org

  5. #5

    Default Re: Cannot Start VirtualBox

    I did both but still not joy. I tried from the repo and from the site. I do have the repo enabled.

  6. #6

    Default Re: Cannot Start VirtualBox

    On 03/10/2011 09:36 AM, ice2921 wrote:
    >
    > I did both but still not joy. I tried from the repo and from the site. I
    > do have the repo enabled.
    >
    >

    You're on openSUSE 11.3, right? What version of binutils is installed
    (rpm -q binutils)

    Mine's binutils-2.20.0-6.10.i586, although I haven't tried compiling the
    latest virtualbox.

    Just noticed this in your output from the build log:
    Code:
    echo "         Run 'make oldconfig && make prepare' on kernel src to
    fix it.";  \
    I'm a little out of my depth here, but you might try running that
    command. Backup your system - lots of room for shooting oneself in the
    foot with kernel stuff. Hopefully someone wiser than I will chime in on
    more specifics on that...

    ....Kevin
    --
    Kevin Miller - http://www.alaska.net/~atftb
    Juneau, Alaska
    In a recent survey, 7 out of 10 hard drives preferred Linux
    Registered Linux User No: 307357, http://counter.li.org

  7. #7

    Default Re: Cannot Start VirtualBox

    I have had this working for quite sometime now. My binutils are the same as yours, and I have all the necessary files.

  8. #8

    Default Re: Cannot Start VirtualBox

    On 03/10/2011 12:06 PM, ice2921 wrote:
    >
    > I have had this working for quite sometime now. My binutils are the same
    > as yours, and I have all the necessary files.


    Bogus. Hopefully someone else will have an idea. I'm stumped...

    --
    Kevin Miller
    Juneau, Alaska
    http://www.alaska.net/~atftb
    "In the history of the world, no one has ever washed a rented car."
    - Lawrence Summers

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,748

    Default Re: Cannot Start VirtualBox

    Down load the generic version from Vbox site and compile it you will need gcc +Kernel-source for your tunning kernel. But first uninstall the stuff you have.

Posting Permissions

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