I'm trying to get the drivers from geforce.com to compile with the 3.11.1-200 kernel and they are just not cooperating. Anyone know of a patch, tweak, magic enchantment or whatever that will get this done?
I've tried with the NVIDIA-Linux-x86_64-319.49 drivers and the beta NVIDIA-Linux-x86_64-325.08 driver. No luck with either.
At the end of /var/log/nvidia-installer.log I see: In file included from /usr/src/kernels/3.11.1-200.fc19.x86_64/arch/x86/include/asm/uaccess.h:539:0, from /usr/src/kernels/3.11.1-200.fc19.x86_64/include/linux/poll.h:11, from /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-linux.h:97, from /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.c:15: /usr/src/kernels/3.11.1-200.fc19.x86_64/arch/x86/include/asm/uaccess_64.h: In function copy_from_user: /usr/src/kernels/3.11.1-200.fc19.x86_64/arch/x86/include/asm/uaccess_64.h:62:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.c: In function nv_i2c_del_adapter: /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.c:252:14: error: void value not ignored as it ought to be osstatus = i2c_del_adapter(pI2cAdapter); ^ make[3]: *** [/root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.o] Error 1 make[2]: *** [_module_/root/NVIDIA-Linux-x86_64-325.08/kernel] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.11.1-200.fc19.x86_64' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [module] Error 1 -> Error. ERROR: Unable to build the NVIDIA kernel module.
On 09/24/2013 08:26 AM, Stephen Berg (Contractor) wrote:
I'm trying to get the drivers from geforce.com to compile with the 3.11.1-200 kernel and they are just not cooperating. Anyone know of a patch, tweak, magic enchantment or whatever that will get this done?
I've tried with the NVIDIA-Linux-x86_64-319.49 drivers and the beta NVIDIA-Linux-x86_64-325.08 driver. No luck with either.
At the end of /var/log/nvidia-installer.log I see: In file included from /usr/src/kernels/3.11.1-200.fc19.x86_64/arch/x86/include/asm/uaccess.h:539:0,
from /usr/src/kernels/3.11.1-200.fc19.x86_64/include/linux/poll.h:11, from /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-linux.h:97, from /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.c:15: /usr/src/kernels/3.11.1-200.fc19.x86_64/arch/x86/include/asm/uaccess_64.h: In function copy_from_user: /usr/src/kernels/3.11.1-200.fc19.x86_64/arch/x86/include/asm/uaccess_64.h:62:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.c: In function nv_i2c_del_adapter: /root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.c:252:14: error: void value not ignored as it ought to be osstatus = i2c_del_adapter(pI2cAdapter); ^ make[3]: *** [/root/NVIDIA-Linux-x86_64-325.08/kernel/nv-i2c.o] Error 1 make[2]: *** [_module_/root/NVIDIA-Linux-x86_64-325.08/kernel] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.11.1-200.fc19.x86_64' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [module] Error 1 -> Error. ERROR: Unable to build the NVIDIA kernel module.
What worked in my case on 4 desktops and one nvidia notebook was to install kmod-nvidia for the more recent geforce chipsets, akmod-nvidia-304xx for the two geforce 6 chipsets, and then launch yumex from the last working kernel, activate rawhide and all the testing repos and install the latest nvidia drivers from there...worked like a charm.
On Tuesday 24 Sep 2013 07:26:26 Stephen Berg wrote:
I'm trying to get the drivers from geforce.com to compile with the 3.11.1-200 kernel and they are just not cooperating. Anyone know of a patch, tweak, magic enchantment or whatever that will get this done?
download and yum update the patched akmod-nvidia, from this thread on fedora forums, http://forums.fedoraforum.org/showthread.php?t=294091
then on reboot it should build a working kmod for your nvidia card.
Martin
On 09/24/2013 08:17 AM, Martin Airs wrote:
On Tuesday 24 Sep 2013 07:26:26 Stephen Berg wrote:
I'm trying to get the drivers from geforce.com to compile with the 3.11.1-200 kernel and they are just not cooperating. Anyone know of a patch, tweak, magic enchantment or whatever that will get this done?
download and yum update the patched akmod-nvidia, from this thread on fedora forums, http://forums.fedoraforum.org/showthread.php?t=294091
then on reboot it should build a working kmod for your nvidia card.
Martin
I had found that thread just before you replied and so far so good. I have a good nvidia module built and loaded, the GUI is back. Now I have to figure out why my gnome environment won't start. I'm not sure if they're related but the nvidia module problem and this gnome problem both started happening at the same time.
I have KDE to use for the time being, but I've gotten used to gnome3 and gnome-shell, don't really want to give up on it.
On Tue, Sep 24, 2013 at 07:26:26AM -0500, Stephen Berg (Contractor) wrote:
I'm trying to get the drivers from geforce.com to compile with the 3.11.1-200 kernel and they are just not cooperating. Anyone know of a patch, tweak, magic enchantment or whatever that will get this done?
I've tried with the NVIDIA-Linux-x86_64-319.49 drivers and the beta NVIDIA-Linux-x86_64-325.08 driver. No luck with either.
I'm using NVIDIA-Linux-x86_64-325.15. I fixed up the nv-linux.h a bit to be able to buiuld the kernel module.
Here is a diff:
--- kernel/nv-linux.h.org 2013-09-24 17:51:56.044371179 +0200 +++ kernel/nv-linux.h 2013-09-21 14:07:56.029460392 +0200 @@ -958,7 +958,7 @@ #endif
#if !defined(NV_VMWARE) -#define NV_NUM_PHYSPAGES num_physpages +#define NV_NUM_PHYSPAGES get_num_physpages() #define NV_GET_CURRENT_PROCESS() current->tgid #define NV_IN_ATOMIC() in_atomic() #define NV_LOCAL_BH_DISABLE() local_bh_disable()
-Marcel