You are not logged in.
Just recently I have been unable to start VirtualBox after a kernel update. That is to say it seems to be running, but displays nothing.
The following processes are listed: VirtualBox, VBoxSVC, VBoxSVC, VBoxXPCOMPCD
The following modules are loaded: vboxdrv, vboxnetflt, vboxnetadp
Yesterday, when the same thing happened, I reinstalled VirtualBox and it worked correctly again.
I recently upgraded to systemd which has caused me some other problems, so that might have something to do with it
Cheers
Andrew
* Arch x86_64 up to date, NVidia proprietary drivers, AMD processor
Offline
do you run dkms install vboxhost/<virtualbox-host-source version> -k <your custom kernel's version>/<your architecture>?
it's from the wiki: https://wiki.archlinux.org/index.php/Virtualbox
Offline
I don't run a custom kernel just the arch standard ones. All the modules are there and loaded, so I am not sure why it does not work.
I have reinstalled Virtualbox and it is running OK again.
It does seem odd that this has just started happening.
Offline
but in the wiki of virtualbox says:
Automatic re-compilation of the virtualbox modules with every update of any kernel
This is possible thanks to virtualbox-hook from the AUR. In virtualbox-hook, the 'automatic re-compilation' functionality is done by a vbox hook on mkinitcpio after forcing to update the linux-headers package. You will need to add 'vbox' to the HOOKS array in /etc/mkinitcpio.conf as well as 'linux-headers' and your custom kernel(s) headers to the SyncFirst array in /etc/pacman.conf for this to work.
The hook will call the dkms command to update the virtualbox modules for the version of your new kernel.
Noted helped you?
Last edited by AleArchi686 (2012-10-26 16:03:56)
Offline
AleArchi686, read it again, more carefully. That section is for custom kernels only.
Offline
I am grateful for any suggestions
Andrew
Offline
This really is beginning to get me down. Has anyone any suggestions?
Andrew
Offline
Just recently I have been unable to start VirtualBox after a kernel update. That is to say it seems to be running, but displays nothing.
The following processes are listed: VirtualBox, VBoxSVC, VBoxSVC, VBoxXPCOMPCD
The following modules are loaded: vboxdrv, vboxnetflt, vboxnetadp
Yesterday, when the same thing happened, I reinstalled VirtualBox and it worked correctly again.
I recently upgraded to systemd which has caused me some other problems, so that might have something to do with it
Cheers
Andrew
* Arch x86_64 up to date, NVidia proprietary drivers, AMD processor
I am running systemd + virtualbox without any problems. (tested with standard and custom kernel), so I don't think it is related to systemd, but can you paste your console output when trying to run virtualbox, I guess it would help.
Offline
Did you update just the kernel ?(bad idea) or did you do a pacman -Syu ? (Good Idea)
Either way, try a full upgrade again, then reboot. Sometimes it takes a bit of time between the kernel release and the VirtualBox driver release.
If that does not work, please paste the output of
uname -a
pacman -Qi linux
and of
pacman -Qi virtualbox-host-modules
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
@MatejLach - No console output. VirtualBox starts and runs but nothing is displayed.
@ewaller - Not much use now as I reinstalled VirtualBox and its modules. Interestingly forcing the reinstal did not make any difference, I had to uninstall and then reinstall before it worked again. In answer to your points:
I did pacman -Syu
I tried a full upgrade and reboot - no effect.
$ uname -a
Linux ezcool 3.6.3-1-ARCH #1 SMP PREEMPT Mon Oct 22 10:23:56 CEST 2012 x86_64 GNU/Linux
# pacman -Qi linux
Name : linux
Version : 3.6.3-1
URL : http://www.kernel.org/
Licenses : GPL2
Groups : base
Provides : kernel26=3.6.3
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your country
Required By : nvidia virtualbox-host-modules
Conflicts With : kernel26
Replaces : kernel26
Installed Size : 61096.00 KiB
Packager : Tobias Powalowski <tpowa@archlinux.org>
Architecture : x86_64
Build Date : Mon 22 Oct 2012 10:28:05 CEST
Install Date : Fri 26 Oct 2012 10:53:14 CEST
Install Reason : Explicitly installed
Install Script : Yes
Description : The linux kernel and modules
# pacman -Qi virtualbox-host-modules
Name : virtualbox-host-modules
Version : 4.2.4-1
URL : http://virtualbox.org
Licenses : GPL
Groups : None
Provides : None
Depends On : linux>=3.6 linux<3.7
Optional Deps : None
Required By : virtualbox
Conflicts With : virtualbox-modules
Replaces : virtualbox-modules
Installed Size : 168.00 KiB
Packager : Sébastien Luttringer <seblu@seblu.net>
Architecture : x86_64
Build Date : Sat 27 Oct 2012 00:55:59 CEST
Install Date : Tue 30 Oct 2012 13:07:13 CET
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description : Host kernel modules for VirtualBoxI will retry these when the next upgrade occurs. If it were simply a module problem then I would expect:
a) a warning about the modules from VirtualBox and
b) the modules not to exists in /usr/lib/modules/3.6.3-1-ARCH/extramodules Iin this case), but they did and they were loaded
Offline
What do you think lads?
# pacman -Syu
:: Synchronizing package databases...
core 107.1 KiB 242K/s 00:00 [####################################################] 100%
extra 1425.3 KiB 241K/s 00:06 [####################################################] 100%
community 1775.4 KiB 243K/s 00:07 [####################################################] 100%
multilib 92.1 KiB 243K/s 00:00 [####################################################] 100%
:: Starting full system upgrade...
:: Replace libwebkit with extra/webkitgtk2? [Y/n]
:: Replace libwebkit3 with extra/webkitgtk3? [Y/n]
resolving dependencies...
looking for inter-conflicts...Targets (54): at-spi2-atk-2.6.1-1 at-spi2-core-2.6.1-1 atk-2.6.0-1 cairo-1.12.6-2 colord-0.1.24-1 dconf-0.14.0-1 dhclient-4.2.4.1-3
e2fsprogs-1.42.6-1 gconf-3.2.5-3 gdk-pixbuf2-2.26.4-1 glib-networking-2.34.0-1 glib2-2.34.1-1 glibmm-2.34.0-1
gnome-icon-theme-3.6.0-1 gnome-icon-theme-symbolic-3.6.0-1 gnutls-3.1.3-2 gpm-1.20.7-1 gsettings-desktop-schemas-3.6.0-1
gst-plugins-base-libs-1.0.2-1 gstreamer-1.0.2-1 gtk3-3.6.1-1 gtkmm3-3.6.0-1 harfbuzz-0.9.5-1 iproute2-3.6.0-2
iptables-1.4.16.2-1 js-1.8.5-3 kdebase-workspace-4.9.2-6 kdeplasma-addons-applets-systemloadviewer-4.9.2-3
kdeplasma-addons-runners-kopete-4.9.2-3 libcanberra-0.30-1 libcanberra-pulse-0.30-1 libcroco-0.6.8-1 libgnome-keyring-3.6.0-1
librsvg-2.36.4-1 libsoup-2.40.1-1 libsoup-gnome-2.40.1-1 libtasn1-3.0-1 libwebkit-1.8.3-1 [removal] libwebkit3-1.8.3-1 [removal]
libxklavier-5.3-1 linux-3.6.4-1 lirc-utils-1:0.9.0-34 mdadm-3.2.6-1 net-tools-1.60.20120804git-2 networkmanager-0.9.6.4-1
nvidia-304.60-3 pango-1.32.1-1 perl-5.16.1-2 polkit-0.107-4 virtualbox-host-modules-4.2.4-2 webkitgtk2-1.10.1-1
webkitgtk3-1.10.1-1 xorg-xinit-1.3.2-3 xterm-286-1Total Download Size: 140.90 MiB
Total Installed Size: 526.75 MiB
Net Upgrade Size: 98.25 MiBProceed with installation? [Y/n]
![]()
Offline
Updated - Rebooted (systemd does hang on reboot or shutdown but turned PC off and restarted)
Confirmed that vbox modules are loaded:
vboxnetflt 16807 0
vboxnetadp 18419 0
vboxdrv 1823469 2 vboxnetadp,vboxnetflt
Started VirtualBox - nothing displayed.
ps -el shows
0 S 501 1036 614 0 80 0 - 111245 futex_ ? 00:00:00 VirtualBox
0 S 501 1050 1 0 80 0 - 29408 poll_s ? 00:00:00 VBoxXPCOMIPCD
0 S 501 1056 1 0 80 0 - 53178 futex_ ? 00:00:00 VBoxSVC
output as above
$ uname -a
Linux ezcool 3.6.4-1-ARCH #1 SMP PREEMPT Mon Oct 29 09:49:00 CET 2012 x86_64 GNU/Linux
# pacman -Qi linux
Name : linux
Version : 3.6.4-1
URL : http://www.kernel.org/
Licenses : GPL2
Groups : base
Provides : kernel26=3.6.4
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your country
Required By : nvidia virtualbox-host-modules
Conflicts With : kernel26
Replaces : kernel26
Installed Size : 61124.00 KiB
Packager : Tobias Powalowski <tpowa@archlinux.org>
Architecture : x86_64
Build Date : Mon 29 Oct 2012 09:55:27 CET
Install Date : Wed 31 Oct 2012 12:28:40 CET
Install Reason : Explicitly installed
Install Script : Yes
Description : The linux kernel and modules
# pacman -Qi virtualbox-host-modules
Name : virtualbox-host-modules
Version : 4.2.4-2
URL : http://virtualbox.org
Licenses : GPL
Groups : None
Provides : None
Depends On : linux>=3.6 linux<3.7
Optional Deps : None
Required By : virtualbox
Conflicts With : virtualbox-modules
Replaces : virtualbox-modules
Installed Size : 168.00 KiB
Packager : Evangelos Foutras <evangelos@foutrelis.com>
Architecture : x86_64
Build Date : Mon 29 Oct 2012 17:23:20 CET
Install Date : Wed 31 Oct 2012 12:29:06 CET
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description : Host kernel modules for VirtualBoxKill all VBox processes, VBoxSVC does not quit but is marked (defunct)
Reload modules
Confirm modules loaded
vboxnetflt 16807 0
vboxnetadp 18419 0
vboxdrv 1823469 2 vboxnetadp,vboxnetflt
Start VirtualBox - nothing
pacman -Rdd virtualbox-host-modules
pacman -S virtualbox-host-modules
modprobe vboxdrv
Start VirtualBox - nothing
pacman -R virtualbox virtualbox-host-modules
pacman -S virtualbox virtualbox-host-modules
useradd -G vboxusers
Start VirtualBox - nothing
The problem seems to be something to do with nspr-2. I am getting multiple errors in the journal:
Oct 31 14:16:46 ezcool kernel: INFO: task nspr-2:1007 blocked for more than 120 seconds.
Oct 31 14:16:46 ezcool kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 31 14:16:46 ezcool kernel: nspr-2 D 0000000000000246 0 1007 1 0x00000000
Oct 31 14:16:46 ezcool kernel: ffff8803d67b9d68 0000000000000082 ffff8803d65b0810 ffff8803d67b9fd8
Oct 31 14:16:46 ezcool kernel: ffff8803d67b9fd8 ffff8803d67b9fd8 ffff8804194a58b0 ffff8803d65b0810
Oct 31 14:16:46 ezcool kernel: ffff880300000041 ffffffff8119df46 ffff88042fffdb08 0000000000000001
Oct 31 14:16:46 ezcool kernel: Call Trace:
Oct 31 14:16:46 ezcool kernel: [<ffffffff8119df46>] ? mntput+0x26/0x40
Oct 31 14:16:46 ezcool kernel: [<ffffffff811251cc>] ? __alloc_pages_nodemask+0x16c/0x960
Oct 31 14:16:46 ezcool kernel: [<ffffffff81491a09>] schedule+0x29/0x70
Oct 31 14:16:46 ezcool kernel: [<ffffffff81491cd7>] schedule_preempt_disabled+0x27/0x40
Oct 31 14:16:46 ezcool kernel: [<ffffffff81490368>] __mutex_lock_slowpath+0x148/0x340
Oct 31 14:16:46 ezcool kernel: [<ffffffff81490576>] mutex_lock+0x16/0x30
Oct 31 14:16:46 ezcool kernel: [<ffffffffa001cbfb>] show_product+0x2b/0x60 [usbcore]
Oct 31 14:16:46 ezcool kernel: [<ffffffff8132cc90>] dev_attr_show+0x20/0x60
Oct 31 14:16:46 ezcool kernel: [<ffffffff8112146e>] ? __get_free_pages+0xe/0x50
Oct 31 14:16:46 ezcool kernel: [<ffffffff811ef969>] sysfs_read_file+0xa9/0x190
Oct 31 14:16:46 ezcool kernel: [<ffffffff8117f785>] vfs_read+0xa5/0x180
Oct 31 14:16:46 ezcool kernel: [<ffffffff8117f8aa>] sys_read+0x4a/0xa0
Oct 31 14:16:46 ezcool kernel: [<ffffffff81499ded>] system_call_fastpath+0x1a/0x1fAny ideas?
Offline
I finally got an error message from VirtualBox by running it within strace:
"Effective UID is not root (euid=501 egid=100 uid=501 gid=100) (rc=-10)
Please try reinstalling VirtualBox."
Now to find out what it means....
Offline
Just checked on the laptop and I can get the same error message using strace, but VirtualBox runs there without a problem. I am stumped.
Offline
Resolved to reinstall Arch from scratch this morning. Downloaded the iso, turned on the PC and...
VirtualBox now works fine
What is happening?!?
(No I have not done any further updates yet)
Offline
Sorry to hear of your troubles. Not sure what to make of it but I just want to add that I'm also using VirtualBox on kernel 3.6.4, on an x86_64 Arch install running on pure systemd and logind, without any problems.
The last time I had any trouble with VirtualBox was when I was fiddling around with ext-pack and guest-iso versions. I installed an ext-pack version off AUR, and I think I manually downloaded a guest-iso directly from Oracle. VirtualBox promptly stopped working after the next pacman upgrade of its modules. Removing all VirtualBox related stuff and reinstalling worked for me.
Last edited by kinleyd (2012-11-01 13:23:51)
Offline
That is very interesting. I too have mixed the ext-pack (from Oracle) and the guest-iso (from Arch). May be that was the problem.
I will try to be more consistent in future and see if that helps.
I wonder if the Arch maintainer does anything special with their packages?
Andrew
Offline
I wonder if the Arch maintainer does anything special with their packages?
If you are interested, you can install abs and then go look at the PKGBUILD that was used to build it.
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
I looked at the PKGBUILD but it was not altogether clear, also what of the other two mainstream packages?
I am pretty sure that the extensions are handled differently in the PKGBUILD than when downloaded from Oracle but without looking more deeply I cannot be certain.
Andrew
Offline