Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-26-09, 11:30 AM   #1
miki100
Registered User
 
miki100's Avatar
 
Join Date: Jan 2009
Posts: 10
Question Does 96.43.11 works on kernel 2.6.30rc6 ?

Hi!
I'm asking "Does 96.43.11 works on kernel 2.6.30rc6 ?" because I'm going to switch to that kernel.
Are there any patches or it works without them?
Please help.
miki100 is offline   Reply With Quote
Old 05-30-09, 01:54 AM   #2
bbj
Registered User
 
Join Date: Oct 2008
Posts: 3
Default Re: Does 96.43.11 works on kernel 2.6.30rc6 ?

Someone posted it. Try this patch.

Code:
diff -Nupr NVIDIA-Linux-x86-96.43.11-pkg1/usr/src/nv/nv.c NVIDIA-Linux-x86-96.43.11-pkg1.new/usr/src/nv/nv.c
--- NVIDIA-Linux-x86-96.43.11-pkg1/usr/src/nv/nv.c      2009-02-23 17:46:00.000000000 -0600
+++ NVIDIA-Linux-x86-96.43.11-pkg1.new/usr/src/nv/nv.c  2009-04-22 15:28:06.391152766 -0500
@@ -495,14 +495,6 @@ static void nvos_proc_create(void)
     if (!proc_nvidia_warnings)
         goto failed;

-    /*
-     * Set the module owner to ensure that the reference
-     * count reflects accesses to the proc files.
-     */
-    proc_nvidia->owner = THIS_MODULE;
-    proc_nvidia_cards->owner = THIS_MODULE;
-    proc_nvidia_warnings->owner = THIS_MODULE;
-
     for (j = 0; j < num_nv_devices; j++)
     {
         nvl = &nv_linux_devices[j];
@@ -521,7 +513,6 @@ static void nvos_proc_create(void)

         entry->data = nv;
         entry->read_proc = nv_kern_read_cardinfo;
-        entry->owner = THIS_MODULE;

         if (nvos_find_agp_capability(dev)) {
             /*
@@ -534,7 +525,6 @@ static void nvos_proc_create(void)
                 goto failed;
             }

-            entry->owner = THIS_MODULE;
             proc_nvidia_agp = entry;

             entry = create_proc_entry("status", flags, proc_nvidia_agp);
@@ -545,7 +535,6 @@ static void nvos_proc_create(void)

             entry->data = nv;
             entry->read_proc = nv_kern_read_status;
-            entry->owner = THIS_MODULE;

             entry = create_proc_entry("host-bridge", flags, proc_nvidia_agp);
             if (!entry) {
@@ -555,7 +544,6 @@ static void nvos_proc_create(void)

             entry->data = NULL;
             entry->read_proc = nv_kern_read_agpinfo;
-            entry->owner = THIS_MODULE;

             entry = create_proc_entry("card", flags, proc_nvidia_agp);
             if (!entry) {
@@ -565,7 +553,6 @@ static void nvos_proc_create(void)

             entry->data = nv;
             entry->read_proc = nv_kern_read_agpinfo;
-            entry->owner = THIS_MODULE;
         }

         NV_PCI_DEV_PUT(dev);
@@ -576,14 +563,12 @@ static void nvos_proc_create(void)
         goto failed;

     entry->read_proc = nv_kern_read_version;
-    entry->owner = THIS_MODULE;

     entry = create_proc_entry("registry", flags, proc_nvidia);
     if (!entry)
         goto failed;

     entry->read_proc = nv_kern_read_registry;
-    entry->owner = THIS_MODULE;

     return;

@@ -610,7 +595,6 @@ nvos_proc_add_warning_file(

     entry->data = (void *)message;
     entry->read_proc = nv_kern_read_warning;
-    entry->owner = THIS_MODULE;
 #endif
 }
bbj is offline   Reply With Quote
Old 06-01-09, 02:30 AM   #3
miki100
Registered User
 
miki100's Avatar
 
Join Date: Jan 2009
Posts: 10
Default Re: Does 96.43.11 works on kernel 2.6.30rc6 ?

Sorry for not responding earlier, but thanks-it works like a charm!!!
miki100 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 02:09 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.