You are not logged in.

#1 2010-02-25 05:32:10

r1d3r
Member
From: Glendale, CA
Registered: 2010-02-14
Posts: 2

VirtualBox not working after upgrade

Today after upgradeing my system i rebooted to the new kernel, and cannot start virtual machines anymore.

I tried with "sudo modprobe vboxdrv" but i get this message:
"WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/."

Is anyone else haveing this problem?

Offline

#2 2010-02-25 06:45:37

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: VirtualBox not working after upgrade

Try running this as root:

vbox_build_module

Also have a look at this:

http://www.archlinux.org/news/450/


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-02-25 17:32:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,653

Re: VirtualBox not working after upgrade

r1d3r,

Hello neighbor (I'm in Pasadena).

loafer is correct on rebuilding the vboxdrv module whenever you update the kernel.

The depreciation warning is really just a warning and may not be related to the Virtualbox issue -- it will show up whenever a module is inserted into the kernel.  I'm sure your system logs contain multiple copies of the warning from boot time.   

After you get Virtualbox running, take a look in /etc/moprobe.d/ and look for the offending files (the ones without .conf).  Check if they are redundant and either rename them or merge them with the redundant .conf files.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2010-02-25 21:41:04

troncoso
Member
Registered: 2008-08-28
Posts: 52

Re: VirtualBox not working after upgrade

The problem is that Arch now has libpng version 1.4 but VirtualBox uses version 1.2. After updating VirtualBox to the latest binary, this is what I get when I run it:
$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: libpng12.so.0: cannot open shared object file: No such file or directory

Offline

#5 2010-02-25 21:54:35

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: VirtualBox not working after upgrade

How are you installing VirtualBox?

I use vitualbox_bin from the AUR.  You can edit the PKGBUILD re. the dependencies.  It works fine on i686 with libpng14

Last edited by loafer (2010-02-25 21:56:25)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2010-02-25 23:09:22

troncoso
Member
Registered: 2008-08-28
Posts: 52

Re: VirtualBox not working after upgrade

I install this binary http://download.virtualbox.org/virtualb … ux_x86.run.
By the way, I've managed to get it running by copying libpng12.so.0.40.0 from an old package to /usr/lib/ and creating a symlink to libpng12.so.0.

Offline

#7 2010-02-25 23:41:01

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: VirtualBox not working after upgrade

loafer wrote:

How are you installing VirtualBox?

I use vitualbox_bin from the AUR.  You can edit the PKGBUILD re. the dependencies.  It works fine on i686 with libpng14

"works fine" except you can't go to 'preferences'. Read the AUR page comments.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#8 2010-02-26 00:49:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: VirtualBox not working after upgrade

troncoso wrote:

I install this binary http://download.virtualbox.org/virtualb … ux_x86.run.
By the way, I've managed to get it running by copying libpng12.so.0.40.0 from an old package to /usr/lib/ and creating a symlink to libpng12.so.0.

Ack, don't listen this this advice.  Never install a binary, use pacman to install it so it can be cleanly removed in the future.

Offline

#9 2010-02-26 01:07:48

r1d3r
Member
From: Glendale, CA
Registered: 2010-02-14
Posts: 2

Re: VirtualBox not working after upgrade

Thanks everyone for your suggestions.
I used the command "vbox_build_module" to rebuild the module and it works fine now!

BTW, i installed vbox from AUR.
isnt it just easier to have the module for the latest kernel available in the repos as an update?

Thanks again for your support.

Offline

#10 2010-03-19 18:44:31

n0kS
Member
Registered: 2009-10-19
Posts: 25
Website

Re: VirtualBox not working after upgrade

Hello, I had the same problem and here are the instructions for those who dislike AUR:

Download http://downloads.sourceforge.net/source … 40.tar.bz2
tar xvf <>
cd <>
./configure
make
sudo make install
ln -s /usr/local/lib/libpng12.so.0 /usr/lib/libpng12.so.0


This worked for me perfectly.

Offline

Board footer

Powered by FluxBB