История изменений
Исправление thunar, (текущая версия) :
Охренеть просто, а драйвера из реп просто не работают, крашат dkms:
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:21:0,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c: In function ‘os_lock_user_pages’:
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:120:48: warning: passing argument 6 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
page_count, write, force, user_pages, NULL);
^
/var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-mm.h:44:70: note: in definition of macro ‘NV_GET_USER_PAGES’
get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas)
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-pgprot.h:17:0,
from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
include/linux/mm.h:1256:6: note: expected ‘struct page **’ but argument is of type ‘NvBool {aka unsigned char}’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:21:0,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:120:55: warning: passing argument 7 of ‘get_user_pages’ from incompatible pointer type [-Wincompatible-pointer-types]
page_count, write, force, user_pages, NULL);
^
/var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-mm.h:44:77: note: in definition of macro ‘NV_GET_USER_PAGES’
get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas)
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-pgprot.h:17:0,
from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
include/linux/mm.h:1256:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:21:0,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
/var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-mm.h:44:9: error: too many arguments to function ‘get_user_pages’
get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas)
^
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:119:11: note: in expansion of macro ‘NV_GET_USER_PAGES’
ret = NV_GET_USER_PAGES((unsigned long)address,
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-pgprot.h:17:0,
from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
include/linux/mm.h:1256:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
scripts/Makefile.build:285: recipe for target '/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.o' failed
make[2]: *** [/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1454: recipe for target '_module_/var/lib/dkms/nvidia-415/415.27/build' failed
make[1]: *** [_module_/var/lib/dkms/nvidia-415/415.27/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-165-generic'
Makefile:79: recipe for target 'modules' failed
make: *** [modules] Error 2
Исходная версия thunar, :
Охренеть просто, а драйвера из реп просто не работают, крашат dkms:
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:21:0,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c: In function ‘os_lock_user_pages’:
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:120:48: warning: passing argument 6 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
page_count, write, force, user_pages, NULL);
^
/var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-mm.h:44:70: note: in definition of macro ‘NV_GET_USER_PAGES’
get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas)
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-pgprot.h:17:0,
from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
include/linux/mm.h:1256:6: note: expected ‘struct page **’ but argument is of type ‘NvBool {aka unsigned char}’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:21:0,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:120:55: warning: passing argument 7 of ‘get_user_pages’ from incompatible pointer type [-Wincompatible-pointer-types]
page_count, write, force, user_pages, NULL);
^
/var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-mm.h:44:77: note: in definition of macro ‘NV_GET_USER_PAGES’
get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas)
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-pgprot.h:17:0,
from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
include/linux/mm.h:1256:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:21:0,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
/var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-mm.h:44:9: error: too many arguments to function ‘get_user_pages’
get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas)
^
/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:119:11: note: in expansion of macro ‘NV_GET_USER_PAGES’
ret = NV_GET_USER_PAGES((unsigned long)address,
^
In file included from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-pgprot.h:17:0,
from /var/lib/dkms/nvidia-415/415.27/build/common/inc/nv-linux.h:20,
from /var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.c:15:
include/linux/mm.h:1256:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
scripts/Makefile.build:285: recipe for target '/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.o' failed
make[2]: *** [/var/lib/dkms/nvidia-415/415.27/build/nvidia/os-mlock.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1454: recipe for target '_module_/var/lib/dkms/nvidia-415/415.27/build' failed
make[1]: *** [_module_/var/lib/dkms/nvidia-415/415.27/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-165-generic'
Makefile:79: recipe for target 'modules' failed
make: *** [modules] Error 2