grsec and nvidia (310.19)
Posted: Sun Nov 25, 2012 2:18 pm
Hi,
need help to succesfully compile nvidia module.
Using kernel 3.6.7 and grsecurity-2.9.1-3.6.7-201211221000.patch
Nvidia driver package: NVIDIA-Linux-x86_64-310.19-no-compat32.run ftp://download.nvidia.com/XFree86/
Suspect that the error is related to earlier findings in forum thread http://forums.grsecurity.net/viewtopic.php?f=3&t=2626&hilit=nvidia and http://forums.grsecurity.net/viewtopic.php?f=3&t=2716&hilit=nvidia&start=30#p11305
Error so far:
It does run and compile fine, not using grsec.
Laptop I'm using has a NVIDIA Corporation GF108GLM [Quadro 1000M] (Optimus) card and I cannot find a way to use dual screens without the nvidia driver but also want to run grsec at the same time.
Any suggestion?
/franz
need help to succesfully compile nvidia module.
Using kernel 3.6.7 and grsecurity-2.9.1-3.6.7-201211221000.patch
Nvidia driver package: NVIDIA-Linux-x86_64-310.19-no-compat32.run ftp://download.nvidia.com/XFree86/
Suspect that the error is related to earlier findings in forum thread http://forums.grsecurity.net/viewtopic.php?f=3&t=2626&hilit=nvidia and http://forums.grsecurity.net/viewtopic.php?f=3&t=2716&hilit=nvidia&start=30#p11305
Error so far:
- Code: Select all
/usr/src/linux-3.6.7-4-grsec/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.6.7-4-grsec/arch/x86/include/asm/uaccess_64.h:80:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/linux-3.6.7-4-grsec/arch/x86/include/asm/uaccess_64.h: In function ‘copy_to_user’:
/usr/src/linux-3.6.7-4-grsec/arch/x86/include/asm/uaccess_64.h:95:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/var/abs/local/nvidia-bumblebee/src/NVIDIA-Linux-x86_64-310.19-no-compat32/kernel/nv-procfs.c: In function ‘nv_register_procfs’:
/var/abs/local/nvidia-bumblebee/src/NVIDIA-Linux-x86_64-310.19-no-compat32/kernel/nv-procfs.c:529:5: error: assignment of member ‘read’ in read-only object
/var/abs/local/nvidia-bumblebee/src/NVIDIA-Linux-x86_64-310.19-no-compat32/kernel/nv-procfs.c:530:5: error: assignment of member ‘write’ in read-only object
make[3]: *** [/var/abs/local/nvidia-bumblebee/src/NVIDIA-Linux-x86_64-310.19-no-compat32/kernel/nv-procfs.o] Error 1
make[2]: *** [_module_/var/abs/local/nvidia-bumblebee/src/NVIDIA-Linux-x86_64-310.19-no-compat32/kernel] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
It does run and compile fine, not using grsec.
Laptop I'm using has a NVIDIA Corporation GF108GLM [Quadro 1000M] (Optimus) card and I cannot find a way to use dual screens without the nvidia driver but also want to run grsec at the same time.
Any suggestion?
/franz