User: Password:
|
|
Subscribe / Log in / New account

The 3.7 kernel is out

The 3.7 kernel is out

Posted Dec 12, 2012 23:37 UTC (Wed) by theophrastus (guest, #80847)
Parent article: The 3.7 kernel is out

probably this is just a message in a bottle. but one never knows what might assist (and i've certainly been a happy recipient of the odd clue).

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);
to:
vma->vm_flags |= (VM_IO | VM_LOCKED | (VM_DONTEXPAND | VM_DONTDUMP));

then the module would build without errors. good luck to us.


(Log in to post comments)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds