 |
 |
 |
 |
| Fedora 12 Alpha, Beta & Release Candidates For discussions on the Bleeding Edge of Fedora - the builds that will one day become Fedora 12. |

22nd June 2009, 11:17 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
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
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
|

23rd June 2009, 06:02 AM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 109

|
|
Quote:
Originally Posted by leigh123linux
|
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)
|

23rd June 2009, 10:36 AM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
Quote:
Originally Posted by typerlc
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.
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
|

24th June 2009, 09:54 AM
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 07:01 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|