Kernel 3.18-rc1 – VMware OK, NVIDIA Not..
Just installed Kernel 3.18-rc1 – released earlier than originally planned – on the test system:
$ uname -a Linux rg6830l 3.18.0-rc1 #1 SMP PREEMPT Mon Oct 20 10:23:13 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1410.2/01595.html
VMware 10.0.3 (with the vmnet patch..) installs and runs OK, but the latest current NVIDIA (340.46) fails to compile:
................... /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:78:99: warning: (near initialization for ‘nv_obj’) [enabled by default] /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:79:25: error: dereferencing pointer to incomplete type int page_count = obj->size >> PAGE_SHIFT; ^ /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c: In function ‘nv_gem_prime_vmap’: /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:88:99: warning: initialization from incompatible pointer type [enabled by default] struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base); ^ /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:88:99: warning: (near initialization for ‘nv_obj’) [enabled by default] /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:89:25: error: dereferencing pointer to incomplete type int page_count = obj->size >> PAGE_SHIFT; ^ /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c: At top level: /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:107:13: error: ‘drm_gem_mmap’ undeclared here (not in a function) .mmap = drm_gem_mmap, ^ /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c: In function ‘nv_alloc_os_descriptor_handle’: /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:204:5: error: implicit declaration of function ‘drm_gem_private_object_init’ [-Werror=implicit-function-declaration] drm_gem_private_object_init(nvl->drm, &nv_obj->base, size); ^ /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:206:5: error: implicit declaration of function ‘drm_gem_handle_create’ [-Werror=implicit-function-declaration] ret = drm_gem_handle_create(file_priv, &nv_obj->base, handle); ^ /home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.c:213:5: error: implicit declaration of function ‘drm_gem_object_unreference_unlocked’ [-Werror=implicit-function-declaration] drm_gem_object_unreference_unlocked(&nv_obj->base); ^ cc1: some warnings being treated as errors make[3]: *** [/home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel/nv-drm.o] Error 1 make[2]: *** [_module_/home/rgadsdon/NVIDIA-Linux-x86_64-340.46/kernel] Error 2 make[2]: Leaving directory `/usr/src/linux-3.18-rc1' make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-3.18-rc1' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [nvidia.ko] Error 1
More research needed….
Robert Gadsdon. October 20, 2014..
> VMware 10.0.3 (with the vmnet patch..) installs and runs OK
Certainly. But, Once quit from VMware, and restart it, /dev/vmmon disappeared(On VMware 10.0.3, the guest never starts.
I ran VMware (10.0.3, with the vmnet patch) on my test system (Kernel 3.18-rc1, Fedora 21, x86_64, 4GB memory) and it was OK. I have tried starting/stopping it several times, and it still worked..
RG.
Oh, do you!
I ran on openSUSE 12.3, x86_64(AMD Opteron x2 ), 8GB RAM.
What’s the matter, I wonder……..
Thanks,