support kernel 4.8?
what about support kernel 4.8? I can't install drivers. 375.20, 375.10 and older my system debian sid x86_64
what about support kernel 4.8? I can't install drivers. 375.20, 375.10 and older
my system debian sid x86_64

#1
Posted 11/19/2016 04:28 PM   
These versions are compatible with Linux 4.8. I have used them all on Arch Linux with Linux >= 4.8 without needing any patches to compile them.
These versions are compatible with Linux 4.8. I have used them all on Arch Linux with Linux >= 4.8 without needing any patches to compile them.

#2
Posted 11/19/2016 04:44 PM   
I try install and have trouble on build modules step log http://pastebin.com/gGcMppnr
I try install and have trouble on build modules step
log http://pastebin.com/gGcMppnr

#3
Posted 11/19/2016 04:48 PM   
To know for sure, I'd need to see the contents of "/var/lib/dkms/nvidia/375.20/build/make.log", but it's probably a kernel compatibility issue with gcc 6.2.0-7 or greater on debian. Debian enabled the gcc "--enable-default-pie" flag with that version, and that is incompatible with the Linux kernel. Your kernel was likely built with a version of gcc before Debian shipped that change otherwise it would not build either. You'll need to patch the Makefile in the kernel headers or rollback to an earlier release of gcc. The kernel patch series is here: https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=8ae94224c9d72fc4d9aaac93b2d7833cf46d7141 https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=82031ea29e454b574bc6f49a33683a693ca5d907 https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=90944e40ba1838de4b2a9290cf273f9d76bd3bdd https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=c6a385539175ebc603da53aafb7753d39089f32e
To know for sure, I'd need to see the contents of "/var/lib/dkms/nvidia/375.20/build/make.log", but it's probably a kernel compatibility issue with gcc 6.2.0-7 or greater on debian. Debian enabled the gcc "--enable-default-pie" flag with that version, and that is incompatible with the Linux kernel. Your kernel was likely built with a version of gcc before Debian shipped that change otherwise it would not build either.

You'll need to patch the Makefile in the kernel headers or rollback to an earlier release of gcc.

The kernel patch series is here:

https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=8ae94224c9d72fc4d9aaac93b2d7833cf46d7141

https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=82031ea29e454b574bc6f49a33683a693ca5d907

https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=90944e40ba1838de4b2a9290cf273f9d76bd3bdd

https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=c6a385539175ebc603da53aafb7753d39089f32e

#4
Posted 11/20/2016 12:56 AM   
I have this trouble after update from 4.7 to 4.8 now I install 367.57 from repositories and don't have /var/lib/dkms/nvidia/ directory I try install 375.20 for have this log
I have this trouble after update from 4.7 to 4.8
now I install 367.57 from repositories and don't have /var/lib/dkms/nvidia/ directory
I try install 375.20 for have this log

#5
Posted 11/20/2016 06:36 AM   
my /var/lib/dkms/nvidia/375.20/build/make.log http://pastebin.com/YCxxRfEr
my /var/lib/dkms/nvidia/375.20/build/make.log

http://pastebin.com/YCxxRfEr

#6
Posted 11/20/2016 10:05 AM   
Your log says: "error: code model kernel does not support PIC mode". That is the kernel issue I was discussing. You need to either revert to an earlier revision of gcc or apply the patches I listed to your kernel headers.
Your log says: "error: code model kernel does not support PIC mode". That is the kernel issue I was discussing. You need to either revert to an earlier revision of gcc or apply the patches I listed to your kernel headers.

#7
Posted 11/20/2016 06:13 PM   
do you have step-by-step manual? I'm noob and I don't know, how to use this patches
do you have step-by-step manual? I'm noob and I don't know, how to use this patches

#8
Posted 11/20/2016 07:32 PM   
So it looks like Debian still depends on gcc 5 to build the kernel for now because of this issue. The easiest fix for you will be to call: export CC=/usr/bin/gcc-5 before running the script to install the Nvidia driver. The driver will then build with gcc 5. The debian bug report and discussion is here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841420 .
So it looks like Debian still depends on gcc 5 to build the kernel for now because of this issue. The easiest fix for you will be to call:

export CC=/usr/bin/gcc-5

before running the script to install the Nvidia driver. The driver will then build with gcc 5.

The debian bug report and discussion is here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841420 .

#9
Posted 11/21/2016 04:19 PM   
this doesn't help me I try install via sgfxi and he can install driver he install module-assistant
this doesn't help me
I try install via sgfxi and he can install driver
he install module-assistant

#10
Posted 11/23/2016 10:05 PM   
Same issue occured in Kali Linux with Kernel 4.8.0 Changing the symlink in /usr/bin/gcc to point to /usr/bin/gcc-5 allowed compiling DKMS without errors
Same issue occured in Kali Linux with Kernel 4.8.0

Changing the symlink in /usr/bin/gcc to point to /usr/bin/gcc-5 allowed compiling DKMS without errors

#11
Posted 12/08/2016 12:17 PM   
Hi !!! Nvidia driver 375.10 work on linux kernel 3.8.12 on my Debian 8.6 (Jessie), if wont try just add in /etc/apt/sources.list: deb http://apt.jurisic.org/debian/ jessie main contrib non-free and add keyring with: wget -q http://apt.jurisic.org/Release.key -O- | apt-key add - apt-get install nvidia-jurisic
Hi !!!

Nvidia driver 375.10 work on linux kernel 3.8.12 on my Debian 8.6 (Jessie),

if wont try just add in /etc/apt/sources.list:
deb http://apt.jurisic.org/debian/ jessie main contrib non-free

and add keyring with:
wget -q http://apt.jurisic.org/Release.key -O- | apt-key add -


apt-get install nvidia-jurisic

#12
Posted 12/08/2016 03:27 PM   
sgfxi help me
sgfxi help me

#13
Posted 12/08/2016 05:15 PM   
Scroll To Top

Add Reply