↓
 

Adventures With Linux ™

Linux Technologies and Fun Times - and Technology Commentary..

  • Home
  • About the Author…
  • Copyright and Trademarks..

Category Archives: compilation

Post navigation

← Older posts
Newer posts →

NVIDIA – New Driver 465.31 – OK with Kernel 5.13..

Adventures With Linux ™ Posted on May 20, 2021 by RGMay 20, 2021

NVIDIA have released driver 465.31, and this now compiles OK with Kernel 5.13 (tested with 5.13-rc2)..   Details are here:  https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-465-31-new-feature-branch-release/178316 ………………………………… ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset/nv-modeset-interface.o /home/r gadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-L inux-x86_64-465.31/kernel/nvidia-modeset/nv-kthread-q.o  MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/Module.symvers  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-drm.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-drm.ko  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-ib-peermem-stub.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-ib-peermem-stub.ko  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset.ko  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-peermem.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-peermem.ko  CC [M] … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, Wayland | Tagged 465.31, compiles ok, nvidia, ok with kernel 5.13, tested with 5.13-rc2 | Leave a reply

Kernel – 5.13-rc1 – OK with patched VMware, Breaks NVIDIA..

Adventures With Linux ™ Posted on May 10, 2021 by RGMay 10, 2021

Kernel 5.13-rc1 is out and brief details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2105.1/00457.html VMware 16.1.1 (patched..) compiles and loads OK, but NVIDIA 465.27 compile fails: ……………………………. /home/rgadsdon/NVIDIA-Linux-x86_64-465.27/kernel/nvidia-drm/nvidia-drm-crtc.c: At top level: /home/rgadsdon/NVIDIA-Linux-x86_64-465.27/kernel/nvidia-drm/nvidia-drm-crtc.c:454:23: error: initialization of ‘int (*)(struct drm_plane *, struct drm_atomic_state *)’ from incompatible pointer type ‘int (*)(struct drm_plane *, struct drm_plane_state *)’ [-Werror=incompatible-pointer-types] 454 | .atomic_check = nv_drm_plane_atomic_check, | ^~~~~~~~~~~~~~~~~~~~~~~~~ … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, VMware | Tagged 16.1.1, 465.27, kernel 5.13-rc1, nvidia compile fails, vmware ok | 5 Replies

Compiler – Fun with CLANG – Kernel, NVIDIA, and VMware…

Adventures With Linux ™ Posted on March 27, 2021 by RGMarch 30, 2021

I have been carrying out some preliminary tests to see how feasible it is to compile the Linux Kernel, and NVIDIA drivers, and VMware, using the ‘alternative’ to GCC – CLANG.. The kernel compile is relatively easy, and well documented: # make CC=clang HOSTCC=clang -j8 (for a 4-core system) The compile seems to be slower than GCC, … Continue reading →

Posted in clang, compilation, Fedora, gcc, kernel, Linux, NVIDIA, Opinion, Performance, quirks, VMware | Tagged clang, compile tests, gcc alternative, kernel, nvidia, success, vmware | 1 Reply

Kernel – 5.12-rc1 is Out. OK with Patched VMware, NVIDIA fails..

Adventures With Linux ™ Posted on February 28, 2021 by RGFebruary 28, 2021

Kernel 5.12-rc1 has been released, and brief details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2102.3/03831.html Patched VMware 16.1.0 compiles and loads OK, but latest NVIDIA (460.56) compile fails: ………………………. /home/rgadsdon/NVIDIA-Linux-x86_64-460.56/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_update_drm_driver_features’: /home/rgadsdon/NVIDIA-Linux-x86_64-460.56/kernel/nvidia-drm/nvidia-drm-drv.c:822:38: error: ‘drm_gem_dumb_destroy’ undeclared (first use in this function); did you mean ‘drm_mode_destroy’? 822 | nv_drm_driver.dumb_destroy = drm_gem_dumb_destroy;                                 | ^~~~~~~~~~~~~~~~~~~~ | drm_mode_destroy /home/rgadsdon/NVIDIA-Linux-x86_64-460.56/kernel/nvidia-drm/nvidia-drm-drv.c:822:38: note: each undeclared identifier … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, VMware | Tagged drm_gem_dumb_destroy, kernel 5.12-rc1, nvidia 460.56 compile fail, patched vmware 16.1.0 ok, released | 2 Replies

Kernel – 5.10-rc1 Out – Fix for NVIDIA, Problem with VMware..

Adventures With Linux ™ Posted on October 26, 2020 by RGOctober 26, 2020

Kernel 5.10-rc1 is finally released, and brief details are here:  http://lkml.iu.edu/hypermail/linux/kernel/2010.3/00552.html Thanks to Joan Bruguera, there is a work-in-progress fix for NVIDIA 455.28, here:  https://gist.github.com/joanbm/beaccedd729589df98332d70a1754e9a (and thanks to Willy Frissen for the notification..) ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset/nv-kthread-q.o MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/Module.symvers CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-drm.ko CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset.ko CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-uvm.mod.o LD … Continue reading →

Posted in compilation, fix, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 5.10-rc1 released, nvidia 455.28 patch available, vmware patch available, vmware runtime problem, waiting for connection | Leave a reply

Kernel – 5.9-rc6 – Rare Compile Fail!

Adventures With Linux ™ Posted on September 20, 2020 by RGSeptember 20, 2020

Kernel 5.9-rc6 has been released, and brief details are here:  http://lkml.iu.edu/hypermail/linux/kernel/2009.2/05870.html In a very rare occurrence, the kernel compile actually fails: …………………………….. CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool CHK include/generated/compile.h CC drivers/dax/super.o drivers/dax/super.c:325:6: error: redefinition of ‘dax_supported’ 325 | bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, | ^~~~~~~~~~~~~ In file included from drivers/dax/super.c:16: ./include/linux/dax.h:162:20: note: previous definition … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged inherited taint, kernel 5.9-rc6, nvidia 450.66 455.23.04, nvidia-uvm, patched, rare compile fail, revert dax patch, vmware 16 ok, workaround | 1 Reply

VMware – Workstation 16.0.0 Released – OK with Kernel 5.8, and 5.9-rc..

Adventures With Linux ™ Posted on September 16, 2020 by RGSeptember 16, 2020

VMware have now released Workstation Pro 16.0.0, and details are here:  https://docs.vmware.com/en/VMware-Workstation-Pro/16/rn/VMware-Workstation-16-Pro-Release-Notes.html This version now works correctly – and compiles, with multiple warnings – on Kernel 5.8 (tested with 5.8.9) and also on Kernel 5.9-rc5. To fix the messy compile – and thanks again to Michal Kubeček – there is a patchset for vmmon/vmware available, here:  https://github.com/mkubecek/vmware-host-modules/tree/workstation-16.0.0 … Continue reading →

Posted in compilation, fixed, kernel, Linux, Opinion, patches, VMware | Tagged ok with 5.9-rc, ok with kernel 5.8, patchset available, vmware 16 released | 3 Replies

Kernel – 5.9-rc4 Released. VMware 5.8 patch works. NVIDIA Still Tainted..

Adventures With Linux ™ Posted on September 6, 2020 by RGSeptember 6, 2020

Kernel 5.9-rc4 is out, and details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2009.0/06783.html The new VMware  ‘kernel 5.8’ patchset ( https://rglinuxtech.com/?p=2819 ) works with 5.9-rc4, but nvidia-drm from driver 450.66 still shows as ‘tainted’.    It is possible to get a graphical screen by just using the nvidia.ko module by itself.. Robert Gadsdon.   September 6th 2020.

Continue reading →
Posted in compilation, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 5.9-rc4, nvidia-drm still tainted, vmware 5.8 patches work | 3 Replies

ARM64 – Fedora 33 Pre-release Kernel Boot Problem – and Workaround..

Adventures With Linux ™ Posted on August 26, 2020 by RGAugust 26, 2020

I have been testing Fedora 33 pre-release, and on x86_64 it seems relatively stable (usual caveats…) but on arm64 systems (Odroid N2 and Pi4) I found that after compiling a new kernel (5.8.3), the system booted, but login was impossible, and screen output was missing  (uart/console was OK). Kernels compiled with Fedora 32 all booted OK, and … Continue reading →

Posted in aarch64, ARM64, boot, compilation, Crash and Burn.., Fedora, Hacks, kernel, Linux / ARM, Odroid N2, Opinion | Tagged arm64, boot problem, cross-compile, fedora 33, kernel 5.8.3, login imposssible, modules not loading, timeout, workaround, x86_64 ok | Leave a reply

Kernel – 5.9-rc2 – NVIDIA Patches, Kernel Taint, and Wait for VMware 16..

Adventures With Linux ™ Posted on August 24, 2020 by RGAugust 24, 2020

Kernel 5.9-rc2 is out, and brief details of changes since -rc1 are here: http://lkml.iu.edu/hypermail/linux/kernel/2008.2/10710.html The patched VMware 16 prerelease versions of vmmon and vmnet compile OK, but any further tests will have to wait until the release of Workstation 16 in about a months time.. NVIDIA 450.66 can be made to (almost..) work, by applying the 5.9 … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 5.9-rc2 released, kernel taint with nvidia_uvm, mmu patch, nvidia 450.66 patch, until version 16 released, vmware runtime problem | 3 Replies

Post navigation

← Older posts
Newer posts →
Original content &copy Robert Gadsdon 2013
↑
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.