nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   NVGART with Redhat9 kernel 2.4.20-19.9. Possible? (http://www.nvnews.net/vbulletin/showthread.php?t=15798)

jfranzen 08-01-03 06:06 PM

NVGART with Redhat9 kernel 2.4.20-19.9. Possible?
 
Hello all. I've been searching for a way to get the AGP port of my Asus A7N-266VM board working under RH9 for a while now. I've gotten all the RPMs, SRPMS, tarballs, etc. However, since I am running the latest "official" RH9 kernel, 2.4.20-19.9, none of the binary RPMs apply, so I have to go with source. Now, I just went straight with the source tarball and upon doing a make, I get a ton of errors:

[root@target nforce]# make
make -C nvnet
make[1]: Entering directory `/root/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes
-DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-19.9/build/include -DMODVERSION
S -include /lib/modules/2.4.20-19.9/build/include/linux/modversions.h nvnet.c
In file included from /lib/modules/2.4.20-19.9/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-19.9/build/include/linux/list.h:6,
from /lib/modules/2.4.20-19.9/build/include/linux/module.h:12,
from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:60: warning: parameter names (without types) in function declaration
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:60: field `loops_per_jiffy_R_ver_str' declared as a function
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:83: invalid suffix on integer constant
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:83: parse error before numeric constant
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:83: warning: function declaration isn't a prototype
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:266: invalid suffix on integer constant
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:266: parse error before numeric constant
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:266: warning: function declaration isn't a prototype
/lib/modules/2.4.20-19.9/build/include/asm/processor.h:270: warning: parameter names (without types) in function declaration
In file included from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.4.20-19.9/build/include/linux/module.h:183: invalid suffix on integer constant
/lib/modules/2.4.20-19.9/build/include/linux/module.h:183: parse error before numeric constant
/lib/modules/2.4.20-19.9/build/include/linux/module.h:183: `inter_module_register_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-19.9/build/include/linux/module.h:183: warning: function declaration isn't a prototype
/lib/modules/2.4.20-19.9/build/include/linux/module.h:184: invalid suffix on integer constant
/lib/modules/2.4.20-19.9/build/include/linux/module.h:184: parse error before numeric constant
/lib/modules/2.4.20-19.9/build/include/linux/module.h:184: `inter_module_unregister_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-19.9/build/include/linux/module.h:184: warning: function declaration isn't a prototype
/lib/modules/2.4.20-19.9/build/include/linux/module.h:185: `inter_module_get_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-19.9/build/include/linux/module.h:185: warning: parameter names (without types) in function declaration
/lib/modules/2.4.20-19.9/build/include/linux/module.h:186: `inter_module_get_request_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-19.9/build/include/linux/module.h:186: warning: parameter names (without types) in function declaration
/lib/modules/2.4.20-19.9/build/include/linux/module.h:187: invalid suffix on integer constant
/lib/modules/2.4.20-19.9/build/include/linux/module.h:187: parse error before numeric constant
/lib/modules/2.4.20-19.9/build/include/linux/module.h:187: `inter_module_put_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-19.9/build/include/linux/module.h:187: warning: function declaration isn't a prototype
/lib/modules/2.4.20-19.9/build/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-19.9/build/include/linux/module.h:196: warning: parameter names (without types) in function declaration
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/root/nforce/nvnet'
make: *** [nvnet_make] Error 2

Yes, I do have the kernel source installed. And I remember being able to compile when I first installed RH9, when the kernel was 2.4.20-8. So, what's the scoop here? Are the nforce drivers not compatible with this kernel rev.? Am I missing something painfully obvious? Or am I SOL? I'd planned on making this system a freevo system, but I need to use a ATI AIW card for that, and in order to use the AIW, I have to be able to use the AGP port. And since I can't compile the source from nvidia, I can't use the kernel patch.

I've searched all the usual suspects for help and can't seem to find anyone using RH9's 2.4.20-19.9 kernel with an nforce mobo. Could someone please guide this poor lost wannabe to enlightenment? Thanks,

J^2

bahamot 08-01-03 09:18 PM

AFAIK the newest kernel of rh9 can't be compiled with nforce driver

jfranzen 08-02-03 03:16 PM

[SIGH]
 
That's what I was afraid of... I don't suppose anyone's heard rumors about when the next release will be? Thanks for the info at any rate! Later,

J^2

jfranzen 08-04-03 11:21 PM

Nuts...
 
So, I completely blew away the old install and reinstalled RH9. Now, when I try to compile a new kernel with the AGP patch, I get:

In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
from agpgart_be.c:34:
/usr/src/linux-2.4.20-8/include/asm/processor.h:267:1: warning: this is the location of the previous definition
agpgart_be.c: In function `nvidia_generic_setup':
agpgart_be.c:4347: structure has no member named `num_of_masks'
make[4]: *** [agpgart_be.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/char/agp'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/char/agp'
make[2]: *** [_subdir_agp] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/drivers'
make: *** [_dir_drivers] Error 2

Now, this is referrencing Nvidia's own code. So, does this mean I'm SOL? I did a full install and used the .tar.gz from nvidia's site...

Argh.

J^2

jfranzen 08-11-03 09:35 PM

Update
 
Just to update this, according to nvidia, the patch can only be applied to the standard kernel downloaded off of kernel.org. Due to the patches applied by the distributors, nvidia can/will not support any kernel other then the standard one... Bugger...

J^2

Cao 08-22-03 11:54 AM

Seems like RedHat 2.4.20-8 kernel uses 2.4.21 AGP code. Please try it with the patch for 2.4.21 and it should work.


All times are GMT -5. The time now is 02:35 AM.

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