Re: Call for tester: VirtualBox 3.1.2 for FreeBSD

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 28 Dec 2009 11:04:30 -0500
On Monday 28 December 2009 9:25:28 am Gary Jennejohn wrote:
> I also can't load this module (after loading vboxdrv.ko):
> 
> sh -x /usr/local/etc/rc.d/vboxguest.sh start
> + VBOXGUESTFILE=''
> + SILENTUNLOAD=''
> + check_root
> + id -u
> + test 0 -ne 0
> + get_module_path
> + moduledir=/boot/modules
> + modulepath=/boot/modules/vboxguest.ko
> + test -f /boot/modules/vboxguest.ko
> + VBOXGUESTFILE=/boot/modules/vboxguest.ko
> + check_if_installed
> + test /boot/modules/vboxguest.ko -a -f /boot/modules/vboxguest.ko
> + return 0
> + test '' = silentunload
> + start
> + module_loaded
> + kldstat
> + grep vboxguest
> + loadentry=''
> + test -z ''
> + return 1
> + /sbin/kldload vboxguest.ko
> kldload: can't load vboxguest.ko: Exec format error
> + module_loaded
> + kldstat
> + grep vboxguest
> + loadentry=''
> + test -z ''
> + return 1
> + abort 'Failed to load vboxguest.'
> + echo 'Failed to load vboxguest.'
> Failed to load vboxguest.
> + exit 1
> 
> file /boot/modules/vbox*.ko
> /boot/modules/vboxdrv.ko:    ELF 64-bit LSB relocatable, x86-64, version 1 
(FreeBSD), not stripped
> /boot/modules/vboxguest.ko:  ELF 64-bit LSB relocatable, x86-64, version 1 
(FreeBSD), not stripped
> /boot/modules/vboxnetadp.ko: ELF 64-bit LSB relocatable, x86-64, version 1 
(FreeBSD), not stripped
> /boot/modules/vboxnetflt.ko: ELF 64-bit LSB relocatable, x86-64, version 1 
(FreeBSD), not stripped
> 
> Does vboxguest.ko have silent dependencies on other vbox modules?  I only
> loaded vboxdrv.ko.

Look in dmesg for the real kldload error message.

-- 
John Baldwin
Received on Mon Dec 28 2009 - 15:37:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC