VirtualBox Guest Addition install failed

Hello,
I just build a linux-guest virtual box and I am trying to install the guest addition and the first step is to run "/etc/init.d/vboxadd setup". I got the following error:
+"The heaers for the current running kernel were not found. If the following module compilation fails then this could be the reason. The missing package can be probably installed with+
+yum install kernel-devel-2.6.18-194.e15+
+You system does not seem to be set up to build kernel modules. Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it, you can run /etc/init.d/vboxadd setup to build them."+
And the log file reads:
+"*** Error: unable to find the sources of your current linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop"+
I then tried "yum install dkms". This time no error but it says +"No package dkms available . Nothing to do".+ Also, my /usr/src/kernels directory is empty. I dont know if this is part of the reason.
Thanks for the help.
Harry

user11957149 wrote:
It says no package kernel-devel-2.6.18-194.e15 available. How can i install this package?I think that the 1 should be an 'l' - ie: kernel-devel-2.6.18-194.el5. Also, you should double-check your running kernel to make sure that corresponds to the version you are running.
Edited by: JaredGreenwald on May 4, 2011 10:26 PM

Similar Messages

  • Virtualbox guest addition  install issue on oel 64bit  guest

    Hi,
    my configuration is
    windows 7 home 64 bit -
    virtualbox 4.1.8
    I installed oel 64 bit guest
    and now I am trying to install the guest addition . but while installing it failed
    Building the main guest additon module FAILED
    it says of a missing package kernel-devel-2.6.32-100.26.2.el5
    so I did
    yum install kernel-devel-2.6.32-100.26.2.el5
    but now it complains
    ULN support will be disabled
    No package kernel-devel-2.6.32-100.26.2.el5 available
    appreciate any suggestion
    thanks
    Kart
    sharing 2 wonderful links
    https://blogs.oracle.com/fatbloke/entry/virtualbox_and_the_unbreakable_enterprise
    http://www.oracle.com/technetwork/articles/servers-storage-admin/vmlove-1368887.html
    Edited by: user12046749 on Feb 21, 2012 6:27 AM

    Thanks Avi..:) seems like i am progressing..
    [root@localhost yum.repos.d]# cat /etc/oracle-release
    Oracle Linux Server release 5.6
    so now I enabled all the enabled in the repos file . after that I was able to
    [root@localhost yum.repos.d]# yum install kernel-uek-devel-2.6.32-100.26.2.el5
    Loaded plugins: rhnplugin, security
    This system is not registered with ULN.
    ULN support will be disabled.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package kernel-uek-devel.x86_64 0:2.6.32-100.26.2.el5 set to be updated
    --> Finished Dependency Resolution
    Dependencies Resolved
    ===============================================================================================================
    Package Arch Version Repository Size
    ===============================================================================================================
    Installing:
    kernel-uek-devel x86_64 2.6.32-100.26.2.el5 ol5_u6_base 6.6 M
    Transaction Summary
    ===============================================================================================================
    Install 1 Package(s)
    Upgrade 0 Package(s)
    Total download size: 6.6 M
    Is this ok [y/N]: y
    Downloading Packages:
    kernel-uek-devel-2.6.32-100.26.2.el5.x86_64.rpm | 6.6 MB 00:21
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : kernel-uek-devel 1/1
    Installed:
    kernel-uek-devel.x86_64 0:2.6.32-100.26.2.el5
    Complete!
    [root@localhost yum.repos.d]#
    after that when i try to run guest addition it complains of gcc utility not found. Is there some other rpms that I need to install for guestaddition to run succesfully.
    Please let me know... thank you for the wonderful tips
    Kart.

  • Failed to install VirtualBox Guest Addition on Oracle Linux 6.1

    I can successfully install Oracle Linux 6.1 on VirtualBox 4.1. But failed to install VirtualBox Guest Additions with the following message: Building the main Guest Additions module [FAILED]. All other modules installed ok.

    Actually you don't have do install the developer version. According to the documentation http://www.virtualbox.org/manual/ch04.html you will need to install gcc and kernel-devel packages. In case Oracle Enterprise Linux does not find the required packages, you either have to install them from a different source (e.g. DVD) or use Oracle's public Yum server located at http://public-yum.oracle.com.

  • Error installing VirtualBox Guest Additions

    Hello. ¿Cuál es el motivo por el cual a la hora de instalar VirtualBox Guest Additions me sale lo siguiente?
    (1) 0 - ENTER:  DriverPackageInstallW
    (1) 0 - Installing INF file 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf' (Plug and Play).
    (1) 0 - Looking for Model Section [VBoxGuest.NTamd64]...
    (1) 0 - No matching devices found in INF "C:\Windows\System32\DriverStore\FileRepository\vboxguest.inf_amd64_neutral_08c563e3b006bb64\vboxguest.inf" on the Machine.
    (1) 0 - No drivers installed. No devices found that match driver(s) contained in 'C:\Windows\System32\DriverStore\FileRepository\vboxguest.inf_amd64_neutral_08c563e3b006bb64\vboxguest.inf'.
    (1) 0 - RETURN: DriverPackageInstallW  (0xE000020B)
    How I can solve this installation error?

    2898527 wrote:
    I was installing VirtualBox Guest Additions, and install gives me the following installation error:
    (1) 0 - ENTER:  DriverPackageInstallW
    (1) 0 - Installing INF file 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf' (Plug and Play).
    (1) 0 - Looking for Model Section [VBoxGuest.NTamd64]...
    (1) 0 - No matching devices found in INF "C:\Windows\System32\DriverStore\FileRepository\vboxguest.inf_amd64_neutral_08c563e3b006bb64\vboxguest.inf" on the Machine.
    (1) 0 - No drivers installed. No devices found that match driver(s) contained in 'C:\Windows\System32\DriverStore\FileRepository\vboxguest.inf_amd64_neutral_08c563e3b006bb64\vboxguest.inf'.
    (1) 0 - RETURN: DriverPackageInstallW  (0xE000020B)
    How is it possible that mistake, and how could I fix it?
    Regards,
    --Alejandro
    You just repeated your original post with no additional information.
    SPECIFICALLY, how were installing Guest Additions?  What SPECIFIC steps did you take?  Where, SPECIFICALLY, did you find the messages you posted?

  • How can i install virtualbox-guest-additions?

    pacman -S virtualbox-guest-additions
    edit rc.conf
    MODULES=(vboxguest vboxsf vboxvideo)
    under gnome
    glxgears 60.975fps
    but under centos 5.6 gnome 559.203fps
    how would i do to so fast?
    Last edited by oddhornedant (2011-04-25 10:03:56)

    This is the only entry I have in MODULES=(vboxdrv)
    I use Vbox from AUR as they work for me.
    I use win7/winxp fedora debian etc as guests with full access to usb/ shared drives etc.and full screen where possible as some distros do not do full screen in vbox without a lot of fiddling
    are you in the correct groups with out the correct permissions they do not work usbmux:x:140:username
    vboxusers:x:108:username

  • Build the main Guest Additions module Failed

    Hi all,
    I am not very sure if I am in the correct forum here. My problem is I cannot install the VirtualBox Guest Additions 4.2.12_84980 on my Oracle Linux 5 update 6_x86_64 bits system. I followed the instructions in a tutorial :
    cd /etc/yum.repos.d/
    wget http://public-yum.oracle.com/public-yum-el5.repo
    yum update
    yum install gcc
    yum install kernel-uek-devel-2.6.32-300.32.1.el5uek
    These steps above all succeeded; but, when I run the installation as below:
    cd /media/VBOXADDITIONS_4.2.12_84980/
    sh ./VBoxLinuxAdditions.run
    I got the error message:
    Build the main Guest Additions module Failed
    (Look at /var/log/vboxadd-install.log to find out what went wrong).
    I have little experience in installing VirtualBox Additions on Oracle Linux. Can anybody pls give me some suggestions? Thanks a lot in advance.

    user571093 wrote:
    Hi all,
    I am not very sure if I am in the correct forum here.No. This forum is "Oracle Database - General Questions". Your question has nothing to do with Oracle Database.
    Your problem is in the cracks between VBox and Oracle Linux. I'd suggest you mark this thread answered, then repost in the Oracle Linux Forum (Oracle Linux
    My problem is I cannot install the VirtualBox Guest Additions 4.2.12_84980 on my Oracle Linux 5 update 6_x86_64 bits system. I followed the instructions in a tutorial :
    cd /etc/yum.repos.d/
    wget http://public-yum.oracle.com/public-yum-el5.repo
    yum update
    yum install gcc
    yum install kernel-uek-devel-2.6.32-300.32.1.el5uek
    These steps above all succeeded; but, when I run the installation as below:
    cd /media/VBOXADDITIONS_4.2.12_84980/
    sh ./VBoxLinuxAdditions.run
    I got the error message:
    Build the main Guest Additions module Failed
    (Look at /var/log/vboxadd-install.log to find out what went wrong).Did you look at that file?
    >
    I have little experience in installing VirtualBox Additions on Oracle Linux. Can anybody pls give me some suggestions? Thanks a lot in advance.When you post in the Oracle Linux forum, be sure to show them the results of this command:
    uname -aThat will be key to which kernel header package to install.

  • [solved] Virtualbox guest additions stopped working

    Hi,
    I got some trouble after an upgrade of kernel yesterday. Virtualbox guest additions doesn't work any longer, and I have tried both downgrading virtualbox-guest-additions and the new linux that got pushed yesterday, but it's still not working.
    Is there some know issue related to this?
    Do anyone have information on how to trace errors with Virtualbox, or any guide on how to fix this.
    I have also tried a reinstall of the modules without success.
    Thanks.
    Last edited by grrrm (2014-10-08 15:45:45)

    Suddenly it worked

  • No network connection or virtualbox guest additions after upgrade

    I followed the instructions carefully, from the homepage, when carrying out the latest upgrade. Unfortunately, virtualbox guest additions is no longer working and nor can I get a network connection. To clarify, arch is running inside a virtual machine.
    I'm not sure where to start looking to be honest and would appreciate some pointers about to get me on the way towards solving this problem.
    EDIT: The virtualbox problem is related to error in the package
    Thanks
    Last edited by n_t (2013-06-11 19:01:52)

    for the guest additions, it's a bug in the package, look here: https://bbs.archlinux.org/viewtopic.php?id=164924
    For the network, you'll have to tell us how you were setting up the network before that isn't working now.

  • Errors installing virtualbox guest additions from AUR

    After failing to get ose guest additions working in an Arch guest on Ubuntu host by (a) mounting the ISO and (b) installing from pacman, I thought that it would be an idea to use builds from AUR as these would likely to be more customised for Arch guests.
    Installing ose-guest-additions-modules (the dependency for ose-guest-additions) worked flawlessly, but whenever I try and makepkg -s for ose-guest-additions I get the following error:
    install: cannot stat 'vboxadd-timesync' : no such file or directory
    install: cannot stat 'VBoxClient' : no such file or directory
    install: cannot stat 'mountvboxsf' : no such file or directory
    These directories do exist at /usr/share/virtualbox/additions/ so I am at a loss as to what is causing this to fail.
    (It is worth pointing out that I am new to Arch -and relatively new to Linux- & while I am having a lot of fun trying to figure this stuff out, I am aware that I am probably missing something quite obvious...)

    bump
    Last edited by Mufasaa (2015-06-12 13:04:45)

  • Installing virtualbox guest additions - No X-11

    OK, so I took the plunge (again) and [re]started with Arch.
    I have it right now as a virtualbox guest, but the screen is the size of a key hole.
    I followed the steps on the wiki here and I encountered a curve ball when it came to setting the values in ~/.xinitrc.
    The file is now there.  I had to manually create it as I do not have (or want) any non-terminal applications on this VM.
    However, when I run " ps ax | grep -i vbox ", the services VBoxClient --display | seamless | draganddrop are not running until I manually start VBoxClient-all.  VBoxService -f is running, seemingly without any issues.
    How can I fix this so that /usr/bin/VBoxClient-all (the same line now in the .xinitrc) would run at boot?
    TIA

    bump
    Last edited by Mufasaa (2015-06-12 13:04:45)

  • X doesn't start in Vbox with guest additions installed (Solved)

    Hi all. I just installed Arch in Vbox and all went well until I installed the guest additions package with pacman. Now X won't start. I uninstalled the guest additions package and X starts normally.
    Any ideas?
    Last edited by pressman57 (2012-10-13 21:30:00)

    Scimmia wrote:iodine, I'm guessing OpenGL doesn't work, though? Not a big deal, but something to be aware of.
    Well, at least glxgears runs, although with some warnings:
    [iodine@arch ~]$ glxgears
    OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glCombinerInputNV not found in mesa table
    OpenGL Warning: glCombinerOutputNV not found in mesa table
    OpenGL Warning: glCombinerParameterfNV not found in mesa table
    OpenGL Warning: glCombinerParameterfvNV not found in mesa table
    OpenGL Warning: glCombinerParameteriNV not found in mesa table
    OpenGL Warning: glCombinerParameterivNV not found in mesa table
    OpenGL Warning: glFinalCombinerInputNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glDeleteFencesNV not found in mesa table
    OpenGL Warning: glFinishFenceNV not found in mesa table
    OpenGL Warning: glGenFencesNV not found in mesa table
    OpenGL Warning: glGetFenceivNV not found in mesa table
    OpenGL Warning: glIsFenceNV not found in mesa table
    OpenGL Warning: glSetFenceNV not found in mesa table
    OpenGL Warning: glTestFenceNV not found in mesa table
    5585 frames in 5.0 seconds = 1116.892 FPS
    Not sure what that means, though.

  • [SOLVED]USB support in virtualbox guest OS

    I have a Windows 7 64 bit guest in virtualbox
    [inxs ~ ]$ paclocs virtualbox
    local/virtualbox 4.0.8-4
    Powerful x86 virtualization for enterprise as well as home use
    local/virtualbox-ext-oracle 4.0.8-1
    Oracle VM VirtualBox Extension Pack
    [inxs ~ ]$
    I also have the latest guest additions installed. I have been trying to get access to my iPod, so I can transfer some songs without having to boot into my Windows (the dual boot one). gtkpod does not recognize my iPod for some reason - but that's for another thread.
    In any case, I found that not only the iPod, but I cannot access any usb flash drives either. I tried the filters, but that didn't work. So here's what I have tried so far :
    I tried this post  and this thread : https://bbs.archlinux.org/viewtopic.php?id=50239 but neither option work for me.
    This thread on virtualbox forums is the same problem I have but alas they don't have any solution.
    And finally this doesnt help either
    They are all basically minor variations of the same solution.
    Here are my details:
    [inxs ~ ]$ cat /proc/bus/usb/devices
    T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
    D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=1005 ProdID=b113 Rev= 1.00
    S: Manufacturer=
    S: Product=USB FLASH DRIVE
    S: SerialNumber=19570E14032E
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
    I:* If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usbfs
    E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
    [inxs ~ ]$ ls -l /proc/bus/usb/001/003
    -rw-rw-r-- 1 root vboxusers 57 Jun 21 19:55 /proc/bus/usb/001/003
    [inxs ~ ]$ groups
    lp wheel video audio optical storage power users vboxusers
    [inxs ~ ]$
    So as you can see the usb drive is on bus 01, device 03, and ls of that device shows that it belongs to vboxusers group and my user belongs to that group
    [inxs ~ ]$ grep vboxusers /etc/group
    vboxusers:x:108:inxs
    [inxs ~ ]$
    So the devgid is 108, but none of the lines suggested in the linked threads in fstab work for me
    I do not have a group called usb, but I have one called usbmux -- Is that the devgid that I have to use?My user does not belong to that group.
    [inxs ~ ]$ grep usb /etc/group
    usbmux:x:140:
    [inxs ~ ]$

    ewaller wrote:You said USB drives.  Have you tried any other classes of USB devices?
    I am not sure what exactly you mean by classes, but I tried 2 different usb keys, an iPod and a portable usb HDD and a Logitech webcam
    ewaller wrote:Do the devices show up in the VB USB device menu ?
    Are they enabled or grayed?
    Yes they do show up in the VB USB device menu and they are all enabled. When I select them to allow the guest to access them, Windows 7 tried to install the driver, but then invariably fails no matter how many times I try.
    ewaller wrote:Some of the links indicated the devices are allocated to VM, but show up as unknown devices -- Is that what you are seeing?
    Nope. See above.
    ewaller wrote:What are the vendor / product codes of your USB Controller(s)
    [inxs ~ ]$ lspci | grep USB
    00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
    00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
    00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
    [inxs ~ ]$
    [inxs ~ ]$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 1058:0900 Western Digital Technologies, Inc. MyBook Essential External HDD
    Bus 001 Device 003: ID 1005:b113 Apacer Technology, Inc. Handy Steno 2.0/HT203
    Bus 002 Device 003: ID 041e:4055 Creative Technology, Ltd Live! Cam Video IM Pro
    Bus 002 Device 005: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 003 Device 002: ID 413c:1004 Dell Computer Corp.
    Bus 007 Device 002: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse
    Bus 003 Device 003: ID 413c:2006 Dell Computer Corp.
    Thanks Eric.

  • VirtualBox Guest Tools

    Hey All!
    Finally decided to give Arch a drive and love it so far.
    I've set myself up in a VirtualBox VM with the Host OS being Ubuntu 7.10.
    Did a basic install and then installed xorg, openssh and xfce4.  Nothing fancy.
    My problem is that when I go to install the VirtualBox Guest Tools it fails to compile.  I'm sure I'm missing a package somewhere but not sure which.  I installed the kernel-headers pack this morning but it made no difference and the install still fails.
    Building a test kernel module...
    make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/tmp/selfgz30341
    9006/module/test SRCROOT=/tmp/selfgz303419006/module/test 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)
    mkdir -p /tmp/selfgz303419006/module/test/.tmp_versions ; rm -f /tmp/selfgz30341
    9006/module/test/.tmp_versions/*
    make -f scripts/Makefile.build obj=/tmp/selfgz303419006/module/test
    I've tried running make oldconfig from the /usr/src/<arch> dir but no luck there either.
    Any suggestions?

    Thanks for the speedy reply!
    make and patch are installed already, must have been a dep from something else I installed.
    Here is the full log from VB:
    [root@herbert ~]# make --version
    GNU Make 3.81
    Copyright (C) 2006  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    This program built for i686-pc-linux-gnu
    [root@herbert ~]# cat /var/log/vboxadd-install.log |more
    Installing VirtualBox 1.5.0 Guest Additions, built Fri Aug 31 14:57:14 CEST 2007
    Testing the setup of the guest system
    Building a test kernel module...
    make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/tmp/selfgz30341
    9006/module/test SRCROOT=/tmp/selfgz303419006/module/test 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)
    mkdir -p /tmp/selfgz303419006/module/test/.tmp_versions ; rm -f /tmp/selfgz30341
    9006/module/test/.tmp_versions/*
    make -f scripts/Makefile.build obj=/tmp/selfgz303419006/module/test
      gcc -m32 -Wp,-MD,/tmp/selfgz303419006/module/test/.test.o.d  -nostdinc -isyste
    m /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude  -include
    include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
    trict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msof
    t-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2  -march=i68
    6 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DC
    ONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -fomit-frame-pointer
    -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign   -I/lib/m
    odules/2.6.24-ARCH/build/include  -I/tmp/selfgz303419006/module/test/ -I/tmp/sel
    fgz303419006/module/test/include -I/tmp/selfgz303419006/module/test/r0drv/linux
    -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVB
    GL_VBOXGUEST -DVBGL_HGCM -DVBOX_HGCM   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_B
    ASENAME=KBUILD_STR(test)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)" -c -o /tm
    p/selfgz303419006/module/test/test.o /tmp/selfgz303419006/module/test/test.c
      ld -m elf_i386 -m elf_i386   -r -o /tmp/selfgz303419006/module/test/vboxadd_te
    st.o /tmp/selfgz303419006/module/test/test.o
      Building modules, stage 2.
    make -f /usr/src/linux-2.6.24-ARCH/scripts/Makefile.modpost
      scripts/mod/modpost   -i /usr/src/linux-2.6.24-ARCH/Module.symvers -I /tmp/sel
    fgz303419006/module/test/Module.symvers -o /tmp/selfgz303419006/module/test/Modu
    le.symvers -w -s
      gcc -m32 -Wp,-MD,/tmp/selfgz303419006/module/test/.vboxadd_test.mod.o.d  -nost
    dinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclud
    e  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trig
    raphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2
    -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2
      -march=i686 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_
    AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -fomit-fr
    ame-pointer  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sig
    n    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxadd_test.mod)"  -D"K
    BUILD_MODNAME=KBUILD_STR(vboxadd_test)" -DMODULE -c -o /tmp/selfgz303419006/modu
    le/test/vboxadd_test.mod.o /tmp/selfgz303419006/module/test/vboxadd_test.mod.c
      ld -m elf_i386 -r -m elf_i386  --build-id -o /tmp/selfgz303419006/module/test/
    vboxadd_test.ko /tmp/selfgz303419006/module/test/vboxadd_test.o /tmp/selfgz30341
    9006/module/test/vboxadd_test.mod.o
    Inserting the test module module/test/vboxadd_test.ko into the kernel.
    Building the VirtualBox Guest Additions kernel module.
    make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/tmp/vbox.0 SRCR
    OOT=/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)
    mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
    make -f scripts/Makefile.build obj=/tmp/vbox.0
      gcc -m32 -Wp,-MD,/tmp/vbox.0/.cmc.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc
    -linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf
    .h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-co
    mmon -Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 -f
    reg-struct-return -mpreferred-stack-boundary=2  -march=i686 -mtune=generic -ffre
    estanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FR
    AME=1 -Iinclude/asm-x86/mach-default -fomit-frame-pointer  -fno-stack-protector
    -Wdeclaration-after-statement -Wno-pointer-sign   -I/lib/modules/2.6.24-ARCH/bui
    ld/include  -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__K
    ERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_
    VBOXGUEST -DVBOX_HGCM -DLOG_TO_BACKDOOR   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUIL
    D_BASENAME=KBUILD_STR(cmc)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxadd)" -c -o /tmp/v
    box.0/cmc.o /tmp/vbox.0/cmc.c
    In file included from /tmp/vbox.0/include/iprt/types.h:72,
                     from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:25,
                     from /tmp/vbox.0/cmc.c:17:
    include/linux/types.h:40: error: redefinition of typedef 'uintptr_t'
    /tmp/vbox.0/include/iprt/stdint.h:118: error: previous declaration of 'uintptr_t
    ' was here
    In file included from include/linux/thread_info.h:33,
                     from include/linux/preempt.h:9,
                     from include/linux/spinlock.h:49,
                     from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:53,
                     from /tmp/vbox.0/cmc.c:17:
    include/linux/bitops.h:6:1: warning: "BIT" redefined
    In file included from /tmp/vbox.0/include/iprt/types.h:20,
                     from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:25,
                     from /tmp/vbox.0/cmc.c:17:
    /tmp/vbox.0/include/iprt/cdefs.h:1019:1: warning: this is the location of the pr
    evious definition
    make[2]: *** [/tmp/vbox.0/cmc.o] Error 1
    make[1]: *** [_module_/tmp/vbox.0] Error 2
    make: *** [vboxadd] Error 2
    I figured the compile errors were related to the initial part of the log I posted.
    Any suggestions very much appreciated....
    EDIT:  I'm using VirtualBox 1.5.0_OSE
    Last edited by volksman (2008-03-10 17:26:04)

  • VBox Guest Additions Kernel Modules

    Hey, semi-literate Linux user/Arch n00b here. I apologize in advance as I realize that this issue has been addressed in this forum previously, but after several hours of hunting, I have yet to find a proper solution. I am trying to run Arch64 as a guest in VirtualBox (host is Ubuntu 10.10, x86-64 if it matters). I have the system up and running, but I can't seem to get the Guest Additions going, as the system won't build the kernel modules. This is the terminal output while running the installer:
    Uncompressing VirtualBox 3.2.6 Guest Additions for Linux........
    VirtualBox Guest Additions installer
    Removing installed version 3.2.6 of VirtualBox Guest Additions...
    :: Building the VirtualBox Guest Additions kernel modules [FAIL]
    Your system does not seem to be set up to build kernel modules.
    Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it, you can
    run
    /etc/init.d/vboxadd setup
    to build them.
    :: Doing non-kernel setup of the Guest Additions [DONE]
    :: Installing the Window System drivers [BUSY]
    :: Installing X.Org Server 1.8 modules [DONE]
    :: Setting up the Window System to use the Guest Additions [DONE]
    You may need to restart the hal service and the Window System (or just restart
    the guest system) to enable the Guest Additions.
    :: Installing graphics libraries and desktop services components [DONE]
    And this is the output of the log file:
    Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
    Creating user for the Guest Additions.
    Creating udev rule for the Guest Additions kernel module.
    Any help would be greatly appreciated.

    Guest additions for VirtualBox 4.0.4 are broken, in several ways. Try a newer build for them:
    http://www.virtualbox.org/download/test … r70281.iso
    It's working OK for me, while with the regular 4.0.4 additions I had numerous crashes on my XP guest.

  • [SOLVED] USB on VirtualBox guest (windows 7)

    hey,
    - installed win7 inside vbox
    - installed vbox guest additions
    - installed vbox extension pack (via aur)
    - i am in vboxusers group
    - relogged
    i plug in usb thumb drive, but usb icon in bottom left is still gray - i right click it and see that the device (verbatim clip) is listed and unchecked. if i left click it, i have a checkmark, i see windows is searching for drivers but it gives an error. thumb drive is not listed in removable devices nor my computer.
    - i add a line from troubleshooting wiki in /etc/fstab
    none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=664 0 0
    - i also added a line in .bashrc
    VBOX_USB=usbfs
    - rebooted, still nothing
    ideas?
    Last edited by developej (2013-01-13 10:33:48)

    That fstab line is an old workaround, that's probably not good anymore. And the ~/.bashrc line... I have no idea what it's supposed to do.
    Are you in the storage group?
    Did you enable USB 2.0 from VirtualBox's settings screen?
    You need to plug in the USB stick and also "plug" it in the VM. Windows asking for USB drivers is a bit odd (especially Windows 7, which takes up a heck of a lot more than Windows XP).
    Last edited by DSpider (2013-01-13 09:47:55)

Maybe you are looking for

  • Alphabetical order of itunes

    Alphabetical order typically is organized numbers first, followed by A-Z. itunes organizes this way in all situations except when a number begins the name of an artist. How can I organize my artists alphabetically so that artists beginning with a num

  • How to set output of a jsp page in a textarea??

    hi i am working on a mail application and i wish to set the output of a jsp page into the textarea. working is similar as we forward a mail the mail get appended in the textarea of the compose page. how to achieve this plz. help... i got stuck at thi

  • Virtual Consoles on Solaris 7

    Hi, I switched to Solaris from Linux and want my virtual consoles (Alt-Function Keys). Can someone tell me how do i get them in Solaris? Siddhartha

  • 12" upgrade question...

    I bought a 12" G4 Powerbook today at a garage sale. It is a 1.33mhz with 256mb ram. I want to upgrade the ram (which i believe is PC2700 sodimm), & i want to upgrade the HD too. Can someone tell me the max mem/HD i can put in this machine? Also the H

  • How to choose 2nd additional SSD as startup disk permanently?

    I have installed into the second tray an SSD OWC. I cloned it from the 1TB WD that came with the unit. It works perfectly, but I can't seem to choose it to be the startup disk by default. I choose it and even lock it after choosing it, but when I tur