Patch for Nvidia 185.18.14 to build on 2.6.31 kernel
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    leigh123linux Guest

    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. #2
    Join Date
    Apr 2009
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by leigh123linux
    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. #3
    leigh123linux Guest
    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.

  4. #4
    Join Date
    Apr 2009
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just pulled down the later kernel (git18) from yum. As you said, this does require the full patch.

Similar Threads

  1. Patch for Nvidia 96.43.11 to build on 2.6.30 kernel
    By leigh123linux in forum Fedora 12 Alpha, Beta & Release Candidates
    Replies: 2
    Last Post: 23rd June 2009, 05:35 PM
  2. Patch for Nvidia 173.14.18 to build on 2.6.30 kernel
    By leigh123linux in forum Fedora 12 Alpha, Beta & Release Candidates
    Replies: 6
    Last Post: 23rd June 2009, 05:14 PM
  3. New Kernel and NVIDIA driver patch
    By okcomputer44 in forum Using Fedora
    Replies: 0
    Last Post: 17th May 2008, 06:00 AM
  4. Can't build Nvidia driver for kernel 2.6.16-1.2069
    By tron_thomas in forum Hardware & Laptops
    Replies: 5
    Last Post: 3rd April 2006, 01:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •