[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-08-07 Thread iGadget
Just happened to me as well. "Just update the system" proved unexpectedly hard 
since the "bad" update broke X and I couldn't log in using the GUI.
Had to switch to the plain terminal and update manually from there. After that 
and a reboot, my system was working again.

To anyone unfamiliar with applying non-gui workarounds:

1. From the graphical login screen (that is, if you make it there), switch to 
the console by pressing CTRL + ALT + F1 simultaneously. If your system is 
broken to the point that you're dropped to a root shell, skip to step 3.
2. Log in with your username and password
3. Check for new updates: sudo apt update
4. Install updates: sudo apt dist-upgrade
5. When all updates have been installed, reboot the system: sudo reboot

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  Fix Released

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-07-25 Thread Felix Moreno
the bug is still happening after today updates

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  Fix Released

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-07-18 Thread Launchpad Bug Tracker
This bug was fixed in the package nvidia-graphics-drivers-340 -
340.102-0ubuntu0.16.04.2

---
nvidia-graphics-drivers-340 (340.102-0ubuntu0.16.04.2) xenial-proposed; 
urgency=medium

  * debian/dkms_nvidia/patches/buildfix_kernel_4.9.patch:
- Sync patch with the one in Zesty to fix build issue with
  linux-image-generic-hwe-16.04-edge (LP: #1677327).

 -- Alberto Milone   Mon, 03 Apr 2017
17:36:55 +0200

** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  Fix Released

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-07-17 Thread Alberto Milone
I can confirm that the driver in -proposed works correctly.

** Tags removed: verification-needed
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  In Progress

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-06-23 Thread Amr Ibrahim
Please test nvidia-graphics-drivers-340 (340.102-0ubuntu0.16.04.2) in
xenial-proposed.

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  In Progress

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-04-26 Thread Timo Aaltonen
accepted -0ubuntu0.16.04.2 to -proposed

** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
   Status: Fix Released => In Progress

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  In Progress

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-04-25 Thread Andy Whitcroft
** Tags added: kernel-adt-failure kernel-adt-failure-hwe-edge-4.10

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  Fix Released

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1677327] Re: SRU request: dkms build fails with zesty hwe kernel [error: too few arguments to function ‘NV_GET_USER_PAGES’]

2017-04-04 Thread Alireza
** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
   Status: In Progress => Confirmed

** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
   Status: Confirmed => Fix Committed

** Changed in: nvidia-graphics-drivers-340 (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1677327

Title:
  SRU request: dkms build fails with zesty hwe kernel [error: too few
  arguments to function ‘NV_GET_USER_PAGES’]

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340 source package in Xenial:
  Fix Released

Bug description:
  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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1677327/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp