[vbox-dev] Virtualbox 5.1.26 problem with kernel 4.4.76/79 and x86_64

Frank Mehnert frank.mehnert at oracle.com
Fri Aug 11 07:08:16 GMT 2017


Hi all,

On Donnerstag, 10. August 2017 10:26:50 CEST Larry Finger wrote:
> On 08/09/2017 11:00 AM, Ingmar Sittl wrote:
> > Hello,
> > 
> > I ran into a problem with Virtualbox 5.1.26 and Linux kernels 4.4.76 and 4.4.79 
> > on x86_64 when trying to build the kernel module:
> > 
> > /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1117:33: error: too many arguments 
> > to function ‘get_user_pages’
> >                                   papVMAs);               /* vmas */
> >                                   ^
> > [...]
>
> Are you running openSUSE Leap 42.3, or has someone else stupidly backported the 
> get_user_pages() API from kernel 4.9 back to 4.4?
> 
> If you were using a stock 4.4 kernel, then there would be no need for any 
> changes. In fact, applying the kind of ifdef statements that you recommend would 
> break the builds for all the people running kernels that actually follow the 
> rules regarding API changes. Such modifications to an API should only occur with 
> a major version change!

please download the most recent 5.1 Guest Additions ISO image from

  https://www.virtualbox.org/wiki/Testbuilds

It has the required fix for the openSUSE Leap 42.3 kernel, see also 

  https://www.virtualbox.org/ticket/16966

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher



More information about the vbox-dev mailing list