Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for June 20, 2013
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
going from 3.6.0 to 3.7.0 i get hit with a nvidia (via dkms) build error:
/var/lib/dkms/nvidia/304.48/build/nv-mmap.c: In function ‘nv_kern_mmap’: \
/var/lib/dkms/nvidia/304.48/build/nv-mmap.c:466:47: error: ‘VM_RESERVED’ undeclared (first use in this function)
the solution for me was to edit /usr/src/nvidia-304.48/nv-mmap.c
vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED);
vma->vm_flags |= (VM_IO | VM_LOCKED | (VM_DONTEXPAND | VM_DONTDUMP));
then the module would build without errors. good luck to us.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds