↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: kernel

Post navigation

← Older posts
Newer posts →

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

NVIDIA – Patch for Kernel 5.12 Support.

Adventures With Linux ™ Posted on March 2, 2021 by RGMarch 2, 2021

Thanks to Willy Frissen for the info, and joanbm for the patch, which can be found at https://gist.githubusercontent.com/joanbm/7a034ac4b79396c3841040e410ef7e91/raw/b21e792dc0b6f891a4a83d182e0ba9b24b36bd80/nvidia-fix-linux-5.12.patch I have applied this to 460.56, with Kernel 5.12-rc1, and it compiles successfully, and appears to work OK.     Unable to do a longer test, as my 5.12-rc1 system still crashes with a USB error, after the KVM switches out.. … Continue reading →

Posted in fix, kernel, Linux, NVIDIA, Opinion | Tagged nvidia 460.56, patch for kernel 5.12, success | Leave a reply

Kernel – 5.12-rc1 – USB-related Crash..

Adventures With Linux ™ Posted on March 1, 2021 by RGMarch 1, 2021

After running kernel 5.12-rc1 for short time, it crashed: ……………………………. usb 1-1.1.1.5: USB disconnect, device number 11 usb 1-1.1.1.5.4: USB disconnect, device number 12 cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 BUG: kernel NULL pointer dereference, address: 0000000000000278 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) – not-present page PGD 0 P4D 0 Oops: 0000 … Continue reading →

Posted in Crash and Burn.., kernel, Linux, Opinion, USB | Tagged BUG kernel NULL pointer, crash, kernel 5.12-rc1, usb | Leave a 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.11 Released. OK with latest NVIDIA, and Patched VMware..

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

Kernel 5.11 is out, and brief details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2102.1/08310.html As expected, the latest NVIDIA driver – 460.39 – compiles and loads/runs OK, and (patched) VMware 16.1.0 is also OK. Robert Gadsdon.   February 14th, 2021. … Continue reading →

Posted in kernel, Linux, NVIDIA, Opinion, VMware | Tagged Kernel 5.11 released, nvidia 460.39 ok, patched vmware 16.1.0 ok | Leave a reply

NVIDIA – New Driver 460.39 – OK with 5.11..

Adventures With Linux ™ Posted on January 26, 2021 by RGJanuary 26, 2021

NVIDIA have released driver 460.39, and details are here:  https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-460-39-long-lived-branch-release/166842 This compiles/installs/runs OK with Kernel 5.11, without any patches..   (tested with 5.11-rc5) Robert Gadsdon.    January 26th 2021. … Continue reading →

Posted in kernel, Linux, NVIDIA, Opinion | Tagged 460.39, new driver, nvidia, ok with kernel 5.11, tested with 5.11-rc5 | Leave a reply

NVIDIA – New Driver 460.32.03 – Patch Mod for 5.11..

Adventures With Linux ™ Posted on January 8, 2021 by RGJanuary 8, 2021

NVIDIA have released their latest driver – 460.32.03, and details are here: https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-460-32-03-long-lived-branch-release/165423 The patch for 460.27.04 is easy to modify to work with this version – just remove the first section (patch to ~/kernel/common/inc/nv-linux.h) as this is no longer necessary. Tested with Kernel 5.11-rc2.. ……….. ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-modeset/nv-kthread-q.o MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/Module.symvers CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-460.32.03/kernel/nvidia-drm.mod.o … Continue reading →

Posted in Hacks, kernel, Linux, NVIDIA, Opinion | Tagged 460.32.03, modify existing patch, nvidia, ok with kernel 5.11-rc2 | 1 Reply

ARM – Vim3-Pro – with EFI and Fedora 33..

Adventures With Linux ™ Posted on January 5, 2021 by RGJanuary 5, 2021

Recently acquired one of the Khadas VIM3-Pro arm64 SoCs, and was impressed with the level of documentation available.. Unfortunately – as is so often the case – this was all relentlessly Ubuntu-focussed, with a semi-proprietary kernel based on the 4.X kernel tree.. At least the U-Boot version was fairly recent, and appeared to support EFI etc.. The … Continue reading →

Posted in aarch64, arm, ARM64, Fedora, Hacks, hardware, kernel, Linux / ARM, U-Boot, UEFI | Tagged arm64, efi, fedora 33, khadas, success, u-boot, vim3-pro | 1 Reply

Kernel – 5.11-rc1 Is Out – OK with (patched) VMware, Fails with NVIDIA..

Adventures With Linux ™ Posted on December 27, 2020 by RGDecember 27, 2020

Kernel 5.11-rc1 has been released, and brief details are here:  http://lkml.iu.edu/hypermail/linux/kernel/2012.3/00888.html VMware 16.1.0 (patched) compiles/loads OK, but the latest NVIDIA driver 460.27.04 fails to compile: …………………………. CONFTEST: drm_alpha_blending_available CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-460.27.04/kernel/nvidia/nv-frontend.o In file included from /home/rgadsdon/NVIDIA-Linux-x86_64-460.27.04/kernel/nvidia/nv-frontend.c:13: /home/rgadsdon/NVIDIA-Linux-x86_64-460.27.04/kernel/common/inc/nv-linux.h:120:10: fatal error: asm/kmap_types.h: No such file or directory 120 | #include <asm/kmap_types.h>        /* page table entry lookup          */ |          ^~~~~~~~~~~~~~~~~~ … Continue reading →

Posted in kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 5.11-rc1 released, nvidia 460.27.04 compile fails, patched vmware 16.1.0 ok, sys_close | 6 Replies

Post navigation

← Older posts
Newer posts →
Original content © Robert Gadsdon 2013
↑