You are not logged in.

#1 2017-06-09 13:44:59

SocietalSeppuku
Member
Registered: 2017-06-09
Posts: 3

[SOLVED] Vboxdrv - Unknown Symbol

Trying to get virtualbox setup.
Installed virtualbox and virtualbox-host-modules-arch
I've tried virtualbox-host-modules-dkms as well to basically the same result.
The host modules will not load upon reboot nor sudo modprobe vboxdrv

Error:

vboxdrv: Unknown symbol __udivmoddi4 (err 0)

uname -a

Linux devbox 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 11:00:30 CEST 2017 i686 GNU/Linux

pacman -Qi linux

Name            : linux
Version         : 4.11.3-1
Description     : The Linux kernel and modules
Architecture    : i686
URL             : https://www.kernel.org/
Licenses        : GPL2
Groups          : base
Provides        : None
Depends On      : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps   : crda: to set the correct wireless channels of your country
Required By     : virtualbox-host-modules-arch
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 72.29 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Sun 28 May 2017 05:02:17 AM EDT
Install Date    : Tue 06 Jun 2017 12:09:04 AM EDT
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

pacman -Qi virtualbox-host-modules-arch

Name            : virtualbox-host-modules-arch
Version         : 5.1.22-3
Description     : Virtualbox host kernel modules for Arch Kernel
Architecture    : i686
URL             : http://virtualbox.org
Licenses        : GPL
Groups          : None
Provides        : VIRTUALBOX-HOST-MODULES
Depends On      : linux>=4.11  linux<4.12
Optional Deps   : None
Required By     : virtualbox
Optional For    : None
Conflicts With  : virtualbox-modules  virtualbox-host-modules  virtualbox-host-dkms
Replaces        : virtualbox-modules  virtualbox-host-modules
Installed Size  : 179.00 KiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Mon 22 May 2017 09:23:35 AM EDT
Install Date    : Fri 09 Jun 2017 09:36:11 AM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

Any input is greatly appreciated on this error, thank you.

Last edited by SocietalSeppuku (2017-06-09 15:45:26)

Offline

#2 2017-06-09 13:52:55

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] Vboxdrv - Unknown Symbol

Offline

#3 2017-06-09 14:27:29

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Vboxdrv - Unknown Symbol

So am I to understand this only occurs with differing host/guest architectures (i.e. 64/32)? I have the latest VirtualBox, Kernel and gcc and have no issues, but my host and guest are both 64-bit, not one 64- and one 32-bit. I am running Windows 10 in a VM without issues.

Last edited by mrunion (2017-06-09 14:28:08)


Matt

"It is very difficult to educate the educated."

Offline

#4 2017-06-09 14:30:59

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] Vboxdrv - Unknown Symbol

As I understand it the issue will occur if either host or guest or both are i686.

Offline

#5 2017-06-09 14:31:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [SOLVED] Vboxdrv - Unknown Symbol

Not differing architectures, but 32 bit modules. Thankfully, not something Arch will have to worry about for much longer.

Offline

#6 2017-06-09 14:35:25

SocietalSeppuku
Member
Registered: 2017-06-09
Posts: 3

Re: [SOLVED] Vboxdrv - Unknown Symbol

That's what I understand, only 32-bit host problems with GCC 7 installed right now. (I'm on 32-bit)

So thanks for your answer loqs here is where Im at so far:
I downloaded the vbox-5.1.22-i686-fixed from the bug report posted.
I go to try and build the (fixed) virtualbox and I get:

Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: 
  ** gcc version 7.1 found, expected gcc 4.x, gcc 5.x or gcc 6.x!
Check /home/driven/Downloads/VirtualBox-5.1.22/configure.log for details

Which...if I had gcc 6 this entire problem wouldnt be happening anyway lol. So then I try to downgrade gcc then since I cant even build the "fix" without it and downgrading should fix the problem anyway, win-win. So then I get:

warning: downgrading package gcc (7.1.1-2 => 6.3.1-2)
resolving dependencies...
warning: cannot resolve "gcc-libs=6.3.1-2", a dependency of "gcc"
:: The following package cannot be upgraded due to unresolvable dependencies:
      gcc

So THEN I try to downgrade gcc-libs and I get:

looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: installing gcc-libs (6.3.1-2) breaks dependency 'gcc-libs=7.1.1-2'

So right now I'm kinda stuck on what to do again. Any input?

Offline

#7 2017-06-09 15:22:21

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] Vboxdrv - Unknown Symbol

From https://sourceforge.net/projects/bluest … 686-fixed/ this appears to be the upstream source tarball https://sourceforge.net/projects/bluest … 2/download
All the other entries appear to be prebuilt packages I can not see a PKGBUILD from which these packages are generated.

Offline

#8 2017-06-09 15:45:00

SocietalSeppuku
Member
Registered: 2017-06-09
Posts: 3

Re: [SOLVED] Vboxdrv - Unknown Symbol

Oh crap, had a derp moment.
Thanks so much for your help!

For future reference, and those coming here with the same problem/future searches:
I downloaded virtualbox-5.1.22-3-i686.pkg.tar.xz and virtualbox-host-modules-arch-5.1.22-4-i686.pkg.tar.xz from the provided link above.
Then installed them with

pacman -U <package>

All fixed and up and running now, thanks again for the help on this issue.

Last edited by SocietalSeppuku (2017-06-09 15:48:44)

Offline

Board footer

Powered by FluxBB