I've investigated a little more into this.
Removing the mod_timer_pinned function - as happened here:
https://lkml.org/lkml/2016/7/4/214
means that VirtualBox module can no longer be built because it still
relies on it:
$ 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);
So does that mean the rt-kernel will no longer run VirtualBox??
Regards
Bernhard Landauer
On 16/07/16 20:57, Bernhard Landauer wrote:
Hi everyone and thank you for your awesome work.
Since recently we are building an rt-kernel for Manjarolinux.
With the latest rt8 patch we are running into this issue with building
the virtualbox-dkms modules:
/var/lib/dkms/vboxhost/5.1.0_OSE/build/vboxdrv/r0drv/linux/timer-r0drv-linux.c:
In function ‘rtTimerLnxStartSubTimer’:
/var/lib/dkms/vboxhost/5.1.0_OSE/build/vboxdrv/r0drv/linux/timer-r0drv-linux.c:364:13:
error: implicit declaration of function ‘mod_timer_pinned’ [-$
mod_timer_pinned(&pSubTimer->u.Std.LnxTimer,
pSubTimer->u.Std.ulNextJiffies);
^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:292:
/var/lib/dkms/vboxhost/5.1.0_OSE/build/vboxdrv/r0drv/linux/timer-r0drv-linux.o]
Error 1
make[1]: *** [scripts/Makefile.build:440:
/var/lib/dkms/vboxhost/5.1.0_OSE/build/vboxdrv] Error 2
make: *** [Makefile:1429:
_module_/var/lib/dkms/vboxhost/5.1.0_OSE/build] Error 2
make: Leaving directory '/usr/lib/modules/4.6.4-1-rt8-MANJARO/build'
The issue persists with the very latest virutalbox packages 5.1.0
Any hints will be greatly appreciated.
kind regards
Bernhard Landauer
--
To unsubscribe from this list: send the line "unsubscribe
linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html