PDA

View Full Version : RH 8.0.94 + NVidia_kernel


Xerp
03-23-03, 08:55 AM
System:
2.4.20-2.48 #1 Thu Feb 13 11:52:40 EST 2003 i686 athlon i386 GNU/Linux

Problem:

[root@rebel-base NVIDIA_kernel-1.0-4191]# make
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.20-2.48/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-2.48/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from nv.c:14:
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1282: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1282: too few arguments to function `remap_page_range_R839d959e'
nv.c:1301: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1301: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1301: too few arguments to function `remap_page_range_R839d959e'
nv.c:1387: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1387: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1387: too few arguments to function `remap_page_range_R839d959e'
nv.c: In function `nv_get_phys_address':
nv.c:2250: warning: implicit declaration of function `pte_offset'
nv.c:2250: invalid type argument of `unary *'
make: *** [nv.o] Error 1

So Far:

As far as I understand, its a problem with needing a pte_offset_map() with a corresponding pte_unmap().

I haven't been able to get a working diff to help a non C-coder like myself to get this working... :-(

Can anyone here help?

Tx

bwkaz
03-23-03, 10:18 AM
Search results in this forum for "phoebe", including a HOWTO for it written by ppieti, who has gotten it to sort-of-work -- at least with an older beta:

http://www.nvnews.net/vbulletin/search.php?s=&action=showresults&searchid=85062&sortby=lastpost&sortorder=descending

Xerp
03-23-03, 03:07 PM
Fantastic. Cheers. I'd been searching using terms relating to the error message. That explain why I couldn't find anything t start with :-)

bwkaz
03-23-03, 04:28 PM
:)