mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* bug of Nvidia (0.9.5) Drivers in 2.4 Kernel Enviroment
@ 2001-01-05 21:07 Gregor Essers
  2001-01-06  3:22 ` Cefiar
  0 siblings, 1 reply; 2+ messages in thread
From: Gregor Essers @ 2001-01-05 21:07 UTC (permalink / raw)
  To: linux-kernel

>From the pre9 relaese to the final of the 2.4 Kernel i become this Errors, 
can someone help me or have someone an idea what this mean ??.

I will build this with the src.rpm from Nvidia with the spec file 

In file included from nv.c:52:
nv.h:131: warning: #warning This driver is not officially supported on 
post-2.2 
kernels
nv.c: In function `nv_lock_pages':
nv.c:556: warning: implicit declaration of function `mem_map_inc_count'
nv.c: In function `nv_unlock_pages':
nv.c:583: warning: implicit declaration of function `mem_map_dec_count'
nv.c: At top level:
nv.c:853: unknown field `unmap' specified in initializer
nv.c:853: warning: initialization from incompatible pointer type
make: *** [nv.o] Fehler 1
Bad exit status from /var/tmp/rpm-tmp.37085 (%build)



My System Config : 

AMD Durom 700
256MB of Ram 
15,2 IBM HDD
Geforce2 MX 32 MB Graphics-Card 
Epox ep8kta+ Mainboard




Thanks

Gregor Essers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug of Nvidia (0.9.5) Drivers in 2.4 Kernel Enviroment
  2001-01-05 21:07 bug of Nvidia (0.9.5) Drivers in 2.4 Kernel Enviroment Gregor Essers
@ 2001-01-06  3:22 ` Cefiar
  0 siblings, 0 replies; 2+ messages in thread
From: Cefiar @ 2001-01-06  3:22 UTC (permalink / raw)
  To: Gregor Essers, linux-kernel

At 10:07 PM 5/01/01 +0100, Gregor Essers wrote:
> From the pre9 relaese to the final of the 2.4 Kernel i become this Errors,
>can someone help me or have someone an idea what this mean ??.
>
>I will build this with the src.rpm from Nvidia with the spec file
>
>In file included from nv.c:52:
>nv.h:131: warning: #warning This driver is not officially supported on
>post-2.2
>kernels
>nv.c: In function `nv_lock_pages':
>nv.c:556: warning: implicit declaration of function `mem_map_inc_count'
>nv.c: In function `nv_unlock_pages':
>nv.c:583: warning: implicit declaration of function `mem_map_dec_count'
>nv.c: At top level:
>nv.c:853: unknown field `unmap' specified in initializer
>nv.c:853: warning: initialization from incompatible pointer type
>make: *** [nv.o] Fehler 1
>Bad exit status from /var/tmp/rpm-tmp.37085 (%build)

You need to patch the Nvidia kernel driver to handle changes made in the 
2.4 tree. You can either:

1> Get on irc (Server: irc.openprojects.net, Channel #nvidia) and request 
the patch from there. (You need to be able to do DCC transfers for this to 
work). There is patches for 2.4.0-test1[0-3] and for 
2.4.0-[prerelease/final], so get what you need that way. The bot to request 
from is usually iCE-DCC, and you can request a list using '/msg iCE-DCC 
xdcc list' and request a file using eg: '/msg iCE-DCC xdcc send #10' (if 
you wanted file 10 that is).

2> Alternatively, if you e-mail me, I could probably forward you the patch 
or, if people don't mind too much, I could post it to the list (I'll wait 
for comments on this first!).

The patch is about 1k for test10, and about 3k for prerelease/final. 
Remember, this patches Nvidia's driver shim source code, and not the 
kernel. You could unpack the .src.rpm and add the patch to the compile 
process if you were really game, but I did it from the .tar.gz and it works 
fine for me. YMMV of course.

BTW: Common problem is that people complain that the make still gets 
includes wrong. Make sure you compile the kernel and it's modules 
completely. I compiled the kernel and modules, rebooted into the new 
kernel, and then compiled the Nvidia driver. The last step of Nvidia's make 
process (for the .tar.gz) is to actually insmod the driver to make sure it 
worked, which will probably fail on any other version of the kernel.

Of note: Nvidia have a new driver in the works, that should be much nicer 
re: kernel interface.

--
  -=[ Stuart Young (Aka Cefiar) ]=-------------------------------
  | http://amarok.glasswings.com.au/ | cefiar1@optushome.com.au |
  ---------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-06  3:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-05 21:07 bug of Nvidia (0.9.5) Drivers in 2.4 Kernel Enviroment Gregor Essers
2001-01-06  3:22 ` Cefiar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®