Siduction Forum
Siduction Forum => Software - Support => Topic started by: MachinaeWolf on 2017/05/27, 04:20:14
-
I successfully installed the 4.11.3 kernel however I couldn't get the nvidia driver to rebuild the module.
make install
sh ./arch/x86/boot/install.sh 4.11.3 arch/x86/boot/bzImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.11.3 /boot/vmlinuz-4.11.3
run-parts: executing /etc/kernel/postinst.d/dkms 4.11.3 /boot/vmlinuz-4.11.3
Error! Bad return status for module build on kernel: 4.11.3 (x86_64)
Consult /var/lib/dkms/nvidia-current/375.39/build/make.log for more information.
The log info:
DKMS make.log for nvidia-current-375.39 for kernel 4.11.3 (x86_64)
Fri May 26 20:49:20 CDT 2017
Makefile:19: /Kbuild: No such file or directory
make[2]: *** No rule to make target '/Kbuild'. Stop.
-
Nvidia 375.39 is not compatible with kernel 4.11.x, that's why siduction has kernel 4.11 only in experimental. Until you can't find a 4.11-patch for that driver version, you are lost.
-
Would it work to download the 4.10.15 (currently installed kernel) source from the repo and compile a custom one of that to add some things I want?
-
Yes, that should work. Also kernel sources 4.10.17 from kernel.org should work with debian nvidia driver.
Good luck.
-
That didn't go as planned
DKMS make.log for nvidia-current-375.39 for kernel 4.10.17 (x86_64)
Sat May 27 12:12:09 CDT 2017
Makefile:19: /Kbuild: No such file or directory
make[2]: *** No rule to make target '/Kbuild'. Stop.
-
You allways speak about selfcompiled custom kernel?
If yes, how compiled, how installed?
-
Both were downloaded from kernel.org then I ran as root
zcat /proc/config.gz >> .config
in the directory I downloaded the kernel. Then make silentoldconfig
then make modules_prepare
make -j5
make modules_install
make install
-
That's the asolute wrong way for build and installing kernels in debian!
Your system does not know any header of that running kernel!
If you think, you need to selfbuild kernels, your should care about how to do that propper!
Kernel upstream has deb-pkg as make target, which you shouöd use, because then you get debian packages for kernel, headers and firmware (and linux-libc-dev which you should ignore) , which can be clean installed with the package manager.
-
Ok then what is the right way to compile the 4.10.15 kernel (which is the one I have installed through the repo).
-
You don't need to recompile anything for more governors, you only need intel_pstate=disable as kernel commandline.
Then you use acpi-cpufreq instead of the default intel-pstate.
And btw, after your discussion on #debian-next, why you ask here, if you don't use siduction or vice versa #debian-next is not a support-channel for siduction.
-
I am using siduction. Well cpufreq-info says I only have a powersave and performance governor.
-
Do you ever read, what's written?
Siduction is using intel-pstate by default, and with that there are only 2 governors.
So add intel_pstate=disable to your kernel command line and be happy with acpi-cpufreq, which gives you 4 governors.
-
Ok, I didn't know that intel_pstate disabled the other cpu governors. Hooray disabling it worked, thank you!
-
Hello,
do I understand right that nvidia-legacy-340xx driver packages also are still not yet running with kernel 4.11?
regards
Reiner
-
Without patching, they are not compile against 4.11.
https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-340xx-kmod.git/tree/4.11_kernel.patch
This patch should work, but you have to adapt the path.
-
I updated everything this weekend and have the 4.11.3 kernel from the repo and it built the nvidia module properly for me. I'm not sure about the nvidia-legacy driver, that's not the driver I'm using.
-
Thank you,
I will try it tomorrow.
regards
Reiner