Bug 202365
Summary: | broked nvidia and vbox drivers | ||
---|---|---|---|
Product: | Memory Management | Reporter: | Cristian Crinteanu (crinteanu.cristian) |
Component: | Other | Assignee: | Andrew Morton (akpm) |
Status: | NEW --- | ||
Severity: | normal | CC: | bormant, kazakevichilya, kjhambrick, marcop, Wayne |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.4.168 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Cristian Crinteanu
2019-01-21 17:12:48 UTC
There is API change between 4.4.167 and 4.4.168: 4.4.167: long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, int write, int force, struct page **pages, struct vm_area_struct **vmas); 4.4.168: long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, unsigned int gup_flags, struct page **pages, struct vm_area_struct **vmas); - int write, int force, struct page **pages, + unsigned int gup_flags, struct page **pages, Builds are broken with this API change. Nvidia has release 418.40 Beta to address this issue: https://www.nvidia.com/download/driverResults.aspx/142166/en-us And mimochodem shared a patch for VirtualBox on LQ: https://www.linuxquestions.org/questions/slackware-14/virtualbox-fails-to-build-drivers-for-kernel-4-4-172-a-4175647407/#post5956289 I've got a similar issue with VMWare Workstation 12.1 that I've not had time to research yet so I am 'stuck on' 4.4.167. Is there a way to address this in 4.4.y so that it 'does not break userspace' ? Thanks. -- kjh We're also stuck on 4.4.167 as many drivers can't be compiled anymore since the API breakage in >=4.4.168. And I'm still wondering why the API of an LTS kernel has been changed? There's also an entry about this in Gentoo's own bugtracker: https://bugs.gentoo.org/675310 Regards, Marco Wow so much for LTS. I could see this on a new kernel, but for an update on an lts kernel??? Any plans to fix this bug? Wayne Sallee Wayne@WayneSallee.com http://www.WayneSallee.com Is this bug also 3.16 kernels? And if not are there plans to infect that kernel too? Wayne Sallee Wayne@WayneSallee.com http://www.WayneSallee.com Konrad, it is not userspace actually, it is kernel module API, is not it? However, it broke Vbox drivers for many distros that use bleeding-edge kernels (like Slackware) :( LTS kernel is not bleeding-edge. Wayne Sallee Wayne@WayneSallee.com Ilya -- Yes -and- no, I suppose ... While get_user_pages( ) is not a 'user-facing' interface, as others have mentioned it does seem very disruptive to modify kernel APIs in an LTS Kernel. In the meantime, I am stuck with 4.4.167 until I can upgrade VMWare Workstation and verify that their Kernel Modules Compile against 4.4.168+ -- kjh |