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

Thread: Virtualbox Issue 12.1

  1. #1
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Virtualbox Issue 12.1

    Hi,
    I downloaded & installed Virtual box but it wont start.
    Code:
    # /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
    Error! Your kernel headers for kernel 3.1.10-1.13-desktop cannot be found at
    /lib/modules/3.1.10-1.13-desktop/build or /lib/modules/3.1.10-1.13-desktop/source.
                                                                         failed
      (Failed, trying without DKMS)
    Recompiling VirtualBox kernel modules                                failed
      (Look at /var/log/vbox-install.log to find out what went wrong)

    I have already installed autoconf, dkms, linux-glibc-devel, kernel-source, kernel-syms, gcc, make, kernel-devel

    What is going wrong ?
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Virtualbox Issue 12.1

    On 2012-06-27 19:16, suse kid wrote:
    >
    > Hi,
    > I downloaded & installed Virtual box but it wont start.


    There is a virtualization forum for these questions.

    > [image:
    > https://dl.dropbox.com/u/30630174/Sc...3A31%3A31.png]


    Sorry, it is unreadable.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)



  3. #3
    Vahis NNTP User

    Default Re: Virtualbox Issue 12.1

    suse kid wrote:
    >
    > Hi,
    > I downloaded & installed Virtual box but it wont start. [image:
    > https://dl.dropbox.com/u/30630174/Sc...3A31%3A31.png]
    >
    > Code:
    > --------------------
    > # /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
    > Error! Your kernel headers for kernel 3.1.10-1.13-desktop cannot be found at
    > /lib/modules/3.1.10-1.13-desktop/build or /lib/modules/3.1.10-1.13-desktop/source.
    > failed
    > (Failed, trying without DKMS)
    > Recompiling VirtualBox kernel modules failed
    > (Look at /var/log/vbox-install.log to find out what went wrong)
    >
    > --------------------
    >
    >
    >
    > I have already installed autoconf, dkms, linux-glibc-devel,
    > kernel-source, kernel-syms, gcc, make, kernel-devel
    >
    > What is going wrong ?
    >
    >


    It says there:
    Look at /var/log/vbox-install.log to find out what went wrong

    Did you look?

    Vahis
    --
    http://waxborg.servepics.com
    openSUSE 11.4 (x86_64) 2.6.37.6-0.11-default main host
    openSUSE 12.1 (x86_64) 3.4.2-29-desktop Tumbleweed in VirtualBox
    openSUSE 12.1 (i586) 3.1.10-1.13-desktop in EeePC 900



  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: Virtualbox Issue 12.1

    Moving to virtualization forum
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  5. #5
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: Virtualbox Issue 12.1

    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  6. #6

    Default Re: Virtualbox Issue 12.1

    Look at the kernel source and kernel version. I bet they don't match.

    Quote Originally Posted by suse_kid View Post
    Code:
    Trying to register the VirtualBox kernel modules using DKMS
    Error! Your kernel headers for kernel 3.1.10-1.13-desktop cannot be found at
    /lib/modules/3.1.10-1.13-desktop/build or /lib/modules/3.1.10-1.13-desktop/source.
                                                                         failed
      (Failed, trying without DKMS)
    Recompiling VirtualBox kernel modules                                failed
    Quote Originally Posted by suse_kid View Post
    I have already installed autoconf, dkms, linux-glibc-devel, kernel-source, kernel-syms, gcc, make, kernel-devel
    You should update the running kernel and reboot before installing the kernel source*, because the kernel source available are always the latest one. If kernel and kernel source don't match, compiling the module fails.

    Code:
    /tmp/vbox.0/Makefile:175: 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.6/include -I/usr/src/linux-3.1.10-1.9/arch/x86/include -Iarch/x86/include/generated -Iinclude  -include /usr/src/linux-3.1.10-1.9/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 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -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.1.10-1.9/include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory
    compilation terminated.

    Quote Originally Posted by swerdna View Post
    Moving to virtualization forum
    Doesn't look like it.

    * More precisely, before installing VirtualBox.

  7. #7
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: Virtualbox Issue 12.1

    Quote Originally Posted by please_try_again View Post
    Look at the kernel source and kernel version. I bet they don't match.
    You should update the running kernel and reboot before installing the kernel source*, because the kernel source available are always the latest one. If kernel and kernel source don't match, compiling the module fails.

    [
    Yes you are right.

    Code:
    # zypper se -si kernel-desktop
    Loading repository data...
    Reading installed packages...
    
    S | Name                 | Type    | Version       | Arch   | Repository          
    --+----------------------+---------+---------------+--------+---------------------
    i | kernel-desktop       | package | 3.1.10-1.13.1 | x86_64 | (System Packages)   
    i | kernel-desktop-devel | package | 3.1.10-1.9.1  | x86_64 | openSUSE-12.1-Update

    These two packages dont match. What is the solution? zypeer refresh / zypper update shows no available updates.
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  8. #8

    Default Re: Virtualbox Issue 12.1

    Quote Originally Posted by suse_kid View Post
    These two packages dont match. What is the solution? zypeer refresh / zypper update shows no available updates.
    I don't believe that.


    Code:
     # zypper se -si kernel-desktop
    Loading repository data...
    Reading installed packages...
    
    S | Name                 | Type    | Version       | Arch   | Repository       
    --+----------------------+---------+---------------+--------+------------------
    i | kernel-desktop       | package | 3.1.10-1.13.1 | x86_64 | (System Packages)
    i | kernel-desktop-devel | package | 3.1.10-1.13.1 | x86_64 | (System Packages)

  9. #9
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: Virtualbox Issue 12.1

    Quote Originally Posted by please_try_again View Post
    I don't believe that.


    Code:
     # zypper se -si kernel-desktop
    Loading repository data...
    Reading installed packages...
    
    S | Name                 | Type    | Version       | Arch   | Repository       
    --+----------------------+---------+---------------+--------+------------------
    i | kernel-desktop       | package | 3.1.10-1.13.1 | x86_64 | (System Packages)
    i | kernel-desktop-devel | package | 3.1.10-1.13.1 | x86_64 | (System Packages)
    Look at the repository difference. Both of your packages are from System Packages and in my case the kernel-desktop-devel is from the openSUSE-12.1-Update repo.
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  10. #10
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Virtualbox Issue 12.1

    Am 28.06.2012 10:16, schrieb please try again:
    >
    > suse_kid;2471711 Wrote:
    >>
    >> These two packages dont match. What is the solution? zypeer refresh /
    >> zypper update shows no available updates.

    >
    > I don't believe that.

    The updates for 3.1.10-1.13.1 where removed from the repositories
    because of suspend and shutdown problems on too many machines, they are
    no longer shown and available.
    If you go into yast and show your kernel package you will see it marked
    in red.

    @suse kid
    Go into yast serach for kernel-desktop and with the version tab change
    it to 3.1.10-1.9.1 so that your system is again consistent (reboot of
    course after that).


    --
    PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
    ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.4 | HD 3000
    eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10



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
  •