You are not logged in.

#1 2012-02-06 15:27:11

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Problem with vboxvideo driver [Solved]

This is my first look at Arch, so please be gentle.

My idea was to install Arch as a VirtualBox guest so that I could get used to it before 'going live'.

The install seems to have gone without a hitch, and I have a command line, network connection on boot. I have updated pacman and all the initial files [# pacman -Syu]

So far so good.

I installed X:

xorg-server xorg-xinit xorg-utils xorg-server-utils
mesa
mesa-demos
xf86-video-vesa
dbus && rc.d start dbus [Add dbus to the DAEMONS array in /etc/rc.conf so it starts automatically on boot: DAEMONS=(... dbus ...)]
ttf-dejavu
and to test: xorg-twm xorg-xclock xterm

I have also installed virtualbox-archlinux-modules and virtualbox-archlinux-additions

Now, if I try to start X with startx I get an error:

 
(EE) Failed to load module "vboxvideo" (module does not exist, 0)
(EE) No drivers available

I have googled but I cannot find an answer.

lsmod | grep vbox* shows

vboxvideo                       1869   0
drm                             188435   1 vboxvideo
vboxsf                           32758   1
vboxguest                   167746   2 vboxsf

also /lib/modules/extramodules-3.2-ARCH/vboxvideo.ko.gz exists and "uname -a" returns Linux vbox-arch 3.2.4-1-ARCH #1 SMP PREEMPT..."

Thanks for any help in getting on with the installation.

Andrew

Last edited by fdservices (2012-02-10 08:32:52)

Offline

#2 2012-02-06 16:01:21

hleung
Member
Registered: 2011-01-10
Posts: 20
Website

Re: Problem with vboxvideo driver [Solved]

Did the installation of "virtualbox-archlinux-addtitions" successful?  The log file in /var/log/pacman.log might indicate something that you missed.


Everyone has their own belief, and that belief becomes their own religion.
My bible = "Rapture for the Geeks wink" by Richard Dooling

Offline

#3 2012-02-06 16:08:13

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Problem with vboxvideo driver [Solved]

No, I don;t think so. I think that is the problem. Being a VirtualBox user of old, i tried to Install the Guest Additions first, before I came across the "virtualbox-archlinux-addtitions". It looks like I need to remove that somehow, and the install the "virtualbox-archlinux-addtitions"

Thanks for the reply

Andrew

Offline

#4 2012-02-06 16:16:25

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Problem with vboxvideo driver [Solved]

Yes, that did it. No idea why Arch needs its own special additions installer. Do YOU know?

Andrew

Offline

#5 2012-02-07 16:22:35

hleung
Member
Registered: 2011-01-10
Posts: 20
Website

Re: Problem with vboxvideo driver [Solved]

Perhaps some kind of special patch...
I'd like to think that everything in the Arch repository would be the most compatible with Arch Linux.  It's logical.  There might be some additional switches during the compilation/installation process as well (ex: --prefix=/usr VS --prefix=/usr/local).  I'm glad you made it work.

L.


Everyone has their own belief, and that belief becomes their own religion.
My bible = "Rapture for the Geeks wink" by Richard Dooling

Offline

#6 2012-02-07 21:49:51

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,073

Re: Problem with vboxvideo driver [Solved]

fdservices wrote:

Yes, that did it. No idea why Arch needs its own special additions installer. Do YOU know?

Andrew

Arch does not. But package managers were invented for a _really_ good reason, so I would suggest using it.


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2012-02-08 09:50:10

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Problem with vboxvideo driver [Solved]

I am not quite sure that I understand your comment. Did you appreciate that I am trialling Arch in  VirtualBox as a guest operating system?

I was tripped up because Arch as a guest is different to every other os as a guest (as far as I know), i.e it has its own Guest Additions package which is incompatible with the VirtualBox pack. I thought that this was against the Arch philosophy "Arch provides non-patched, vanilla software; packages are offered from pure upstream sources, how the author originally intended it to be distributed", so I was surprised.

I take your point about the package manager, but it is difficult to know that a package is required under these circumstances.

Incidentally, I am getting on fine with Arch. It is NOT difficult (as you know) and is the only os so far to do EVERYTHING correctly in a VB session. It is a good start.

Thanks for the comments, and for taking an interest.

Andrew

Offline

#8 2012-02-08 16:12:03

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,073

Re: Problem with vboxvideo driver [Solved]

fdservices wrote:

I am not quite sure that I understand your comment. Did you appreciate that I am trialling Arch in  VirtualBox as a guest operating system?

I was tripped up because Arch as a guest is different to every other os as a guest (as far as I know), i.e it has its own Guest Additions package which is incompatible with the VirtualBox pack. I thought that this was against the Arch philosophy "Arch provides non-patched, vanilla software; packages are offered from pure upstream sources, how the author originally intended it to be distributed", so I was surprised.

I take your point about the package manager, but it is difficult to know that a package is required under these circumstances.

Incidentally, I am getting on fine with Arch. It is NOT difficult (as you know) and is the only os so far to do EVERYTHING correctly in a VB session. It is a good start.

Thanks for the comments, and for taking an interest.

Andrew

The vbox guest additions package that arch ships is the exact same as the one you get from upstream. It just happens that arch have gotten permission to distribute it, while most other distroes hasn't or havn't bothered to ask. You can, eg if you are running a older version of vbox than we package the guest addons for, use the iso provided by upstream directly instead. This is what you had to do until we started shipping the additions in the repos. And arch really isn't any different from any other os as a guest in vbox at all.

Here is how archlinux builds the additions package:

# $Id: PKGBUILD 60872 2011-12-19 17:49:19Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>

pkgname=virtualbox-additions
pkgver=4.1.8
pkgrel=1
pkgdesc="The official all-in-one VirtualBox Guest Additions ISO/CD image"
arch=('any')
url="http://www.virtualbox.org"
license=('custom:PUEL')
install=virtualbox-additions.install
source=(http://download.virtualbox.org/virtualbox/$pkgver/VBoxGuestAdditions_$pkgver.iso
	'license')
noextract=(VBoxGuestAdditions_$pkgver.iso)
md5sums=('2eb3daf08b717c76ecf1aa56b82eab03'
         'b67febd9453cc6c4b8412a0456080e9f')

package() {
  cd "$srcdir"
  install -Dm 644 VBoxGuestAdditions_$pkgver.iso \
    "$pkgdir/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso"
  install -Dm 644 "$srcdir/license" \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

and here is the install script:

post_install() {
  /bin/cat << EOF

===> virtualbox-additions post install message:
===>
===> Redistribution of VBoxGuestAdditions.iso from the binary packages
===> on www.virtualbox.org with Arch Linux has been granted by
===> InnoTek Systemberatung GmbH.
===>
===> By using this package you accept
===> the VirtualBox Personal Use and Evaluation License (PUEL)
===> which can be found here: http://virtualbox.org/wiki/VirtualBox_PUEL
===>
===> If you do not accept this license, you must remove the package immediately.
===>

EOF
}

As you can see, there is nothing special going on. No special arch patches or anything. It is the exact same iso you get if you click on the download link on the vbox homepage.

Last edited by Mr.Elendig (2012-02-08 16:13:13)


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2012-02-09 13:43:57

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Problem with vboxvideo driver [Solved]

I am sure that you are right, but, when I installed the Guest Additions from Virtual Box (which is now included in the basic download) it installed:

/sbin/mount.vboxsf
/usr/bin/VBoxClient-all
/usr/bin/VBoxClient
/usr/bin/VBoxControl
/usr/lib/VBoxOGL.so
/usr/lib/VBoxOGLarrayspu.so
/usr/lib/VBoxOGLcrutil.so
/usr/lib/VBoxOGLerrorspu.so
/usr/lib/VBoxOGLfeedbackspu.so
/usr/lib/VBoxOGLpackspu.so
/usr/lib/VBoxOGLpassthroughspu.so
/usr/lib/xorg/modules/dri/vboxvideo_dri.so

But it does not apparently include

usr/lib/xorg/modules/drivers/vboxvideo.so

This latter IS in virtualbox-archlinux-additions, which will not install because of the files already on disk. After I moved the files above out of the way the archlinux additions installed and we were away.

Hence the problem I encountered.

I have since found that there are several areas which need careful attention when installing, all of which are documented, so, we live and learn.

Thanks for your help and comments

Andrew
This did not work so I tried to install

Offline

#10 2012-02-09 21:33:00

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,073

Re: Problem with vboxvideo driver [Solved]

You get that .so if you go and actually go and build it when you build vritualbox itself on the host. It is not shipped in binary form on the iso.

(sadly this is really badly documented in the upstream vbox docs)

Edit:  Many other distroes ships with the  vboxvideo_dri.so driver installed by default, which is why you don't have to do anything special on them.

Last edited by Mr.Elendig (2012-02-09 21:46:21)


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#11 2012-02-10 08:32:16

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Problem with vboxvideo driver [Solved]

I am very grateful for your explanation. Hopefully this thread will help other newbies.


Andrew

Offline

Board footer

Powered by FluxBB