|
|
#13 | |
|
*BANNED*
Join Date: Sep 2006
Posts: 427
|
Will NVIDIA fix it upstream?
|
|
|
|
|
|
|
#14 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
Yes, we plan on addressing this in the regular and legacy drivers, eventually.
|
|
|
|
|
|
|
#15 |
|
Registered User
Join Date: Aug 2003
Posts: 29
|
Hi. I'm running 9639. I've patched the nv source, and am running the 2.6.23-rc1-git3 kernel. The build seems to go okay, but when I try to load the kernel, it refuses. On closer inspection, nv.c line 110 gives an error message: nv.c: At top
level: /data/kernel/temp/nv/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:110: err or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef ore ‘*’ token ... so it seems that its trying to perform a mathematical product, rather than declaring a pointer (and setting its value), the line being (on my slightly modified nv.c file) static kmem_cache_t *nv_pte_t_cache = NULL; (lines following the first error message from other files stating that nv_pte_t_cache is undeclared. So it seems that somehow kmem_cache_t is not recognized as a data type. I can go back to 2.6.22-git2 as everything was still working then. |
|
|
|
|
|
#16 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
@snaboofypop: please see post #9 (http://www.nvnews.net/vbulletin/show...86&postcount=9).
|
|
|
|
|
|
|
#17 |
|
Registered User
Join Date: Nov 2005
Posts: 4
|
Replacing with 'void *' it builds fine but trying to load it I get:
nvidia: Unknown symbol __you_cannot_kmalloc_that_much nv ver: 9631 kern ver: 2.6.23-rc3 I understand the sentiment that it's a beta kernel so what do you expect, etc. etc. Sometimes it can't be helped when trying to get new hardware devices working. Any ideas are welcome PS: Nvidia site insists on linking to the 9755 driver for GeForce4 and under....... ? |
|
|
|
|
|
#18 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
@johngeeaswell: you can avoid the __you_cannot_kmalloc_that_much unresolved symbol problem by either using the SLUB allocator or removing the '-O' compiler flag from ../usr/src/nv/Makefile.kbuild.
|
|
|
|
|
|
|
#19 |
|
Registered User
Join Date: Nov 2005
Posts: 4
|
Excellent,
I removed the -0 from the EXTRA_CFLAGS and recompiled. It loaded no problem. Thanks zander ![]() Curious, the absence of that setting will probably slow things down a little, would that be correct? |
|
|
|
|
|
#20 |
|
Registered User
Join Date: Jan 2004
Posts: 43
|
What about patching 8776? That's the latest version that works with interlaced modes (see various threads on 1080i).
|
|
|
|
|
|
#21 | |
|
Registered User
Join Date: Sep 2007
Posts: 1
|
Quote:
I therefore suggest the following patch: Code:
diff -urN a/nv/nv.c b/nv/nv.c --- a/nv/nv.c 2007-08-16 14:04:49.000000000 +0200 +++ b/nv/nv.c 2007-09-27 16:19:36.000000000 +0200 @@ -107,7 +107,7 @@ static int nv_mmconfig_failure_detected = 0; -static kmem_cache_t *nv_pte_t_cache = NULL; +static struct kmem_cache *nv_pte_t_cache = NULL; // allow an easy way to convert all debug printfs related to events // back and forth between 'info' and 'errors' |
|
|
|
|
|
|
#22 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
Older kernels have 'struct kmem_cache_s'/'kmem_cache_t', but not the recently introduced 'struct kmem_cache'. Handling the type difference across kernels would require a compile test; since the NVIDIA Linux graphics driver doesn't use the cache pointer directly, using 'void *' and avoiding the addition of another compile test was deemed a better choice.
|
|
|
|
|
|
#23 |
|
Registered User
Join Date: Mar 2007
Posts: 7
|
There's my patch for 9755 to allow it to compile under 2.6.23 at
http://home.hiwaay.net/~craigg/linux/NV_patch.html -- 100 doesn't restore my screen correctly. |
|
|
|
|
|
#24 |
|
Registered User
Join Date: Oct 2004
Posts: 34
|
I had the failure in the 9631 driver on 2.6.23.1 with the ck patch applied.
Your patch fit with offset and appears to fix the problem. Thanks. Hugo |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regression with 295.33 and GeForce GT 240 | maro | NVIDIA Linux | 16 | 06-29-12 06:47 PM |
| 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 |
| nvidia + 2.4.19 gentoo = messed up | ulukay | NVIDIA Linux | 18 | 11-01-02 11:58 PM |
| X Failed to load NVdriver | c00lr4c3r | NVIDIA Linux | 13 | 10-22-02 01:44 PM |