Fedora Linux Support Community & Resources Center
  #1  
Old 22nd June 2009, 11:17 PM
leigh123linux
Guest
 
Posts: n/a
Patch for Nvidia 185.18.14 to build on 2.6.31 kernel

I have found this patch on nvnews for Nvidia 185.18.14 to build on 2.6.31 kernel

http://www.nvnews.net/vbulletin/show...88&postcount=3





http://leigh123linux.fedorapeople.or...85.18.14.patch


Use this command to patch the run file ( make sure the run file and patch are in the same directory)





Code:
 ./NVIDIA-Linux-x86_64-185.18.14-pkg2.run --apply-patch nvidia-185.18.14.patch
  #2  
Old 23rd June 2009, 06:02 AM
typerlc Offline
Registered User
 
Join Date: Apr 2009
Posts: 109
Quote:
Originally Posted by leigh123linux View Post
I have found this patch on nvnews for Nvidia 185.18.14 to build on 2.6.31 kernel

http://www.nvnews.net/vbulletin/show...88&postcount=3
This patch didn't work for me. Why, I don't know. I'm x86, and you're x64. Perhaps that's a difference.

For reference, my kernel is: 2.6.31-0.17.rc0.git15.fc12.i686.PAE

Here's my patch that works for me. If you pay close attention, you'll see I've just removed the change in the original patch that was done to os-agp.c. Perhaps this change only happens with a newer version of the kernel. But yum update hasn't pulled it in yet.

Oh well, this works for me... YMMV

Code:
--- usr/src/nv/nv-i2c.c.orig 2009-06-22 16:21:57.000000000 +0200
+++ usr/src/nv/nv-i2c.c 2009-06-22 16:24:12.000000000 +0200
@@ -218,8 +218,6 @@
 #if defined(NV_I2C_ADAPTER_HAS_DEC_USE)
     .dec_use           = nv_i2c_adapter_dec_use,
 #endif
-    .client_register   = nv_i2c_adapter_register_client,
-    .client_unregister = nv_i2c_adapter_unregister_client,
     .data              = NULL,
 };

@@ -241,8 +239,6 @@
     .owner             = THIS_MODULE,
     .algo              = &nv_i2c_algo,
     .algo_data         = NULL,
-    .client_register   = nv_i2c_adapter_register_client,
-    .client_unregister = nv_i2c_adapter_unregister_client,
 };

 #endif // defined(KERNEL_2_4)
  #3  
Old 23rd June 2009, 10:36 AM
leigh123linux
Guest
 
Posts: n/a
Quote:
Originally Posted by typerlc View Post
This patch didn't work for me. Why, I don't know. I'm x86, and you're x64. Perhaps that's a difference.

For reference, my kernel is: 2.6.31-0.17.rc0.git15.fc12.i686.PAE

Here's my patch that works for me. If you pay close attention, you'll see I've just removed the change in the original patch that was done to os-agp.c. Perhaps this change only happens with a newer version of the kernel. But yum update hasn't pulled it in yet.

Oh well, this works for me... YMMV

Code:
--- usr/src/nv/nv-i2c.c.orig 2009-06-22 16:21:57.000000000 +0200
+++ usr/src/nv/nv-i2c.c 2009-06-22 16:24:12.000000000 +0200
@@ -218,8 +218,6 @@
 #if defined(NV_I2C_ADAPTER_HAS_DEC_USE)
     .dec_use           = nv_i2c_adapter_dec_use,
 #endif
-    .client_register   = nv_i2c_adapter_register_client,
-    .client_unregister = nv_i2c_adapter_unregister_client,
     .data              = NULL,
 };

@@ -241,8 +239,6 @@
     .owner             = THIS_MODULE,
     .algo              = &nv_i2c_algo,
     .algo_data         = NULL,
-    .client_register   = nv_i2c_adapter_register_client,
-    .client_unregister = nv_i2c_adapter_unregister_client,
 };

 #endif // defined(KERNEL_2_4)

I tested it on git18 for x86 & x86_64 .


P.S yum hasn't worked here for a couple of days since they incorrectly rsync'ed the x86_64 repo.
  #4  
Old 24th June 2009, 09:54 AM
typerlc Offline
Registered User
 
Join Date: Apr 2009
Posts: 109
Just pulled down the later kernel (git18) from yum. As you said, this does require the full patch.
 

Tags
build, kernel, nvidia, patch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Patch for Nvidia 96.43.11 to build on 2.6.30 kernel leigh123linux Fedora 12 Alpha, Beta & Release Candidates 2 23rd June 2009 05:35 PM
Patch for Nvidia 173.14.18 to build on 2.6.30 kernel leigh123linux Fedora 12 Alpha, Beta & Release Candidates 6 23rd June 2009 05:14 PM
New Kernel and NVIDIA driver patch okcomputer44 Using Fedora 0 17th May 2008 06:00 AM
Can't build Nvidia driver for kernel 2.6.16-1.2069 tron_thomas Hardware & Laptops 5 3rd April 2006 01:41 AM


Current GMT-time: 00:36 (Thursday, 23-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Sishui - Welisara Photos on Instagram - Gibraltar Photos on Instagram