Running RedHat 9.0
Kernel 2.4.20-8
Onboard GFX, NIC and everything else.
I were going to get myself the nforce drivers I need to set up my lan. So in my blissfull newbieness I get the RPM' install them and find that they don't work. I run "modprobe nvnet" nothing, I run "insmod nvnet" nothing. And when I tried to uninstall the RPM's I get a bash telling me that the package is not installed. And yes I am root while doing this. I have some suspicions towards the key end of the keyboard, if you know what I'm saying.
So I figure the tar.gz should work. I download it and try to make(and I'm annoyed that there's no ./configure) I get a dungload of error.
Code:
[root@localhost nforce]# make
make -C nvnet
make[1]: Entering directory `/home/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-8/build/include -DMODVERSIONS -include
/lib/modules/2.4.20-8/build/include/linux/modversions.h nvnet.c
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.4.20-8/build/include/asm/processor.h:60: warning: parameter
names (without types) in function declaration
/lib/modules/2.4.20-8/build/include/asm/processor.h:60: field
`loops_per_jiffy_R_ver_str' declared as a function
/lib/modules/2.4.20-8/build/include/asm/processor.h:82: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:82: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:82: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/asm/processor.h:265: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:265: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:265: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/asm/processor.h:269: warning: parameter
names (without types) in function declaration
In file included from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.4.20-8/build/include/linux/module.h:183: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/module.h:183: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:183: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/module.h:184: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/module.h:184: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:184: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:185: warning: parameter
names (without types) in function declaration
/lib/modules/2.4.20-8/build/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as function returning a
function
/lib/modules/2.4.20-8/build/include/linux/module.h:186: warning: parameter
names (without types) in function declaration
/lib/modules/2.4.20-8/build/include/linux/module.h:187: invalid suffix on
integer constant
/lib/modules/2.4.20-8/build/include/linux/module.h:187: parse error before
numeric constant
/lib/modules/2.4.20-8/build/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:187: warning: function
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:196: warning: parameter
names (without types) in function declaration
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/home/nforce/nvnet'
make: *** [nvnet_make] Error 2
Well then, I aska experienced friend of mine about this. He can't really figure it out either, but he figures it's just a small problem, but that it leads to more and more trouble. And then I get his nvnet.o file, since that's the one I am lacking, and since I already got a different file from him which worked like a charm. I put it in the appropriate location (/lib/modules/2.4.20-8/kernel/drivers/net/nvnet.o) change it's ownership to root and modprobe it. Still no good. I run insmod and it tells me that loading the module will taint my system.
If I had the money I would've just went and bought myself a new NIC, but I don't have the money so. *shrug*
What do you think is wrong?
Thanks for helping a
^_^
EDIT - Fixed some long lines that made the borders stretch,