Kernel – 5.10-rc1 Pre-Testing.. NVIDIA fails, Patched VMware OK..
As 5.10-rc1 should be out on Sunday, I did a quick compile test of the interim code available now (October 20th)..
NVIDIA 455.28 compile fails:
CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-acpi.o
CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-cray.o
CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-dma.o
/home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-dma.c: In function ‘nv_dma_is_map_resource_implemented’:
/home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-dma.c:631:37: error: implicit declaration of function ‘get_dma_ops’ [-Werror=implicit-function-declaration]
631 | const struct dma_map_ops *ops = get_dma_ops(dma_dev->dev);
| ^~~~~~~~~~~
/home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-dma.c:631:37: warning: initialization of ‘const struct dma_map_ops *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-dma.c:646:16: error: invalid use of undefined type ‘const struct dma_map_ops’
646 | return (ops->map_resource != NULL);
| ^~
/home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-dma.c:650:1: warning: control reaches end of non-void function [-Wreturn-type]
650 | }
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:283: /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia/nv-dma.o] Error 1
make[1]: *** [Makefile:1777: /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel] Error 2
make[1]: Leaving directory '/usr/src/linux-5.10-rc1pre'
make: *** [Makefile:81: modules] Error 2
There is already an interim 5.10 patch for available for VMware 16, here: https://github.com/mkubecek/vmware-host-modules/tree/tmp/workstation-16.0.0-k5.10
I have applied this, and vmmon/vmnet compile OK..
Bear in mind, that there _will_ be further changes before -rc1 is released!
Robert Gadsdon. October 20th 2010.
Joan Bruguera made a (tentative) fix…
https://gist.github.com/joanbm/beaccedd729589df98332d70a1754e9a
…works on Ubuntu 20.04 and nvidia-455.23.04
Thanks. I will give it a try..
RG.