Bug#872330: nvidia-legacy-340xx-kernel-dkms: Build against Linux 4.12 fails

Luca Boccassi luca.boccassi at gmail.com
Thu Aug 17 20:54:48 UTC 2017


Control: tags -1 pending

On Wed, 2017-08-16 at 12:43 +0100, Tim Marston wrote:
> Package: nvidia-legacy-340xx-kernel-dkms
> Version: 340.102-2
> Severity: normal
> 
> Dear Maintainer,
> 
> After a recent package update (sid) which took the kernel to 3.12,
> the
> legacy-340xx kernel module no longer builds.
> 
> E.g.:
> 
> 	# dpkg-reconfigure nvidia-legacy-340xx-kernel-dkms
> 
> 	------------------------------
> 	Deleting module version: 340.102
> 	completely from the DKMS tree.
> 	------------------------------
> 	Done.
> 	Loading new nvidia-legacy-340xx-340.102 DKMS files...
> 	Building for 4.12.0-1-amd64
> 	Building initial module for 4.12.0-1-amd64
> 	Error! Bad return status for module build on kernel: 4.12.0-1-
> amd64 (x86_64)
> 	Consult /var/lib/dkms/nvidia-legacy-
> 340xx/340.102/build/make.log for more information.
> 
> I've attached /var/lib/dkms/nvidia-legacy-
> 340xx/340.102/build/make.log,
> but the critical bit would appear to be this:
> 
> 	/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-linux.h: At
> top level:
> 	/var/lib/dkms/nvidia-legacy-340xx/340.102/build/nv-
> linux.h:204:2: error: #error "This driver requires the ability to
> change memory types!"
> 	 #error "This driver requires the ability to change memory
> types!"
>       ^~~~~
> 
> Which comes from an error directive in nv-linx.h:
> 
> 	#if !defined(NV_VMWARE) && !defined(NVCPU_FAMILY_ARM) &&
> !defined(NVCPU_PPC64LE)
> 	#if !defined(NV_SET_MEMORY_UC_PRESENT) &&
> !defined(NV_SET_PAGES_UC_PRESENT) && \
> 	  !defined(NV_CHANGE_PAGE_ATTR_PRESENT)
> 	#error "This driver requires the ability to change memory
> types!"
> 	#endif
> 	#endif
> 
> Kind regards,
> 
> Tim.

Hi,

This has been fixed a while ago in SVN, and it's pending the next
upload.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20170817/95039019/attachment.sig>


More information about the pkg-nvidia-devel mailing list