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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-18-09, 05:36 PM   #1
Milos_SD
Registered User
 
Join Date: Jan 2009
Posts: 19
Default 2.6.33-rc1 kernel and 195.22 driver

Can someone help me install 195.22 driver on 2.6.33-rc1 kernel?
I tried that patch from thread about 2.6.32-git5 and 195.22 driver, but it doesn't work.
Milos_SD is offline   Reply With Quote
Old 12-18-09, 09:04 PM   #2
Dizzle7677
Registered User
 
Dizzle7677's Avatar
 
Join Date: May 2008
Location: Relativity
Posts: 194
Default Re: 2.6.33-rc1 kernel and 195.22 driver

Have you tried going in and changing the nvacpi.c manually? Use the --extract-only switch. The patch works with 2.6.33-rc1 and 190.53 for me.
Code:
--- usr/src/nv/nvacpi.c    2009-12-10 18:25:16.711696181 +0300
+++ usr/src/nv/nvacpi.c   2009-12-10 18:26:02.189383388 +0300
@@ -506,7 +506,7 @@

     *handlesPresent = 0;

-    acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX, nv_acpi_find_methods, NULL, NULL);
+   acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX, nv_acpi_find_methods, NULL, NULL, NULL);


     if (nvif_handle)
     {
@@ -1184,7 +1184,7 @@
             "NAMESPACE INVALID\n");
     }

-    acpi_walk_namespace(ACPI_TYPE_ANY, handle, 1, nv_acpi_walk_callback, acpi_name, NULL);
+    acpi_walk_namespace(ACPI_TYPE_ANY, handle, 1, nv_acpi_walk_callback, acpi_name, NULL, NULL);

     os_free_mem(acpi_name);
 }
__________________
Elephants can fly but they have no reason to.
------------------------------------------
Phenom II X3 720 @ 3.5Ghz | Asus M4A785-M | 2 Gig Crucial DDR2 @ 960 Mhz | GeForce GT 440 1024 MB | Linux 3.6.1 / Ubuntu 12.04 / W.I.N.E v1.5.14
Dizzle7677 is offline   Reply With Quote
Old 12-19-09, 05:39 AM   #3
zimiq
Registered User
 
Join Date: Sep 2005
Posts: 7
Default Re: 2.6.33-rc1 kernel and 195.22 driver

195.22 patch
Code:
--- usr/src/nv/nvacpi.c    2009-12-10 18:25:16.711696181 +0300
+++ usr/src/nv/nvacpi.c   2009-12-10 18:26:02.189383388 +0300
@@ -506,7 +506,7 @@
     *handlesPresent = 0;
 
     acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT, 
-                        ACPI_UINT32_MAX, nv_acpi_find_methods, NULL, NULL);
+                        ACPI_UINT32_MAX, nv_acpi_find_methods, NULL, NULL, NULL);
 
     if (nvif_handle)
     {
@@ -1184,7 +1184,7 @@
             "NAMESPACE INVALID\n");
     }

-    acpi_walk_namespace(ACPI_TYPE_ANY, handle, 1, nv_acpi_walk_callback, acpi_name, NULL);
+    acpi_walk_namespace(ACPI_TYPE_ANY, handle, 1, nv_acpi_walk_callback, acpi_name, NULL, NULL);

     os_free_mem(acpi_name);
 }
zimiq is offline   Reply With Quote
Old 12-19-09, 05:02 PM   #4
FrancoisVal
François
 
Join Date: Dec 2007
Posts: 8
Default Re: 2.6.33-rc1 kernel and 195.22 driver

This patch doesn't seems to be sufficient. It seems there are also problems in the conftest.sh file. I have already replaced all occurences of "linux/utsrelease.h" by "generated/utsrelease.h" but it still doesn't work and I still get this error

Code:
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux HOST_CC=x86_64-pc-linux-gnu-gcc clean module                                                                                                                   
If you are using a Linux 2.4 kernel, please make sure                                                                                                        
you either have configured kernel sources matching your                                                                                                      
kernel or the correct set of kernel headers installed                                                                                                        
on your system.                                                                                                                                              

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate  
output directory using either the "KBUILD_OUTPUT" or   
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***
Does anybody know ho to solve this problem ?
Thanks for your help.
FrancoisVal is offline   Reply With Quote
Old 12-19-09, 10:31 PM   #5
Anssi
Mageia packager
 
Join Date: Mar 2005
Location: Tampere, Finland
Posts: 45
Send a message via MSN to Anssi
Default Re: 2.6.33-rc1 kernel and 195.22 driver

Attached is a working patch for 190.53 + 2.6.33.
Attached Files
File Type: txt nvidia-2.6.33.patch.txt (1.1 KB, 2115 views)
__________________
Anssi Hannula (anssi@mageia.org)
Mageia packager of NVIDIA drivers
XBMC developer
Anssi is offline   Reply With Quote
Old 12-20-09, 05:03 AM   #6
rzx
Registered User
 
Join Date: Apr 2008
Posts: 10
Default Re: 2.6.33-rc1 kernel and 195.22 driver

So how does one use this patch?
rzx is offline   Reply With Quote
Old 12-20-09, 07:32 AM   #7
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 2.6.33-rc1 kernel and 195.22 driver

# ./NVIDIA-Linux-x86_64-195.22-pkg2.run --extract-only
# cd NVIDIA-Linux-x86_64-195.22-pkg2
# patch -p1 < nvidia-2.6.33.patch.txt
# ./nvidia-installer
siddly is offline   Reply With Quote
Old 12-20-09, 07:43 AM   #8
rzx
Registered User
 
Join Date: Apr 2008
Posts: 10
Default Re: 2.6.33-rc1 kernel and 195.22 driver

Yeah, thanks
rzx is offline   Reply With Quote

Old 12-20-09, 07:58 AM   #9
ALLurGroceries
Registered User
 
Join Date: Jan 2009
Posts: 4
Default Re: 2.6.33-rc1 kernel and 195.22 driver

Easier:
Code:
./NVIDIA-Linux-x86_64-195.22-pkg2.run --apply-patch nvidia-2.6.33.patch.txt
./NVIDIA-Linux-x86_64-195.22-pkg0-custom.run -Nqa --ui=none
Thanks for the patch.
ALLurGroceries is offline   Reply With Quote
Old 12-22-09, 08:13 PM   #10
gun26
Registered User
 
Join Date: Oct 2004
Posts: 17
Default Re: 2.6.33-rc1 kernel and 195.22 driver

Hmm - I can't get nvidia to build - currently against 2.6.33-git 0225, which is probably equivalent to -rc1-git3. I've tried Anssi's patch from this thread and pavlinuxx's patch from http://www.nvnews.net/vbulletin/show....php?p=2140046 and I still get:

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1
gun26 is offline   Reply With Quote
Old 12-23-09, 08:25 PM   #11
darco
Registered User
 
Join Date: Dec 2009
Posts: 1
Default Re: 2.6.33-rc1 kernel and 195.22 driver

Quote:
Originally Posted by ALLurGroceries View Post
Easier:
Code:
./NVIDIA-Linux-x86_64-195.22-pkg2.run --apply-patch nvidia-2.6.33.patch.txt
./NVIDIA-Linux-x86_64-195.22-pkg0-custom.run -Nqa --ui=none
Thanks for the patch.
I ended up running sudo sh ./NVIDIA-Linux-x86_64-195.22-pkg2-custom.run w/o the added arguments (-Nqa --ui=none) and it worked fine...what do these arguments suppose to do?
darco is offline   Reply With Quote
Old 12-25-09, 02:26 AM   #12
Milos_SD
Registered User
 
Join Date: Jan 2009
Posts: 19
Default Re: 2.6.33-rc1 kernel and 195.22 driver

I tryed 195.30 on 2.6.33-rc2 and it didn't worked. But this time it tryed to compile module, but failed. I don't have nvidia-installer.log becouse I installed patched 195.22 version right away. But if I remember correctly, errors were in nv-linux.c (it did show up in log a lot).
Milos_SD 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


All times are GMT -5. The time now is 06:19 AM.


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