Opened 9 years ago
Last modified 9 years ago
#15695 reopened task
mod_timer_pinned will be dropped from linux kernel v4.8
Reported by: | manjaro_oberon | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.2 |
Keywords: | linux kernel | Cc: | Andre Robatino |
Guest type: | all | Host type: | all |
Description (last modified by )
The Linux kernel is about to drop function mod_timer_pinned See:
This change has meanwhile already been adopted by realtime patch rt8, resulting in vbox modules being un-available for this patched kernel. The function will be ultimately dropped from kernel series 48.
Current situation in vbox is this:
$ grep -re "mod_timer_pinned" src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c:# define mod_timer_pinned mod_timer src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c: mod_timer_pinned(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c: mod_timer_pinned(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c: mod_timer_pinned(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies);
Attachments (1)
Change History (11)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
comment:3 by , 9 years ago
Cc: | added |
---|
comment:6 by , 9 years ago
Thanks a lot! We've added an extra define now in our rt-patched kernel and extended your patch to test additionally:
# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) || defined(RT_PATCHED)
and the extramodules are now building fine for all our kernels.
comment:7 by , 9 years ago
Replying to frank:
Thanks! A slightly better fix can be found in r63341.
Correction, it is in VirtualBox-5.1.4.tar.bz2 , so this ticket could be closed , sorry for my previous mistake, I should had revert the patch for testing and forgot it.
Thanks.
comment:8 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:9 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I have still the same issue reported in the 'duplicate' Ticket #15713 guest additions do not build with 4.8 kernel:
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong. vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed.
I am using the latest VirtualBox Version (5.1.6 r110634) on a Windows 7 Host running the lates SLES12 Version (SLE-12-SP1-Server-DVD-x86_64-GM). What am I doing wrong?
BTW: the bidirectional usage of the clipboard doesn't work neither - is there a correlation?
comment:10 by , 9 years ago
Did you actually read the message which you posted? I would expect at least that you attach the /var/log/vboxadd-install.log file to this ticket...
I was not clear about the rt patch: This concerns rt kernels from 4.6.4-rt8 and newer.