nvidia 304.119 kernel 3.13

Hello,

I’m not able to install nVidia driver 304.119 (last driver which supported GeForce 6200) to kernel 3.13. Is available any patch?

Thanks for help.

Here is log file from installation. I hope that will help.

-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system is not supported by this NVIDIA Linux graphics driver release.


Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
-> Kernel module load error: insmod: error inserting './kernel/nvidia.ko': -1 Unknown symbol in module
-> Kernel messages:
   23.528442] type=1400 audit(1393148898.081:20): apparmor="STATUS" operation="profile_load" name="/usr/lib/dovecot/log" pid=496 comm="apparmor_parser"
   23.674919] type=1400 audit(1393148898.227:21): apparmor="STATUS" operation="profile_load" name="/usr/lib/dovecot/managesieve" pid=500 comm="apparmor_parser"
   23.844223] type=1400 audit(1393148898.397:22): apparmor="STATUS" operation="profile_load" name="/usr/lib/dovecot/managesieve-login" pid=504 comm="apparmor_parser"
   24.211527] type=1400 audit(1393148898.764:23): apparmor="STATUS" operation="profile_load" name="/usr/lib/dovecot/pop3" pid=508 comm="apparmor_parser"
   24.542972] type=1400 audit(1393148899.094:24): apparmor="STATUS" operation="profile_load" name="/usr/lib/dovecot/pop3-login" pid=512 comm="apparmor_parser"
   24.693582] type=1400 audit(1393148899.246:25): apparmor="STATUS" operation="profile_load" name="/usr/lib/dovecot/ssl-params" pid=516 comm="apparmor_parser"
   27.903689] audit_printk_skb: 21 callbacks suppressed
   27.903695] type=1400 audit(1393148902.456:33): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=548 comm="apparmor_parser"
   28.527869] type=1400 audit(1393148903.080:34): apparmor="STATUS" operation="profile_load" name="/usr/sbin/smbd" pid=552 comm="apparmor_parser"
   29.258551] type=1400 audit(1393148903.811:35): apparmor="STATUS" operation="profile_load" name="/usr/sbin/smbldap-useradd" pid=556 comm="apparmor_parser"
   29.259257] type=1400 audit(1393148903.812:36): apparmor="STATUS" operation="profile_load" name="/etc/init.d/nscd" pid=556 comm="apparmor_parser"
   29.590590] type=1400 audit(1393148904.143:37): apparmor="STATUS" operation="profile_load" name="/usr/{sbin/traceroute,bin/traceroute.db}" pid=560 comm="apparmor_parser"
   30.029999] type=1400 audit(1393148904.582:38): apparmor="STATUS" operation="profile_load" name="/usr/sbin/winbindd" pid=564 comm="apparmor_parser"
   30.467766] ip6_tables: (C) 2000-2006 Netfilter Core Team
   30.573476] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
   30.609098] ip_tables: (C) 2000-2006 Netfilter Core Team
   30.779138] vboxdrv: Found 1 processor cores.
   30.781682] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
   30.781689] vboxdrv: Successfully loaded version 4.3.6_OSE (interface 0x001a0007).
   31.052203] vboxpci: IOMMU not found (not registered)
   33.163610] NET: Registered protocol family 17
   80.254861] type=1006 audit(1393148954.807:39): pid=2781 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1 res=1
  171.748808] nvidia: module license 'NVIDIA' taints kernel.
  171.748818] Disabling lock debugging due to kernel taint
  171.788147] nvidia: Unknown symbol acpi_os_wait_events_complete (err 0)
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Are you sure you’re actually compiling the module for the 3.13 kernel?
What kernel packages do you have installed?

rpm -qa | grep kernel

Anyway, this patch should work, although I cannot guarantee it: (taken from a fedora package: http://download1.rpmfusion.org/nonfree/fedora/updates/20/SRPMS/repoview/nvidia-304xx-kmod.html)

--- a/kernel/nv-acpi.c
+++ b/kernel/nv-acpi.c
@@ -15,6 +15,10 @@
 #include "nv-linux.h"
 #include "nv-reg.h"
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0) && defined(ACPI_HANDLE)
+#define DEVICE_ACPI_HANDLE(a) ACPI_HANDLE(a)
+#endif
+
 #if defined(NV_LINUX_ACPI_EVENTS_SUPPORTED)
 
 static int         nv_acpi_add             (struct acpi_device *);
@@ -299,7 +299,10 @@ static int nv_acpi_remove(struct acpi_de
 
     if (pNvAcpiObject->notify_handler_installed)
     {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
+ /* beginning with 3.13, acpi_remove_notify_handler() waits for events to finish */
         NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
+#endif
 
         // remove event notifier
         status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);

Thanks for your help. I use patch from Fedora package and all work fine. Problem have been solved.