You are not logged in.

#1 2007-02-27 04:41:47

grazie
Member
Registered: 2007-02-14
Posts: 6

Virtualbox problem with 2.6.20 kernel [solved]

Just built Virtualbox from the AUR repo. Amended the PKGBUILD and virtualbox-modules.install scripts for the virtual-modules-svn package to match the 2.6.20-ARCH kernel. The vboxdrv kernel module loads fine. Created the virtualbox group and added it to the user account, but I get the follow error on attempting to start a virtual machine.

vbox-error.jpg

Any suggestions?

Last edited by grazie (2007-03-03 21:47:22)

Offline

#2 2007-02-27 07:29:30

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Virtualbox problem with 2.6.20 kernel [solved]

did you reboot after install?

You may have more luck running binary version search forums for pkgbuild.... subject to license you can then use usb ;-)

http://bbs.archlinux.org/viewtopic.php?id=29952 there you go.....


Mr Green

Offline

#3 2007-02-27 13:35:17

grazie
Member
Registered: 2007-02-14
Posts: 6

Re: Virtualbox problem with 2.6.20 kernel [solved]

Thanks for that Mr Green as I hadn't seen that. However as it takes quite a while to build the svn version and is has to be uninstalled before trying the one above, is there any way to backup the installed packages so that it can be re-installed in pacman if required, rather than having to completely rebuild. I suppose I need to make the built svn version as my own binary packages?

Offline

#4 2007-02-27 13:43:27

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Virtualbox problem with 2.6.20 kernel [solved]

have you still got pkg.tar.gz of virtualbox ? .... if so then you can at least reinstall if you are not happy with binary version

HTH


Mr Green

Offline

#5 2007-02-27 17:20:37

grazie
Member
Registered: 2007-02-14
Posts: 6

Re: Virtualbox problem with 2.6.20 kernel [solved]

I can't get that binary package to install as I get the following error

==> Making package: virtualbox-bin 1.3.4-1 (Tue Feb 27 17:17:16 GMT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of VirtualBox_1.3.4_Linux_x86.run
==> ERROR: vboxbfe was not found in the build directory and is not a proper URL.
==> Aborting...

I'd prefer to use the SVN version from AUR anyway.

Offline

#6 2007-02-27 19:47:34

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Virtualbox problem with 2.6.20 kernel [solved]

thats cool what ever you feel comfortable using......


Mr Green

Offline

#7 2007-02-28 05:03:44

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: Virtualbox problem with 2.6.20 kernel [solved]

I had trouble building from AUR as well. In the end, what worked was going to their site and using their .run file. No problems there.

Offline

#8 2007-02-28 06:00:12

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: Virtualbox problem with 2.6.20 kernel [solved]

2.6.20-ARCH and svn-1076, got error

kBuild: Compiling RuntimeR3 - r3/alloc-ef.cpp
/root/vbox/modules/src/vbox-build/include/iprt/assert.h:68: error: previous declaration of 'int RTASSERTVAR [1]' with 'C++' linkage
/root/vbox/modules/src/vbox-build/include/VBox/sup.h:116: error: conflicts with new declaration with 'C' linkage
kmk[3]: *** [/root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o] Error 1
The failing command:
        @g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -I/root/vbox/modules/src/vbox-build/src/libs/liblzf-1.51 -I/root/vbox/modules/src/vbox-build/include -I/root/vbox/modules/src/vbox-build/src/VBox/Runtime -I/root/vbox/modules/src/vbox-build/out/linux.x86/release -Iinclude -DVBOX -DVBOX_OSE -D__LINUX__ -D_FILE_OFFSET_BITS=64 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -DIN_RT_R3 -DIN_SUP_R3 -DLDR_WITH_NATIVE -DLDR_WITH_ELF32 -DLDR_WITH_PE -DRT_WITH_VBOX -Wp,-MD,/root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o.dep -Wp,-MT,/root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o -Wp,-MP -o /root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o /root/vbox/modules/src/vbox-build/src/VBox/Runtime/r3/alloc-ef.cpp
kmk[3]: Leaving directory `/root/vbox/modules/src/vbox-build/src/VBox/Runtime'
kmk[2]: *** [pass_libraries_before] Error 2
kmk[2]: Leaving directory `/root/vbox/modules/src/vbox-build/src/VBox'
kmk[1]: *** [pass_libraries_before] Error 2
kmk[1]: Leaving directory `/root/vbox/modules/src/vbox-build/src'
kmk: *** [pass_libraries_before] Error 2
./PKGBUILD: line 37: cd: out/linux.x86/release/bin/src: No such file or directory
/root/vbox/modules/src/vbox-build/kBuild/gnumake-header.kmk:33: kBuild: Using vanilla GNU make isn't safe for anything but kBuild bootstrapping!
Config.kmk:103: *** You must update kBuild!.  Stop.
==> ERROR: Build Failed.  Aborting...
==> ERROR: Reverting pkgver...

Last edited by once (2007-02-28 06:00:51)

Offline

#9 2007-02-28 07:09:19

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: Virtualbox problem with 2.6.20 kernel [solved]

i get the same error as once.

Offline

#10 2007-02-28 07:58:18

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Virtualbox problem with 2.6.20 kernel [solved]

For me binary version is much easier to build and has more features ...

@once svn-1076 have you modified pkgbuild at all?


Mr Green

Offline

#11 2007-02-28 09:25:26

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: Virtualbox problem with 2.6.20 kernel [solved]

Mr Green wrote:

For me binary version is much easier to build and has more features ...

@once svn-1076 have you modified pkgbuild at all?

no, just AUR PKGBUILD used, svn-1008 ok.
but, binary had worse performance about 50% in 512M share guest XP.

Offline

#12 2007-02-28 09:38:35

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Virtualbox problem with 2.6.20 kernel [solved]

never noticed any difference is performance..... boots up far quicker than vmplayer weird

how much ram you got?


Mr Green

Offline

#13 2007-02-28 10:58:10

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: Virtualbox problem with 2.6.20 kernel [solved]

1g of ram,2g of swap, 512m share to guest.
svn ok, but binary lag guest.

Offline

#14 2007-02-28 11:26:09

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Virtualbox problem with 2.6.20 kernel [solved]

I'm only running 256mb for guest got 2gb of ram here .....


Mr Green

Offline

#15 2007-03-03 21:57:54

grazie
Member
Registered: 2007-02-14
Posts: 6

Re: Virtualbox problem with 2.6.20 kernel [solved]

The binary build problem was sorted by putting the binary build files in the correct place.

The SVN runtime error was due to a couple of problems. Using the vboxdrv.ko driver built with VirtualBox binary package I can now use both the SVN and binary versions. Although I created the group virtualbox and added it to the use account, for some unexplained reason the user account loses this group and I haven't figured out why yet.

Thanks to hpestilence for his advice.

Offline

Board footer

Powered by FluxBB