Custom Query (16363 matches)
Results (25 - 27 of 16363)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #19494 | fixed | Guest additions compilation failure on x86 (32bit) (fixed in VirtualBox 6.1.8) | ||
| Description |
/tmp/B.dzLgNZ/BUILD/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp: In function 'int startX11MonitorThread()':
/tmp/B.dzLgNZ/BUILD/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp:313:49: error: invalid conversion from 'int (*)(RTTHREAD, void*)' {aka 'int (*)(RTTHREADINT*, void*)'} to 'PFNRTTHREAD' {aka 'int (__attribute__((regparm(0), cdecl)) *)(RTTHREADINT*, void*)'} [-fpermissive]
|
|||
| #19516 | fixed | Linux kernel version: 5.7 - we need changes (fixed in 6.1.10) | ||
| Description |
From: "Larry Finger" <> To: vbox-dev@… Subject: [vbox-dev] Fixes for kernel 5.7 Date: Fri, 17 Apr 2020 17:47:11 +0200 Hi, Attached are the fixes required by API changes in kernel 5.7 as follows:
and has been eliminated. As usual, these patches are released under the MIT license. Larry |
|||
| #19521 | fixed | Can't build kernel modules on SLES12 SP5 => fixed in SVN | ||
| Description |
Install / build guest addition in SLES12 SP5 guest will fail (see below): ...
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:56:5: error: unknown type name ‘wait_queue_t’
wait_queue_t WaitQE;
^
In file included from /usr/src/linux-4.12.14-122.17/include/linux/mmzone.h:9:0,
from /usr/src/linux-4.12.14-122.17/include/linux/gfp.h:5,
from /usr/src/linux-4.12.14-122.17/include/linux/slab.h:14,
from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:85,
from /tmp/vbox.0/combined-os-specific.c:28:
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h: In function ‘rtR0SemLnxWaitInit’:
/usr/src/linux-4.12.14-122.17/include/linux/wait.h:1002:9: error: request for member ‘private’ in something not a structure or union
(wait)->private = current; \
^
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:187:5: note: in expansion of macro ‘init_wait’
init_wait((&pWait->WaitQE));
^
/usr/src/linux-4.12.14-122.17/include/linux/wait.h:1003:9: error: request for member ‘func’ in something not a structure or union
(wait)->func = autoremove_wake_function; \
^
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:187:5: note: in expansion of macro ‘init_wait’
init_wait((&pWait->WaitQE));
^
/usr/src/linux-4.12.14-122.17/include/linux/wait.h:1004:25: error: request for member ‘entry’ in something not a structure or union
INIT_LIST_HEAD(&(wait)->entry); \
^
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:187:5: note: in expansion of macro ‘init_wait’
init_wait((&pWait->WaitQE));
^
/usr/src/linux-4.12.14-122.17/include/linux/wait.h:1005:9: error: request for member ‘flags’ in something not a structure or union
(wait)->flags = 0; \
^
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:187:5: note: in expansion of macro ‘init_wait’
init_wait((&pWait->WaitQE));
^
In file included from /tmp/vbox.0/r0drv/linux/semevent-r0drv-linux.c:42:0,
from /tmp/vbox.0/combined-os-specific.c:38:
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h: In function ‘rtR0SemLnxWaitPrepare’:
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:211:5: warning: passing argument 2 of ‘prepare_to_wait’ from incompatible pointer type [enabled by default]
prepare_to_wait(pWait->pWaitQueue, &pWait->WaitQE, pWait->iWaitState);
^
In file included from /usr/src/linux-4.12.14-122.17/include/linux/mmzone.h:9:0,
from /usr/src/linux-4.12.14-122.17/include/linux/gfp.h:5,
from /usr/src/linux-4.12.14-122.17/include/linux/slab.h:14,
from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:85,
from /tmp/vbox.0/combined-os-specific.c:28:
/usr/src/linux-4.12.14-122.17/include/linux/wait.h:983:6: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
void prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
^
In file included from /tmp/vbox.0/r0drv/linux/semevent-r0drv-linux.c:42:0,
from /tmp/vbox.0/combined-os-specific.c:38:
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h: In function ‘rtR0SemLnxWaitDelete’:
/tmp/vbox.0/r0drv/linux/waitqueue-r0drv-linux.h:275:5: warning: passing argument 2 of ‘finish_wait’ from incompatible pointer type [enabled by default]
finish_wait(pWait->pWaitQueue, &pWait->WaitQE);
^
In file included from /usr/src/linux-4.12.14-122.17/include/linux/mmzone.h:9:0,
from /usr/src/linux-4.12.14-122.17/include/linux/gfp.h:5,
from /usr/src/linux-4.12.14-122.17/include/linux/slab.h:14,
from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:85,
from /tmp/vbox.0/combined-os-specific.c:28:
/usr/src/linux-4.12.14-122.17/include/linux/wait.h:986:6: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/vbox.0/.tmp_VBoxGuest-linux.o";
/usr/src/linux-4.12.14-122.17/scripts/Makefile.build:323: recipe for target '/tmp/vbox.0/combined-os-specific.o' failed
make[4]: *** [/tmp/vbox.0/combined-os-specific.o] Error 1
make[4]: *** Waiting for unfinished jobs....
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/vbox.0/.tmp_VBoxGuest.o";
if [ /tmp/vbox.0/VBoxGuest.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/VBoxGuest.o"; fi;
if [ /tmp/vbox.0/VBoxGuest-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/VBoxGuest-linux.o"; fi;
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/vbox.0/.tmp_combined-agnostic.o";
if [ /tmp/vbox.0/combined-agnostic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/combined-agnostic.o"; fi;
/usr/src/linux-4.12.14-122.17/Makefile:1564: recipe for target '_module_/tmp/vbox.0' failed
make[3]: *** [_module_/tmp/vbox.0] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
/tmp/vbox.0/Makefile-footer.gmk:114: recipe for target 'vboxguest' failed
make: *** [vboxguest] Error 2
VBoxClient: info: Try 'VBoxClient --help' for more information
modprobe vboxguest failed
It seems that this issue is the same like it was in SLES12 SP4. For new SLES releases "wait_queue_t" must be replaced for "wait_queue_entry_t". As a workaround I replaced "KERNEL_VERSION(4, 13, 0)" for "KERNEL_VERSION(4, 12, 0)" in waitqueue-r0drv-linux.h: /**
* Kernel mode Linux wait state structure.
*/
typedef struct RTR0SEMLNXWAIT
{
/** The wait queue entry. */
#if LINUX_VERSION_CODE > KERNEL_VERSION(4, 12, 0) \
|| defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 12 && CONFIG_SUSE_PATCHLEVEL == 4 \
|| defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15
wait_queue_entry_t WaitQE;
#else
wait_queue_t WaitQE;
#endif
After restart of machine guest addition works properly. Please be so kind and add support for SLES12 SP5. |
|||

