Username: Password: Remember me
Search Criteria Advanced
Package Details

virtualbox-modules 3.0.2-1
http://www.virtualbox.org
Kernel modules for VirtualBox (vboxdrv)

community :: modules
Maintainer: None
Votes: 278

License: GPL

Last Updated: Sat, 11 Jul 2009 21:01:20 +0000
First Submitted: Fri, 16 Mar 2007 08:23:35 +0000


This package has been flagged out of date.

Dependencies kernel26<2.6.31 kernel26>=2.6.30
Required byvirtualbox-ose

Sources
http://download.virtualbox.org/virtualbox/3.0.2/VirtualBox-3.0.2-OSE.tar.bz2
Comment by: pix on Sun, 06 Sep 2009 22:15:47 +0000
First steps to compile this on x64:

--------------------
1: Modify lib32-glibc

--- /var/abs/community/lib32-glibc/PKGBUILD 2009-09-06 06:16:39.000000000 +0200
+++ lib32-glibc/PKGBUILD 2009-09-07 00:06:57.540839268 +0200
@@ -20,10 +20,12 @@

mkdir -p $pkgdir/opt/lib32/lib
mkdir -p $pkgdir/opt/lib32/usr/lib/gconv
+ mkdir -p $pkgdir/usr/include/gnu

cp -dp lib/*.so* $pkgdir/opt/lib32/lib
cp -dp usr/lib/*.so* $pkgdir/opt/lib32/usr/lib
cp -dp usr/lib/gconv/* $pkgdir/opt/lib32/usr/lib/gconv
+ cp usr/include/gnu/stubs-32.h $pkgdir/usr/include/gnu/stubs-32.h

cat /usr/bin/ldd | sed 's/\/lib\/ld-linux-x86-64.so.2/\/lib\/ld-linux-x86-32.so.2/' > $srcdir/ldd32

--------------------
2 : Find a way to get a 32bit libgcc.a
Possible ways: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/libgcc.a is owned by gcc 4.4.1-1
and lib32-gcc-libs

Maybe tomorrow.
Comment by: NeOnsKuLL on Wed, 10 Jun 2009 16:35:21 +0000
Why not to use the vbox_build_modules instead of this package? It will be great. No more needs to update VirtualBox when kernel does, just run "sudo vbox_build_modules". The virtualbox_bin[1] package does it that way.

See you

[1] http://aur.archlinux.org/packages.php?ID=9753
Comment by: ironwiller on Wed, 22 Apr 2009 12:50:53 +0000
when is it going to be updated official pls?
Comment by: solidox on Tue, 21 Apr 2009 00:16:57 +0000
I successfully compiled this with the PKGBUILD from flowcontrol on kernel 2.6.29, but had to add the --disable-opengl configure option, or else I got the same error as herve. This is on i686 with regular nvidia drivers. The old PKGBUILD does not seem to include this option, but I can live without opengl-support for now.
Comment by: asmanian on Sat, 18 Apr 2009 15:26:02 +0000
Seems virtualbox_bin runs fine under x86_64, I didn't understand before that it already includes the vboxdrv module and I don't need this package at all.
Comment by: asmanian on Sat, 18 Apr 2009 15:12:08 +0000
For x86_64:
Seems with the configure option --nofatal one can get around this, although it fails in compiling
later because stubs-32.h is not found.
I found a german forum entry at http://forum.archlinux.de/?page=Postings;id=20;thread=9218
that suggests that virtualbox-ose (and thus the vbox module) can't be compiled on an 64 bit system
at all because of that, but I wonder why it worked with 2.1.2 then.
Comment by: asmanian on Sat, 18 Apr 2009 08:07:02 +0000
Same here (also x86_64) on exactly same hardware where 2.1.2-1 worked.
Comment by: herve on Fri, 17 Apr 2009 12:40:03 +0000
I have the same error with your changes that I had when trying myself:

Checking for Mesa / GLU: ./configure: line 251: 10307 Segmentation fault $ODIR.tmp_out > $ODIR.test_execute.log
PKGBUILD: line 35: ./env.sh: No such file or directory

I thought it was because of the "nouveau" driver with lacks 3D, but I use "nvidia" at this moment.

The more strange is that I grabbed the test, compiled it with the same arguments, and it worked fine. Maybe it's related to my x86_64 architecture. The PKGBUILD is i686-only.
Comment by: pix on Fri, 17 Apr 2009 09:41:53 +0000
@flowcontrol:
This must be added to:

install -D -m644 vboxnetflt.ko "$pkgdir/lib/modules/${_kernver}/misc/vboxnetflt.ko"
Comment by: flowcontrol on Fri, 17 Apr 2009 09:08:57 +0000
PKGBUILD:

# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Michal Krenek <mikos@sg1.cz>
# Contributor: niQo
# Contributor: Ingmar Steen
# Contributor: flowcontrol

pkgname=virtualbox-ose-modules
_kernver=2.6.29-ARCH
pkgver=2.2.0
pkgrel=1
pkgdesc="Kernel modules for VirtualBox (vboxdrv)"
arch=('i686')
url="http://www.virtualbox.org"
license=('GPL')
depends=('kernel26>=2.6.29' 'kernel26<2.6.30')
makedepends=('bin86' 'dev86' 'iasl' 'libstdc++5' 'qt3' 'sdl_ttf' 'libxt'
'libgl' 'alsa-lib' 'pulseaudio' 'gcc34' 'libxcursor' 'libidl2' 'libxslt'
'xalan-c' 'pth' 'libxml2' 'libidl2' 'libpng' 'qt')
install=virtualbox-modules.install
source=(http://download.virtualbox.org/virtualbox/$pkgver/VirtualBox-$pkgver-OSE.tar.bz2)
build() {
cd "$srcdir/VirtualBox-${pkgver}_OSE"
. /etc/profile.d/qt3.sh
export PATH=$QTDIR/bin:$PATH
export QMAKESPEC=$QTDIR/mkspecs/linux-g++

sed -i 's/python2.5/python2.6/g' configure
./configure --with-gcc=/usr/bin/gcc-3.4 \
--with-g++=/usr/bin/g++-3.4 \
--disable-hardening

sed -i 's/-DVBOX_WITH_HARDENING//' src/VBox/HostDrivers/Support/linux/Makefile

source ./env.sh
kmk all || return 1

cd out/linux.x86/release/bin/src
make || return 1
install -D -m644 vboxdrv.ko "$pkgdir/lib/modules/${_kernver}/misc/vboxdrv.ko"
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" "$startdir/virtualbox-modules.install"
}
md5sums=('37bd7d58cf7b6c46998cfd82c1b70573')





virtualbox-modules.install:

KERNEL_VERSION='2.6.29-ARCH'

post_install() {
cat << EOM

===> virtualbox-modules post-install message:
===>
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
===>
===> To load it automatically, add vboxdrv module
===> to the MODULES array in /etc/rc.conf.

EOM

if [ "$CARCH" = "x86_64" ]; then
cat << EOM
===> If you use kernel 2.6.19 or higher, you must disable
===> the NMI watchdog by specifying 'nmi_watchdog=0'
===> at kernel command line (add this option to your
===> /boot/grub/menu.lst).

EOM
fi
groupadd -g 108 vboxusers >/dev/null 2>&1 || true
depmod -v $KERNEL_VERSION >/dev/null 2>&1
}

post_remove() {
groupdel vboxusers >/dev/null 2>&1 || true
depmod -v $KERNEL_VERSION >/dev/null 2>&1
}

post_upgrade() {
depmod -v $KERNEL_VERSION >/dev/null 2>&1
}
Comment by: test0 on Wed, 15 Apr 2009 07:20:22 +0000
Any chances to get an updated pkgbuild ?
Comment by: test0 on Wed, 15 Apr 2009 07:19:59 +0000
test0@bulky> sudo pacman -Syu ~
Password:
:: Starting full system upgrade...
warning: cracklib: local (2.8.13-2) is newer than core (2.8.13-1)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-modules: requires kernel26<2.6.29
[1] test0@bulky>
Comment by: SergioPR on Fri, 13 Mar 2009 11:24:09 +0000
[musikolo@myhost ~]$ sudo pacman -Syu

... etc ...

error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-modules: requires kernel26<2.6.28


Same problem here... :_(
Comment by: test0 on Mon, 02 Mar 2009 18:35:02 +0000
Is the maintainer dead ?
Comment by: windel on Tue, 17 Feb 2009 12:23:06 +0000
Rename this package to: virtualbox-ose-modules
Comment by: test0 on Fri, 13 Feb 2009 12:07:56 +0000
Please patch the pkgbuild to include this line:

install -D -m644 vboxnetflt.ko "$pkgdir/lib/modules/${_kernver}/misc/vboxnetflt.ko"
Comment by: nitro on Thu, 29 Jan 2009 15:28:40 +0000
This package needs to be updated to properly support VirtualBox 2.1.x. Specifically, the new vboxnetflt module MUST be installed in order for host networking to work. Please see the following posts for more information:

http://bugs.archlinux.org/task/12965

http://bbs.archlinux.org/viewtopic.php?pid=486464#p486464
Comment by: Musikolo on Wed, 21 Jan 2009 20:15:30 +0000
Please, update this package as I cannot upgrade to the new kernel package (2.8.x):

[musikolo@myhost ~]$ sudo pacman -Syu

... etc ...

error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-modules: requires kernel26<2.6.28

I hope you find a gap to do this soon.
Thanks a lot for your time and effort.
Comment by: Harvie on Sat, 17 Jan 2009 19:39:53 +0000
why there is nothing like this? http://wiki.archlinux.org/index.php/VirtualBox#Rebuild_the_vboxdrv_Module
It prevents me from upgrading kernel few days...
Comment by: Harvie on Fri, 16 Jan 2009 18:02:57 +0000
you can simply add script for recompiling vboxdrv module like others distributions do... then you can remove kernel version from dependencies... thanks...
Comment by: lele85 on Fri, 16 Jan 2009 11:03:28 +0000
New kernel is in core. You should update this package!
Comment by: Toet on Thu, 20 Nov 2008 13:20:37 +0000
Just install virtualbox-ose with dependancies:

No vboxdrv
No vbox_build_module
No vboxusers group
Comment by: godane on Wed, 15 Oct 2008 16:28:58 +0000
You need to change _kernver=2.6.26-ARCH to 2.6.27-arch.
Comment by: lele85 on Tue, 14 Oct 2008 07:27:40 +0000
Please update the package for kernel 2.6.27
Comment by: jensp on Sun, 28 Sep 2008 19:30:08 +0000
Here is a updated PKGBUILD which solves the errors mentioned in the following forum thread:
http://bbs.archlinux.org/viewtopic.php?id=55406&p=3

# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Michal Krenek <mikos@sg1.cz>
# Contributor: niQo
# Contributor: Ingmar Steen

pkgname=virtualbox-modules
_kernver=2.6.26-ARCH
pkgver=2.0.2
pkgrel=2
pkgdesc="Kernel modules for VirtualBox (vboxdrv)"
arch=('i686')
url="http://www.virtualbox.org"
license=('GPL')
depends=('kernel26>=2.6.26' 'kernel26<2.6.27')
makedepends=('bin86' 'dev86' 'iasl' 'libstdc++5' 'qt3' 'sdl_ttf' 'libxt'
'libgl' 'alsa-lib' 'pulseaudio' 'gcc34' 'libxcursor' 'libidl2' 'libxslt'
'xalan-c' 'pth' 'libxml2' 'libidl2' 'libpng')
install=virtualbox-modules.install
source=(http://download.virtualbox.org/virtualbox/$pkgver/VirtualBox-$pkgver-OSE.tar.bz2)
build() {
cd "$srcdir/VirtualBox-$pkgver"
. /etc/profile.d/qt3.sh
export PATH=$QTDIR/bin:$PATH
export QMAKESPEC=$QTDIR/mkspecs/linux-g++

./configure --with-qt-dir=/opt/qt \
--with-gcc=/usr/bin/gcc-3.4 \
--with-g++=/usr/bin/g++-3.4 \
--disable-hardening
source ./env.sh
sed -i 's/-DVBOX_WITH_HARDENING//' src/VBox/HostDrivers/Support/linux/Makefile
kmk all || return 1

cd out/linux.x86/release/bin/src
make || return 1
install -D -m644 vboxdrv.ko "$pkgdir/lib/modules/${_kernver}/misc/vboxdrv.ko"
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" "$startdir/virtualbox-modules.install"
}
md5sums=('f7b48ec55ac1ca17c575bf9dda80c301')
Comment by: godane on Tue, 26 Aug 2008 19:04:25 +0000
sorry my mistake. I was using my archiso-live cd and thought i added the new virtualbox-modules.

Sorry about that.
Comment by: bash on Tue, 26 Aug 2008 09:50:16 +0000
from my dmesg:
vboxdrv: Trying to deactivate the NMI watchdog permanently...
vboxdrv: Successfully done.
vboxdrv: Found 2 processor cores.
vboxdrv: fAsync=0 u64DiffCores=3556.
vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
vboxdrv: Successfully loaded version 1.6.4_OSE (interface 0x00080000).
Comment by: godane on Tue, 26 Aug 2008 06:07:25 +0000
the new virtualbox-modules package thinks its 1.6.2_OSE version. I can't use virtualbox cause i think virtualbox-ose is on the right version.

here is the text from my dmesg:
Aug 25 16:56:18 arch-live vboxdrv: Trying to deactivate the NMI watchdog permanently...
Aug 25 16:56:18 arch-live vboxdrv: Successfully done.
Aug 25 16:56:18 arch-live vboxdrv: Found 1 processor cores.
Aug 25 16:56:18 arch-live vboxdrv: fAsync=0 u64DiffCores=1.
Aug 25 16:56:18 arch-live vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
Aug 25 16:56:18 arch-live vboxdrv: Successfully loaded version 1.6.2_OSE (interface 0x00070002).

Can you rebuild it to say 1.6.4_OSE?
Comment by: tdjy on Mon, 25 Aug 2008 04:13:14 +0000
I checked the gcc.gnu.org archives and the answer seems to be "You just need to install the 32 bit glibc-dev package from your distro. Every one has one, but they call them different names."

The closest hits I could find were dev86 and lib32-glibc. dev86 is already included in the dependencies and I already had lib32-glibc. I went ahead and reinstalled it just in case, but I still don't have the stubs-32 header.

I'd like to try out vbox, but qemu seems to be the only VM I can get up and running :/
Comment by: darose on Wed, 20 Aug 2008 18:25:36 +0000
Hmmm .... still no way to build for x86_64. Build fails on missing file /usr/include/gnu/stubs-32.h

Anyone know how/if it's possible to successfully build this package for 64 bit?
Comment by: fettouhi on Wed, 13 Aug 2008 20:48:21 +0000
Thanks for the update to the 2.6.26 kernel but why no update to version 1.6.4 of virtualbox? Version 1.6.4 should even compile with the 2.6.27 kernel.

Regards

André
Comment by: angvp on Wed, 13 Aug 2008 20:19:11 +0000
Re-built to kernel 2.6.26
Comment by: baze on Mon, 11 Aug 2008 05:53:29 +0000
please rebuild against 2.6.26 as it is now in core.
Comment by: darose on Tue, 29 Jul 2008 15:43:23 +0000
Fails to build on x86_64. I get numerous messages, including:

In file included from /var/abs/local/virtualbox-modules/src/vboxdrv-1.3.8/include/iprt/types.h:55,
from /var/abs/local/virtualbox-modules/src/vboxdrv-1.3.8/include/VBox/types.h:25,
from /var/abs/local/virtualbox-modules/src/vboxdrv-1.3.8/SUPDRV.h:31,
from /var/abs/local/virtualbox-modules/src/vboxdrv-1.3.8/linux/SUPDrv-linux.c:24:
include/linux/types.h:40: error: redefinition of typedef ‘uintptr_t’

Anyone know fix/workaround?
Comment by: bash on Wed, 23 Jul 2008 10:53:33 +0000
@ furester
Yes, it'll be fixed with AUR 1.5.2

you can get PKGBUILDs here: http://repos.archlinux.org/viewvc.cgi/community/modules/virtualbox-modules/?root=community
Comment by: furester on Wed, 23 Jul 2008 09:45:47 +0000
How could I read the PKGBUILD and other files to compile it myself?I get an error page anytime I click on CVS-view in aur pages for community packages!
Comment by: bash on Sat, 07 Jun 2008 01:14:18 +0000
updated, sorry for delay
Comment by: wantilles on Fri, 06 Jun 2008 19:50:30 +0000
Please make x86_64 package.
Comment by: fettouhi on Sun, 25 May 2008 17:14:48 +0000
Why no update to version 1.6.0?

Regards

André
Comment by: bash on Sun, 25 May 2008 16:25:39 +0000
* rebuilt
Comment by: bash on Sat, 24 May 2008 17:27:18 +0000
@ furester
http://repos.archlinux.org/viewvc.cgi/community/modules/virtualbox-modules/?root=community&pathrev=CURRENT
Comment by: furester on Thu, 01 May 2008 07:45:35 +0000
How to get the PKGBUILD and compile it ourselves?
Comment by: roadboy on Tue, 22 Apr 2008 08:29:11 +0000
Needs update for kernel 2.6.25

v1.6.0