VirtualBox

Ticket #3275 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

2.1.2 Modload(1) on OpenSolaris build 105 results in undefined symbol

Reported by: claybSUN Owned by:
Priority: major Component: host support
Version: VirtualBox 2.1.2 Keywords:
Cc: Guest type: Windows
Host type: Solaris

Description (last modified by frank) (diff)

I freshly installed 2.1.2 from VirtualBox.ORG on a Dell E4300 freshly installed with an OpenSolaris build 105 USB stick. I got the following, culminating in undefined symbol errors in /var/adm/messages when I tried to modload the kernel driver.

$ isainfo
amd64 i386
$ pfexec pkgadd -d VirtualBox-2.1.2-SunOS-r41885.pkg 

The following packages are available:
  1  SUNWvbox     Sun xVM VirtualBox
                  (i386) 2.1.2,REV=r41885.2009.01.21.20.00

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1

Processing package instance <SUNWvbox> from </tmp/VirtualBox-2.1.2-SunOS-r41885.pkg>

Sun xVM VirtualBox(i386) 2.1.2,REV=r41885.2009.01.21.20.00
VirtualBox Personal Use and Evaluation License (PUEL)
  .
  .
  .
Using </> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

The following files are being installed with setuid and/or setgid
permissions:
  /opt/VirtualBox/amd64/VBoxBFE <setuid root>
  /opt/VirtualBox/amd64/VBoxHeadless <setuid root>
  /opt/VirtualBox/amd64/VBoxSDL <setuid root>
  /opt/VirtualBox/amd64/VirtualBox <setuid root>
  /opt/VirtualBox/i386/VBoxBFE <setuid root>
  /opt/VirtualBox/i386/VBoxHeadless <setuid root>
  /opt/VirtualBox/i386/VBoxSDL <setuid root>
  /opt/VirtualBox/i386/VirtualBox <setuid root>

Do you want to install these as setuid/setgid files [y,n,?,q] y

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWvbox> [y,n,?] y

Installing Sun xVM VirtualBox as <SUNWvbox>

## Installing part 1 of 1.
  .
  .
  .
[ verifying class <none> ]
/opt/VirtualBox/VBoxBFE <linked pathname>
/opt/VirtualBox/VBoxHeadless <linked pathname>
/opt/VirtualBox/VBoxManage <linked pathname>
/opt/VirtualBox/VBoxSDL <linked pathname>
/opt/VirtualBox/VBoxVRDP <linked pathname>
/opt/VirtualBox/VBoxZoneAccess <linked pathname>
/opt/VirtualBox/VirtualBox <linked pathname>
/opt/VirtualBox/vboxwebsrv <linked pathname>
/opt/VirtualBox/webtest <linked pathname>
## Executing postinstall script.
Configuring VirtualBox kernel modules...
devfsadm: driver failed to attach: vboxdrv
Warning: Driver (vboxdrv) successfully added to system but failed to attach
can't load module: Invalid argument
## Aborting due to attach failure.
## Configuration failed. Aborting installation.
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <SUNWvbox> partially failed.

$ cd /opt/VirtualBox
$ pfexec ./vboxdrv.sh start 
Driver (vboxdrv) is already installed.
## Failed to add VirtualBox Host Kernel module.
$ modinfo|grep -i vbox
[reboot thinking that might help]
$ modinfo|grep -i vbox
$ grep vbox /etc/name_to_major                       
vboxdrv 263
$ pfexec modload -p drv/vboxdrv
can't load module: Invalid argument

from /var/adm/messages:

Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_contig_free'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_text_alloc'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_va_to_pa'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_timer_granularity'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_lock_va'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_text_free'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_curthread'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_cpu_id'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_execute_on_others'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_cpu_count'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_is_preempt_enabled'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_proc'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_thread_exit'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_revision_level'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_preempt_enable'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_contig_alloc'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_tod'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_execute_on_all'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_execute_on_one'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_cpu_maxcount'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_max_cpu_id'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_user_map'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_preempt_disable'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_set_priority'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_cpu_online'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_thread_create'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_unmap'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_yield'
Feb  5 09:26:20 opensolaris genunix: [ID 819705 kern.notice] /platform/i86pc/kernel/drv/amd64/vboxdrv: undefined symbol
Feb  5 09:26:20 opensolaris genunix: [ID 826211 kern.notice]  'vbi_unlock_va'
Feb  5 09:26:20 opensolaris genunix: [ID 472681 kern.notice] WARNING: mod_load: cannot load module 'vboxdrv'
Feb  5 09:26:20 opensolaris genunix: [ID 749970 kern.notice] WARNING: vboxdrv: 
Feb  5 09:26:20 opensolaris genunix: [ID 225575 kern.notice] unable to resolve dependency, module 'misc/vbi' not found

Change History

comment:1 Changed 5 years ago by jkeil

Did you install the VirtualBoxKern package?

There are two packages that must be installed.

Check the README file before installing the packages, it contains the pkgadd command for both of the packages.

comment:2 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid
  • Description modified (diff)

That's exactly the problem. And next time please use the preview button and don't cut'n'paste huge portions of text.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use