VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (478 - 480 of 16363)

Ticket Resolution Summary Owner Reporter
#7184 wontfix vboxdrv does not compile/load on Centos 4 with kernel 2.6.27.45 Macedo
Description

Environment: Host: Centos 4 with custom kernel 2.6.27.45, dkms 2.1.1.2 VirtualBox 2.3.6 (package VirtualBox-3.2-3.2.6_63112_rhel4-1.i386.rpm)

When running vboxdrv setup, the result is:

[...]
Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

  /etc/init.d/vboxdrv setup

as root.

[root@qeynos ~]# tail /var/log/vbox-install.log 
  CC [M]  /tmp/vbox.0/linux/SUPDrv-linux.o
  CC [M]  /tmp/vbox.0/SUPDrv.o
/tmp/vbox.0/SUPDrv.c: In function `supdrvCleanupSession':
/tmp/vbox.0/SUPDrv.c:109: sorry, unimplemented: inlining failed in call to 'supdrvLdrLock': function body not available
/tmp/vbox.0/SUPDrv.c:851: sorry, unimplemented: called from here
/tmp/vbox.0/SUPDrv.c:110: sorry, unimplemented: inlining failed in call to 'supdrvLdrUnlock': function body not available
/tmp/vbox.0/SUPDrv.c:870: sorry, unimplemented: called from here
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

This was fixed with the change below on /usr/src/vboxdrv-3.2.6/include/iprt/cdefs.h:

[root@qeynos iprt]# diff -u cdefs.h.orig cdefs.h
--- cdefs.h.orig        2010-06-25 12:32:20.000000000 -0300
+++ cdefs.h     2010-07-16 16:56:29.000000000 -0300
@@ -736,7 +736,7 @@
  * @remarks Don't use this macro on C++ methods.
  */
 #ifdef __GNUC__
-# define DECLINLINE(type) static __inline__ type
+# define DECLINLINE(type) static type
 #elif defined(__cplusplus)
 # define DECLINLINE(type) inline type
 #elif defined(_MSC_VER)
@@ -755,7 +755,7 @@
  * @remarks Use sparsely and with care. Don't use this macro on C++ methods.
  */
 #ifdef __GNUC__
-# define DECL_FORCE_INLINE(type)    __attribute__((always_inline)) DECLINLINE(type)
+# define DECL_FORCE_INLINE(type)    DECLINLINE(type)
 #elif defined(_MSC_VER)
 # define DECL_FORCE_INLINE(type)    __forceinline type
 #else

After this, the module compiles but when I try to load, I get the following:

[root@qeynos ~]#   /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                          [  OK  ]
Recompiling VirtualBox kernel module                       [  OK  ]
Starting VirtualBox kernel module                          [FAILED]
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
[root@qeynos ~]# dmesg 
vboxdrv: Unknown symbol RTStrPutCpInternal
vboxdrv: Unknown symbol RTUtf16GetCpExInternal
vboxdrv: Unknown symbol RTStrGetCpInternal
vboxdrv: Unknown symbol RTStrGetCpExInternal
vboxdrv: Unknown symbol RTStrGetCpNExInternal
vboxdrv: Unknown symbol RTUtf16PutCpInternal
vboxdrv: Unknown symbol RTUtf16GetCpInternal

These functions have only their prototypes defined in string.h but no body anywhere on the sources. The same occurs with 3.2.4.

Curiously, these functions are defined on the VBox OSE, on utf-8.cpp.

Is there any solution for this?

#7576 invalid vboxdrv does not compile with gcc 4.03 myasar
Description

Kernel: Linux my-desktop 2.6.15-55-386 OS: Ubuntu Dapper 6.06 32bits compiler: gcc 4.03 package: virtualbox-3.2_3.2.10-66523~Debian~etch_i386.deb

The compilation of kernel drivers is failing with the following error:

gcc -m32 -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -fno-delete-null-pointer-checks -O2     -fomit-frame-pointer  -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i486 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.15-55-386/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DVBOX_WITH_64_BITS_GUESTS   -DMODULE -DKBUILD_BASENAME=SUPDrv -DKBUILD_MODNAME=vboxdrv -c -o /tmp/vbox.0/.tmp_SUPDrv.o /tmp/vbox.0/SUPDrv.c
/tmp/vbox.0/SUPDrv.c: In function 'supdrvIOCtl_LdrOpen':
/tmp/vbox.0/SUPDrv.c:109: sorry, unimplemented: inlining failed in call to 'supdrvLdrLock': function body not available
/tmp/vbox.0/SUPDrv.c:3621: sorry, unimplemented: called from here
/tmp/vbox.0/SUPDrv.c:110: sorry, unimplemented: inlining failed in call to 'supdrvLdrUnlock': function body not available
/tmp/vbox.0/SUPDrv.c:3633: sorry, unimplemented: called from here
/tmp/vbox.0/SUPDrv.c:110: sorry, unimplemented: inlining failed in call to 'supdrvLdrUnlock': function body not available
/tmp/vbox.0/SUPDrv.c:3645: sorry, unimplemented: called from here
/tmp/vbox.0/SUPDrv.c:110: sorry, unimplemented: inlining failed in call to 'supdrvLdrUnlock': function body not available
/tmp/vbox.0/SUPDrv.c:3684: sorry, unimplemented: called from here
/tmp/vbox.0/SUPDrv.c:110: sorry, unimplemented: inlining failed in call to 'supdrvLdrUnlock': function body not available
/tmp/vbox.0/SUPDrv.c:3702: sorry, unimplemented: called from here
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2

This can be fixed by editing /usr/share/virtualbox/src/vboxhost/vboxdrv/SUPDrv.c and moving the function bodies supdrvLdrLock and supdrvLdrUnlock before the declaration.

Is compiling with gcc 4.03 supported ?

#12693 obsolete vboxdrv crashes on the HOST server. Need a hard reboot to bring up the host back shivprakash
Description

On a RHEL-6.4 host with VB version 3.1.8r61349, the Host (RHEL-6.4) keeps crashing randomly. The frequency is 2/3 crashes per week. This seems to happen when 2 guest VM's are communicating (This is some basic heartbeats - udp). And the crash is in the vboxdrv module.

As the VM core is huge (~17G) im attaching the BT. We had raised this issue with RHEL team, and after debugging the issue, they pointed it to be a bug with virtualbox driver bug. Attaching their analysis too.

You can find the RHEL ticket here: https://access.redhat.com/support/cases/01035356 Case Title : RHEL 6.4 hosts crash when VirtualBox 3.1.8 is used Case Number : 01035356 Case Open Date : 2014-02-05 13:29:21

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy