2017-03-29 17:02:06 |
Seth Forshee |
bug |
|
|
added bug |
2017-03-30 02:48:53 |
Daniel van Vugt |
summary |
dkms build fails with zesty hwe kernel |
dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’] |
|
2017-04-03 09:53:14 |
Seth Forshee |
attachment added |
|
make.log https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+attachment/4853369/+files/make.log |
|
2017-04-03 15:37:47 |
Alberto Milone |
nvidia-graphics-drivers-340 (Ubuntu): importance |
Undecided |
High |
|
2017-04-03 15:37:49 |
Alberto Milone |
nvidia-graphics-drivers-340 (Ubuntu): status |
New |
In Progress |
|
2017-04-03 15:37:52 |
Alberto Milone |
nvidia-graphics-drivers-340 (Ubuntu): assignee |
|
Alberto Milone (albertomilone) |
|
2017-04-03 15:37:59 |
Alberto Milone |
nominated for series |
|
Ubuntu Xenial |
|
2017-04-03 15:37:59 |
Alberto Milone |
bug task added |
|
nvidia-graphics-drivers-340 (Ubuntu Xenial) |
|
2017-04-03 15:38:09 |
Alberto Milone |
nvidia-graphics-drivers-340 (Ubuntu Xenial): status |
New |
In Progress |
|
2017-04-03 15:38:11 |
Alberto Milone |
nvidia-graphics-drivers-340 (Ubuntu Xenial): importance |
Undecided |
High |
|
2017-04-03 15:38:14 |
Alberto Milone |
nvidia-graphics-drivers-340 (Ubuntu Xenial): assignee |
|
Alberto Milone (albertomilone) |
|
2017-04-03 15:38:21 |
Alberto Milone |
nvidia-graphics-drivers-340 (Ubuntu): status |
In Progress |
Fix Released |
|
2017-04-04 12:06:44 |
Alberto Milone |
description |
ADT test failure against linux-hwe-edge 4.10.0-14.16~16.04.1.
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/amd64/n/nvidia-graphics-drivers-340/20170328_225401_6519b@/log.gz
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/i386/n/nvidia-graphics-drivers-340/20170328_230514_6519b@/log.gz
We need to backport build fixes for 4.9/4.10 kernels.
/var/lib/dkms/nvidia-340/340.102/build/os-mlock.c: In function ‘os_lock_user_pages’:
/var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:50:65: warning: passing argument 4 of ‘NV_GET_USER_PAGES’ makes integer from pointer without a cast [-Wint-conversion]
page_count, write ? FOLL_WRITE : 0, user_pages, NULL);
^
In file included from /var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:15:0:
/var/lib/dkms/nvidia-340/340.102/build/nv-linux.h:2094:28: note: expected ‘int’ but argument is of type ‘struct page **’
static inline long NV_GET_USER_PAGES(unsigned long start,
^
/var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:48:11: error: too few arguments to function ‘NV_GET_USER_PAGES’
ret = NV_GET_USER_PAGES((unsigned long)address, |
SRU Request:
[Impact]
The patch for Linux 4.9 in nvidia-340 in Ubuntu 16.04 does not match the one in 17.04. As a result, the module fails to build against the hwe 4.10 kernel.
[Test Case]
1) Enable the xenial-proposed repository, and install linux-headers-generic-hwe-16.04-edge, linux-image-generic-hwe-16.04-edge, and nvidia-340.
2) Check that DKMS builds the module, then restart the system, and see if it boots correctly. If unsure, please attach your /var/log/gpu-manager.log and /var/log/Xorg.0.log
[Regression Potential]
Low, the exact same patch is already available in the package in 17.04.
_________________
ADT test failure against linux-hwe-edge 4.10.0-14.16~16.04.1.
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/amd64/n/nvidia-graphics-drivers-340/20170328_225401_6519b@/log.gz
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/i386/n/nvidia-graphics-drivers-340/20170328_230514_6519b@/log.gz
We need to backport build fixes for 4.9/4.10 kernels.
/var/lib/dkms/nvidia-340/340.102/build/os-mlock.c: In function ‘os_lock_user_pages’:
/var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:50:65: warning: passing argument 4 of ‘NV_GET_USER_PAGES’ makes integer from pointer without a cast [-Wint-conversion]
page_count, write ? FOLL_WRITE : 0, user_pages, NULL);
^
In file included from /var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:15:0:
/var/lib/dkms/nvidia-340/340.102/build/nv-linux.h:2094:28: note: expected ‘int’ but argument is of type ‘struct page **’
static inline long NV_GET_USER_PAGES(unsigned long start,
^
/var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:48:11: error: too few arguments to function ‘NV_GET_USER_PAGES’
ret = NV_GET_USER_PAGES((unsigned long)address, |
|
2017-04-04 12:07:03 |
Alberto Milone |
summary |
dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’] |
SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’] |
|
2017-04-04 12:07:22 |
Alberto Milone |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-04-04 12:46:45 |
Alireza |
nvidia-graphics-drivers-340 (Ubuntu Xenial): status |
In Progress |
Confirmed |
|
2017-04-04 12:47:01 |
Alireza |
nvidia-graphics-drivers-340 (Ubuntu Xenial): status |
Confirmed |
Fix Committed |
|
2017-04-04 12:47:07 |
Alireza |
nvidia-graphics-drivers-340 (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-04-25 16:53:32 |
Andy Whitcroft |
tags |
|
kernel-adt-failure kernel-adt-failure-hwe-edge-4.10 |
|
2017-04-26 10:42:39 |
Timo Aaltonen |
nvidia-graphics-drivers-340 (Ubuntu Xenial): status |
Fix Released |
In Progress |
|
2017-06-23 16:20:09 |
Amr Ibrahim |
tags |
kernel-adt-failure kernel-adt-failure-hwe-edge-4.10 |
kernel-adt-failure kernel-adt-failure-hwe-edge-4.10 verification-needed |
|
2017-07-17 15:12:05 |
Alberto Milone |
tags |
kernel-adt-failure kernel-adt-failure-hwe-edge-4.10 verification-needed |
kernel-adt-failure kernel-adt-failure-hwe-edge-4.10 verification-done-xenial |
|
2017-07-18 16:35:32 |
Launchpad Janitor |
nvidia-graphics-drivers-340 (Ubuntu Xenial): status |
In Progress |
Fix Released |
|
2017-07-18 16:35:40 |
Andy Whitcroft |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|