Open 080x opened 8 years ago
Can you use https://gist.github.com/ ? I can't view your pastebin without enabling some extra javascript and receiving a full body pat down by the goons at CloudFlare.
Can you try building against a newer kernel release (and build depds of course)? There was a mismatch between the kernel's gcc build version and the available libc in previous releases.
sudo apt update && sudo apt upgrade && sudo apt-dist-upgrade --auto-remove --purge
sudo: apt-dist-upgrade: command not found
did you mean apt-get dist-upgrade? if so everything is up to date.
user@subgraph:~/Downloads/NVIDIA-Linux-x86_64-367.35$ sudo apt update && sudo apt upgrade && sudo apt-get dist-upgrade --auto-remove --purge
[sudo] password for user:
Hit:1 tor+https://devrepo.subgraph.com/subgraph aaron InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:2 http://ftp.is.co.za/debian stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
My bad, typo no dash in there sudo apt dist-upgrade --auto-remove --purge
Everything must not be up to date, because the current kernel is 4.7.9-grsec
and you seem to be building against 4.5.7-grsec
.
I have the new kernel in my boot dir but it must not be using it. config-4.5.7-grsec-amd64 initrd.img-4.5.7-grsec-amd64 System.map-4.5.7-grsec-amd64 vmlinuz-4.7.0-1-amd64 config-4.7.0-1-amd64 initrd.img-4.7.0-1-amd64 System.map-4.7.0-1-amd64 vmlinuz-4.7.9-grsec-amd64 config-4.7.9-grsec-amd64 initrd.img-4.7.9-grsec-amd64 System.map-4.7.9-grsec-amd64 grub lost+found vmlinuz-4.5.7-grsec-amd64 user@subgraph:/boot$ I have just removed the 4.5 kernel and updated grub.
After rebooting and using the 4.7.9 kernel I get the same error. https://gist.github.com/080x/f1ba9046774e79cb58084f737b93c837 Nvidia error log.
I believe you may need to disable PIC.
How do I do that.
You'll have to pass (or remove) the right config/make parameter.
You may very well need to apply the PAX patch for the drivers ( https://www.grsecurity.net/~paxguy1 ).
Any particular reasons you must have the proprietary drivers? Your card really isn't supported by Nouveau?
which make parameter do I need to remove and in what file.
So I did some more research and discovered that my gpu(Titan x maxwell) is supported by nouveau but I get this error in dmesg. [ 979.842272] MXM: GUID detected in BIOS [ 979.842458] nouveau 0000:01:00.0: NVIDIA GM200 (120020a1) [ 979.951101] nouveau 0000:01:00.0: bios: version 84.00.1f.00.01 [ 979.952498] nouveau 0000:01:00.0: disp: dcb 10 type 8 unknown [ 979.953347] nouveau 0000:01:00.0: Direct firmware load for nvidia/gm200/gr/sw_nonctx.bin failed with error -2 [ 979.953349] nouveau 0000:01:00.0: gr: failed to load gr/sw_nonctx [ 979.953352] nouveau 0000:01:00.0: gr ctor failed, -2 [ 979.953356] nouveau: probe of 0000:01:00.0 failed with error -2 Is there any way to fix this if i cant compile the proprietary drivers? Thanks in advance.
Looks like you need to obtain the firmware for your card. From what I can tell it should be included in firmware-misc-nonfree
, make sure it is up to date with sudo apt update && sudo apt install firmware-misc-nonfree
.
Its already install.
user@subgraph:~$ sudo apt update && sudo apt install firmware-misc-nonfree
[sudo] password for user:
Hit:1 tor+https://devrepo.subgraph.com/subgraph aaron InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Get:2 http://mirror.iway.ch/debian stretch InRelease [175 kB]
Fetched 175 kB in 4s (36.7 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-misc-nonfree is already the newest version (20160824-1).
After applying the pax patch for the driver I get alot of errors and it will not complile. Any help fixing this is appreicated. https://gist.github.com/080x/9b6ca0986b2810b1bba0d4141de56e82