[SOLVED] virtualbox guest modules, openbox with librsvg
Greetings, I wanted to share a couple of important fixes I just did after doing a pacman -Syu after a couple of weeks. Many thanks to the other forum posts and #archlinux freenode IRC channel.
* When running arch as a guest inside virtualbox the names of the modules seem to have changed. The wiki instructions were once again very helpful to restore the guest addition functionality to my installation.
* Trying to work without a window manager was very frustrating. openbox 3.5.2-2 is now built against a new library so my system required (bug filed): pacman -S librsvg
Welcome to the boards.
These sorts of posts are not really necessary; the wiki is the appropriate place to note changes to applications etc.
Similar Messages
-
No 3D acceleration with Arch + virtualbox-guest-modules 4.3.24-1
I've been using Arch happily in 64 bit VirtualBox setup for a few months (under 64bit Win7), but after installing cool-retro-term, realized I have no 3D acceleration. glxinfo shows I'm using unaccelerated Gallium instead of Chromium:
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
I've googled about 100 different bug reports and solution suggestions, but to no avail. Virtualbox forums say that a similar bug was fixed last June, and after that the glxinfo should give a dozen warnings about being unable to load stuff, but report the Chromium drivers. I have the latest version of virtualbox-guest-modules (4.3.24-1) which should contain the fix, but that doesn't help.
I installed Debian today to test things out, and indeed, I had 3D acceleration out of the box. This was likely because the initial install was Debian stable, and the latest Mesa versions (around early 2014) initially broke the 3D acceleration, so probably Mesa was too stable... Upgrading to Debian Jessie broke the 3D acceleration to same state as my Arch install (Gallium renderer instead of Chromium), which seems to support this hypothesis. HOWEVER, re-compiling the latest guest additions seemed to have the effect the Virtualbox forums suggested there should be -- 3D support was restored, and Chromium once again the renderer in glxinfo.
Has someone successfully gotten Arch under Virtualbox working with 3D acceleration without downgrading Mesa libraries? The Cinnamon desktop nags me about not having HW acceleration, and cool-retro-term uses 100 % CPU due to software rendering, so I'd rather have acceleration than not.I have the same problem (with standard 3.19.2-1 kernel, vbox 4.3.26).
I tried grabbing an older mesa and mesa-libgl from the arch rollback machine (which worked the last time it stopped working) but version 10.4.6 just crashed my machine when gnome was starting. I'm guessing there are more packages required for that approach to work but i don't know what they are. A complete rollback would be clean but would probably be more annoying lol. -
[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
-
[Solved]Virtualbox kernel module not loaded
I update my system today and when I try to run Virtualbox...
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.6.11-1-ARCH) or it failed to
load. Please reinstall the kernel module virtualbox-host-modules or
if you don't use our stock kernel compile the modules with
sudo dkms autoinstall
You will not be able to start VMs until this problem is fixed.
I already had this trouble before and this was the fix
# modprobe vboxdrv
But it doesn't work anymore
Any ideas?
Edit: This just get fixed by itself when restaring my PC. Sorry
Last edited by ilq (2013-02-13 02:32:43)fsckd wrote:
rc.conf is part of the deprecated init system. icebox is not using systemd and neglected to mention that.
Amarildo, see the wiki.
Thanks, it really helped. It's solved. -
Installing virtualbox-guest-modules = depmod error
I'm setting up a new system, and I tried following the instructions at https://wiki.archlinux.org/index.php/Vi … nux_guests.
Using "sudo pacman -S virtualbox-guest-utils" gives me an error message:
depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory"
I see I do have a 3.9.5-1-ARCH directory, though.
I assume something somewhere needs to be updated. Is there anything I can do until that happens?I think I have a similar problem
Im using Arch as the host and trying to use other OSs as guests in virtualbox.
But when I try to use virtualbox and push start (on XP) it say:
"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
'pacman -S virtualbox-host-modules'
as root. If you don't use our stock kernel, install
virtualbox-host-source and execute dkms autoinstall."
when I execute: # pacman -S virtualbox-host-modules it say:
(1/1) reinstalling virtualbox-host-modules
depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
In order to use the new version, reload all virtualbox modules manually.
I tryied to execute "depmod 3.9.5-1-ARCH" but in my case it didnt help,
I also running on 3.9.5-1-ARCH.
So basicly there is nothing to do now, but waiting for bug to be fixed? -
[SOLVED] virtualbox-modules: dkms: command not found
$ makepkg -s
==> Making package: virtualbox-modules 4.2.6-4 (Tue Jan 29 15:42:01 EET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
-> Host modules
/home/yuri/builds/virtualbox-modules/PKGBUILD: line 26: dkms: command not found
==> ERROR: A failure occurred in build().
Aborting...
$ which dkms
which: no dkms in (~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)
$ su - -c 'which dkms'
/usr/sbin/dkms
Since makepkg uses fakeroot (and should never be run as root), ...
https://wiki.archlinux.org/index.php/AUR
What is the proper way to make it work? Thank you.
Last edited by x-yuri (2013-01-29 19:33:44)It's not my PKGBUILD. It's PKGBUILD, downloaded by abs (community/virtualbox-modules):
# $Id: PKGBUILD 82593 2013-01-21 11:10:44Z tpowa $
# Maintainer: Ionut Biru <[email protected]>
# Maintainer: Sébastien Luttringer <[email protected]>
pkgbase=virtualbox-modules
pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules')
pkgver=4.2.6
pkgrel=4
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
makedepends=('linux-headers'
"virtualbox-host-dkms>=$pkgver"
"virtualbox-guest-dkms>=$pkgver"
'expac'
'bc')
build() {
_kernver=$(expac -Q '%v' linux-headers)-ARCH
# dkms need modification to be run as user
cp -r /var/lib/dkms .
echo "dkms_tree='$srcdir/dkms'" > dkms.conf
# build host modules
msg2 'Host modules'
dkms --dkmsframework dkms.conf build "vboxhost/$pkgver" -k "$_kernver"
# build guest modules
msg2 'Guest modules'
dkms --dkmsframework dkms.conf build "vboxguest/$pkgver" -k "$_kernver"
package_virtualbox-host-modules(){
_kernver=$(expac -Q '%v' linux-headers)-ARCH
_extraver=extramodules-${_kernver%.*}-ARCH
pkgdesc='Host kernel modules for VirtualBox'
depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)")
replaces=('virtualbox-modules')
conflicts=('virtualbox-modules')
install=virtualbox-host-modules.install
install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-host-modules.install"
package_virtualbox-guest-modules(){
_kernver=$(expac -Q '%v' linux-headers)-ARCH
_extraver=extramodules-${_kernver%.*}-ARCH
pkgdesc='Guest kernel modules for VirtualBox'
license=('GPL')
depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)")
replaces=('virtualbox-archlinux-modules')
conflicts=('virtualbox-archlinux-modules')
install=virtualbox-guest-modules.install
install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-guest-modules.install"
# vim:set ts=2 sw=2 et:
Could it possibly be that this time makepkg must be run as root? -
[SOLVED] Virtualbox list usb devices is empty.
I moved from virtualbox_bin(AUR) to virtualbox(community), and remove /proc/bus/usb entry in /etc/fstab, after that the usb doesn't work. I can check 'Enable USB 2.0 (EHCI) Controller' in Virtualbox settings, but can't find any available usb devices.
$ pacman -Qs virtualbox
local/virtualbox 4.1.22-1
Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-additions 4.1.22-1
The official all-in-one VirtualBox Guest Additions ISO/CD image
local/virtualbox-ext-oracle 4.1.22-1
Oracle VM VirtualBox Extension Pack
local/virtualbox-hook 2.1-1
mkinitcpio hook to compile the virtualbox modules
local/virtualbox-modules 4.1.22-1
Kernel modules for VirtualBox
local/virtualbox-source 4.1.22-1
VirtualBox kernel modules source
$ VBoxManage list usbhost
Host USB Devices:
<none>
$ ls /dev/usbbox
ls: cannot access /dev/usbbox: No such file or directory
$ groups
log kvm network video audio optical storage users vboxusers guten input libvirt davfs2 virtftp
$ lsusb
Bus 001 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
Bus 001 Device 003: ID 05ac:8509 Apple, Inc. FaceTime HD Camera
Bus 002 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
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 001 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 005: ID 05ac:0252 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
Bus 002 Device 003: ID 05ac:8242 Apple, Inc. IR Receiver [built-in]
Bus 002 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 008: ID 05ac:821a Apple, Inc. Bluetooth Host Controller
Bus 002 Device 005: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 002 Device 008: ID 0951:1624 Kingston Technology DataTraveler G2 4GB Pen Drive
Bus 002 Device 007: ID 413c:2003 Dell Computer Corp. Keyboard
Last edited by GutenYe (2012-09-17 12:38:58)I am having the same problem and have tried "everything" and still cannot get it to work.
calpoly@arch:~$ cat /etc/group | grep vboxusers
vboxusers:x:108:calpoly,root
calpoly@arch:~$ lsusb
Bus 004 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05ac:12a0 Apple, Inc. iPhone 4S
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
calpoly@arch:~$ sudo pacman -Qs virtualbox
local/virtualbox 4.3.6-3
Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-guest-dkms 4.3.6-3
VirtualBox Guest kernel modules sources
local/virtualbox-guest-modules 4.3.6-4
Guest kernel modules for VirtualBox
local/virtualbox-guest-utils 4.3.6-3
VirtualBox Guest userspace utilities
local/virtualbox-host-modules 4.3.6-4
Host kernel modules for VirtualBox
local/virtualbox-host-modules-lts 4.3.6-5
Host kernel modules for VirtualBox
calpoly@arch:~$ sudo VBoxManage controlvm windowSeven usbattach 609c101d-ef6a-401a-ad15-306f3e7bc8ae
VBoxManage: error: The USB device with UUID {00000010-0030-0000-90f9-0560b57f0000} is not currently attached to the host
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component USBProxyService, interface IHost, callee nsISupports
VBoxManage: error: --------
VBoxManage: error: Could not load the Host USB Proxy service: VERR_NOT_FOUND
VBoxManage: error: Details: code Unknown Status 0x4005 (0x4005), component Host, interface IHost
VBoxManage: error: Context: "AttachUSBDevice(usbId.raw())" at line 973 of file VBoxManageControlVM.cpp
calpoly@arch:~$ sudo VBoxManage showvminfo windowSeven
Name: windowSeven
Groups: /
Guest OS: Windows 7
UUID: 609c101d-ef6a-401a-ad15-306f3e7bc8ae
Config file: /root/VirtualBox VMs/windowSeven/windowSeven.vbox
Snapshot folder: /root/VirtualBox VMs/windowSeven/Snapshots
Log folder: /root/VirtualBox VMs/windowSeven/Logs
Hardware UUID: 609c101d-ef6a-401a-ad15-306f3e7bc8ae
Memory size: 2048MB
Page Fusion: off
VRAM size: 128MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 2
PAE: off
Long Mode: off
Synthetic CPU: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Network
Boot Device (4): Floppy
ACPI: on
IOAPIC: on
Time offset: 0ms
RTC: local time
Hardw. virt.ext: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
VT-x unr. exec.: on
State: powered off (since 2014-02-11T12:16:18.000000000)
Monitor count: 1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0): IDE
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
Storage Controller Name (1): SATA
Storage Controller Type (1): IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1): 30
Storage Controller Port Count (1): 1
Storage Controller Bootable (1): on
IDE (1, 0): Empty
SATA (0, 0): /media/disk/VirtualBox OS X HDD/windowSeven.vdi (UUID: 5c44157f-350a-467c-a988-b4cfb8635fd5)
NIC 1: MAC: 0800279A3907, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings: MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: ALSA, Controller: HDA)
Clipboard Mode: Bidirectional
Drag'n'drop Mode: Bidirectional
VRDE: disabled
USB: enabled
EHCI: enabled
USB Device Filters:
<none>
Available remote USB devices:
<none>
Currently Attached USB Devices:
<none>
Bandwidth groups: <none>
Shared folders:
Name: 'music', Host path: '/media/disk/music' (machine mapping), writable
VRDE Connection: not active
Clients so far: 0
Video capturing: active
Capture screens: 0
Capture file: /root/VirtualBox VMs/windowSeven/windowSeven.webm
Capture dimensions: 1024x768
Capture rate: 1024 kbps
Capture FPS: 25
Guest:
Configured memory balloon size: 0 MB
calpoly@arch:~$ sudo modprobe vboxdrv
calpoly@arch:~$ sudo modprobe -a vboxguest vboxsf vboxvideo
modprobe: ERROR: could not insert 'vboxguest': No such device
modprobe: ERROR: could not insert 'vboxsf': No such device
calpoly@arch:~$ sudo modprobe vboxnetflt
calpoly@arch:~$ sudo modprobe vboxsf
modprobe: ERROR: could not insert 'vboxsf': No such device
calpoly@arch:~$ sudo VBoxManage list usbhost
Host USB Devices:
<none>
Have rebooted and reinstalled virtualbox multiple times to no avail.
It is important to note that my iPhone used to sync with iTunes on Windows 7 in Virtualbox, but then I removed the USB filter and did some updates and now it no longer works.
I have spent many more hours than I care to admit on this problem, so please, any help is welcome.
Last edited by Kg4XmtUSyxd8B9M7Ex&&KXZGF (2014-02-11 12:33:00) -
[SOLVED] no sound in Arch virtualbox guest
I had no sound in an Arch virtualbox guest. The fix (original link below) was to use the alsa97 option in virtualbox settings and then to add
options snd-intel8x0 ac97_clock=48000
to
/etc/modprobe.d/alsa-base.conf
Here is the link to where I read about this fix: http://www.withoutthesarcasm.com/fixing … irtualbox/
Last edited by mek42 (2014-09-14 14:21:16)I mucked around with alsa mixer and muted a channel and now I have sound. However, when I run:
speaker-test -c 6
the app cycles through my speakers, however sound comes out of all the speakers at once for the individual channels front left and front right. I do not get any sound out of either of the rears or the center. I double checked alsa mixer and all the volumes are turned up.
Is there a way I can get arch to send sound to the correct speakers?
--nixIT -
[SOLVED]Can't install Virtualbox-guest-utils[SOLVED]
sudo pacman -S virtualbox-guest-utils
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: catalyst-utils: requires xorg-server<1.17.0
What to do ?
Last edited by heldiho53 (2015-03-06 14:57:58)You can install an older version of virtualbox-guest-utils.
You can wait for catalyst to support xorg-server 1.17 and install virtualbox-guest-utils only then.
You can change graphics drivers to the FLOSS ones and install xorg-server 1.17 and virtualbox-guest-utils. -
Graphics performance issues as virtualbox guest
Hi everyone,
I've been running arch natively on my 2013 macbook pro retina for a while but recently decided to run it in virtualbox hosted in OSX. I've got arch installed and am running gnome shell in the virtual machine, the problem I'm having is that the graphics performance is terrible, windows judder and lag when moving them around the desktop and scrolling is extremely jerky. Things i have done:
- I have installed the guest additions and made sure the guest modules are loaded.
- I have checked the 'enable 3D acceleration' box in virtualbox settings
- I have also checked that DRI is enabled using glxinfo.
One possible complication is that i am running virtualbox beta 5 but I have also tried with the stable edition and experienced the same issues.
I have no idea how to diagnose this and don't even know if acceptable performance is possible with this set up so any help is very welcome.
Thanks
Alex
Last edited by ZeroGravitas (2015-05-26 12:02:20)Does your glxinfo show "Gallium" or "Chromium" as the renderer (not related to the browser)? If it shows Gallium, 3D acceleration is not working.
You mention running Gnome; If you're using GDM as your desktop manager, that's likely to be your issue. Gnome itself is fine, but GDM 3.16 breaks 3d acceleration in virtualbox guests. There's a bug open on the Gnome Bugzilla about it: https://bugzilla.gnome.org/show_bug.cgi?id=749390
Try switching to LightDM; that fixes it for me. If that solves your problem you might want to add to the bug report.
Last edited by mwillems (2015-05-27 16:13:25) -
Black screen on starting X in Virtualbox guest
Hi Arch Linux,
I am running Arch linux as a Virtualbox 4.2.6 guest with a Windows 7 host. I have virtualbox-guest-utils 4.2.6-1 installed.
When I run "startx" or "xinit" my screen goes black and freezes up. The VM seems totally unresponsive, I can't even switch to other virtual consoles with ctrl+alt+f2,f3 etc. I have to reset or use the ACPI shutdown command from the virtualbox menu. Even the ACPI shutdown seems to be a hard shutdown, as if the kernel or systemd has stopped responding (the VM closes with no messages in well less than a second). Sometimes after this power cycle, I get spammed by a repeating message from systemd when I boot that says it failed to start the journal service, though this may be unrelated. Here is my /var/log/Xorg.0.log if it helps: http://codepad.org/Ry1ixshS
Can anyone help?
Thanks,
AlexIn the Beginners' Guide, right after Testing X, there's a Troubleshooting section, and it says there to look out for lines that start with (EE) or (WW).
[ 38.633] (EE) Failed to load module "vesa" (module does not exist, 0)
I think you need to install the generic vesa driver, else there's nothing to fall back to:
https://wiki.archlinux.org/index.php/Be … deo_driver
Last edited by DSpider (2013-01-13 07:44:22) -
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) -
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? -
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.
-
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
Maybe you are looking for
-
How can I use a Lookup task to lookup from my SQL Result set and have a join
So in my Control Flow, I have an Execute SQL Task which gets my Table result set. I then have a Foreach Loop Container that iterates through the result set and a Data Flow. The first task in the Data Flow is an OLE DB Source SQL Command that retrieve
-
Adobe Acrobat Pro X - plug-ins not loaded
I recently purchased Adobe Acrobat Pro for our company with multiple user licences. Once installed I noticed a lot of features which were in previous versions are not available. When I select the "Help" "About Adobe Plug-ins..." tab, almost all of
-
Missing TCP/IP settings for iPhone tethering (Bluetooth and USB)
Is it just me or Apple has completely disabled the TCP/IP settings for BT and USB connections for iPhone tethering (and possibly any other mobile devices)? I can now only set the IP addresses and DNS server. No Proxies or WINS settings tabs. I have a
-
How to make this flash box close to not sucking?
Hi, This is my first attempt to build a flash light box and it isn't working so well. What are some the easiest tips to adding effects to improve the visitors experience? Thanks
-
Hi, How to assign hierarhcy in the row of a query thru query designer? I have a hierarchy and I would like to asssign the whole hiearachy in the row and not only nodes. Please advise. Best Regards, UR