Re: [Call For Testing] VirtualBox for FreeBSD! take 4

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Wed, 27 May 2009 12:27:37 -0700
Martin Wilke wrote:
> http://people.freebsd.org/~miwi/vbox/virtualbox_5.tgz

On a newly up to date -current (r192914) with world and kernel in
synch and ports up to date I get the same panic when trying to kldload
vboxdrv. This is on a C2D running i386 SMP.

panic: boot: not running on cpu0
cupid = 1

Also, I got the following when trying to build with debug. Building
without debug worked.

hth,

Doug


kBuild: Compiling vboxdrv -
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c
kBuild: Compiling vboxdrv -
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/SUPDrv.c
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c:
In function 'VBoxDrvFreeBSDOpen':
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c:299:
error: invalid operands to binary &
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c:
In function 'VBoxDrvFreeBSDClose':
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c:355:
error: invalid operands to binary &
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/SUPDrv.c:
In function 'supdrvIOCtl':
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/SUPDrv.c:1429:
warning: format '%#lx' expects type 'long unsigned int', but argument
3 has type 'unsigned int'
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/SUPDrv.c:1610:
warning: format '%#lx' expects type 'long unsigned int', but argument
3 has type 'unsigned int'
kmk[2]: ***
[/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/out/freebsd.x86/debug/obj/vboxdrv/freebsd/SUPDrv-freebsd.o]
Error 1
The failing command:
_at_gcc -c -g -Wall -Wextra -Wno-missing-field-initializers -Wno-unused
-Wno-trigraphs -Wpointer-arith -Winline -Wno-pointer-sign
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes
-Wnested-externs -O2 -fformat-extensions -ffreestanding
-fno-strict-aliasing -fno-common -finline-limit=8000
-fno-stack-protector -march=i586 -O0 -fno-omit-frame-pointer -nostdinc
-std=c99 -m32 -mno-align-long-strings -mpreferred-stack-boundary=2
-mno-mmx -mno-3dnow -mno-sse -mno-sse2
-I/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support
-I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/../include
-I/usr/include
-I/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/include
-I/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/out/freebsd.x86/debug
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING
-DRTPATH_APP_PRIVATE=\"/usr/local/lib/virtualbox\"
-DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\"
-DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\"
-DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox\" -DDEBUG
-DDEBUG_dougb -DDEBUG_USERNAME=dougb -DRT_OS_FREEBSD -D__FREEBSD__
-DRT_ARCH_X86 -D__X86__ -D_KERNEL -DKLD_MODULE -DIN_RING0 -DIN_RT_R0
-DIN_RT_R0 -DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER
-DVBOX_SVN_REV=19957
-Wp,-MD,/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/out/freebsd.x86/debug/obj/vboxdrv/freebsd/SUPDrv-freebsd.o.dep
-Wp,-MT,/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/out/freebsd.x86/debug/obj/vboxdrv/freebsd/SUPDrv-freebsd.o
-Wp,-MP -o
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/out/freebsd.x86/debug/obj/vboxdrv/freebsd/SUPDrv-freebsd.o
/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c
kmk[2]: *** Waiting for unfinished jobs....
kmk[2]: Leaving directory
`/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980'
kmk[2]: Entering directory
`/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980'
kmk[2]: *** Exiting with status 2
kmk[1]: *** [pass_binaries_this] Error 2
kmk[1]: Leaving directory
`/usr/local/home/dougb/virtualbox/work/virtualbox-2.2.2r19980'
kmk: *** [pass_binaries_order] Error 2
*** Error code 2

Stop in /usr/local/home/dougb/virtualbox.
*** Error code 1

Stop in /usr/local/home/dougb/virtualbox.


-- 

    This .signature sanitized for your protection
Received on Wed May 27 2009 - 17:27:47 UTC

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