[HOWTO] make a xzm module driver for NVIDIA video card
Posted: 25 Jul 2019, 01:44
Back I am, but good news I have not.
Unfortunately, it is the same with the file NVIDIA-Linux-x86_64-340.107-no-compat32.run https://aur.archlinux.org/cgit/aur.git/ ... idia-340xx they are using
The sha512 sum of NVIDIA-Linux-x86_64-340.107-no-compat32.run checks okay:
(I take all the sha512sums from the https://aur.archlinux.org link above)
This is what I tried:
The sha512sum for my patchfile matches:
(I called my file nvidia-340xx_kernel-4.11.patch while the linked original document called it "kernel-4.11.patch", and I renamed the 5.0 and 5.1 accordingly.
sha512sum of nvidia-340xx_kernel-5.0.patch also matches.
However, sha512sum of nvidia-340xx_kernel-5.1.patch differs.
I had to add a newline at the end of the 4.11 and 5.0 patch to have a matching sha512sum; but this trick did not work for the 5.1 patch file.
______________________________
Since that all failed I now try donald's combined patch as posted above.
Unfortunately, it is the same with the file NVIDIA-Linux-x86_64-340.107-no-compat32.run https://aur.archlinux.org/cgit/aur.git/ ... idia-340xx they are using
The sha512 sum of NVIDIA-Linux-x86_64-340.107-no-compat32.run checks okay:
Code: Select all
sha512sum NVIDIA-Linux-x86_64-340.107-no-compat32.run
0de6f182d67bd322df7ae04e74c0cde6973c55bfea47a8f2503a29f8a899cd1b801ae4b52d066628df4a4f9c84e5e7547465bdc37d1b87df47af43fdab23466f NVIDIA-Linux-x86_64-340.107-no-compat32.run
This is what I tried:
Code: Select all
./NVIDIA-Linux-x86_64-340.107-no-compat32.run --extract-only
Creating directory NVIDIA-Linux-x86_64-340.107-no-compat32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.107.....[…]
cd NVIDIA-Linux-x86_64-340.107-no-compat32
patch -Np0 < ../nvidia-340xx_kernel-4.11.patch
patching file kernel/uvm/nvidia_uvm_lite.c
patch unexpectedly ends in middle of line
Hunk #3 succeeded at 874 with fuzz 1.
Code: Select all
# sha512sum nvidia-340xx_kernel-4.11.patch
c25d90499e1deb26129a67dd7e953be8c1e31c5770e2b8b64d03af54cf1afec1a52636e74900f8ac468692207ab8a3765a12edd581142c4d2cfd2d6e66ac7ac2 nvidia-340xx_kernel-4.11.patch
sha512sum of nvidia-340xx_kernel-5.0.patch also matches.
However, sha512sum of nvidia-340xx_kernel-5.1.patch differs.
I had to add a newline at the end of the 4.11 and 5.0 patch to have a matching sha512sum; but this trick did not work for the 5.1 patch file.
______________________________
Since that all failed I now try donald's combined patch as posted above.