Onboard nForce network card not recognized in RedHat 9
My mainboard is BioStar M7NCD (nFORCE2)
Network: (Onboard) MCP NVIDIA MAC + Realtek RTL8201BL PHY Linux kernel: 2.4.20-8 Drivers download from NVIDIA is compiled for kernel 2.4.20.6 and 2.4.20.9 ,which cannot be actived in current kernel. I recompiled the .src.rpm file , and got the error below ************************************************************ [root@localhost nforce]# make make -C nvnet make[1]: Entering directory `/mnt/backup/system/drivers/lan/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 nvnet.c In file included from /lib/modules/2.4.20-8/build/include/linux/config.h:4, from /lib/modules/2.4.20-8/build/include/linux/module.h:10, from nvnet.h:20, from nvnet.c:21: /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace In file included from /lib/modules/2.4.20-8/build/include/linux/module.h:21, from nvnet.h:20, from nvnet.c:21: /usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers, /usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package. /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include /usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel. In file included from /lib/modules/2.4.20-8/build/include/linux/module.h:25, from nvnet.h:20, from nvnet.c:21: /usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in userland program. BAD! In file included from /lib/modules/2.4.20-8/build/include/linux/dcache.h:7, from /lib/modules/2.4.20-8/build/include/linux/fs.h:19, from /lib/modules/2.4.20-8/build/include/linux/capability.h:17, from /lib/modules/2.4.20-8/build/include/linux/binfmts.h:4, from /lib/modules/2.4.20-8/build/include/linux/sched.h:10, from nvnet.h:23, from nvnet.c:21: /lib/modules/2.4.20-8/build/include/linux/mount.h: In function `mntget': /lib/modules/2.4.20-8/build/include/linux/mount.h:37: warning: implicit declaration of function `atomic_inc' /lib/modules/2.4.20-8/build/include/linux/mount.h: In function `mntput': /lib/modules/2.4.20-8/build/include/linux/mount.h:46: warning: implicit declaration of function `atomic_dec_and_test' In file included from /lib/modules/2.4.20-8/build/include/linux/fs.h:26, from /lib/modules/2.4.20-8/build/include/linux/capability.h:17, from /lib/modules/2.4.20-8/build/include/linux/binfmts.h:4, from /lib/modules/2.4.20-8/build/include/linux/sched.h:10, from nvnet.h:23, from nvnet.c:21: /usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures. /usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed In file included from /lib/modules/2.4.20-8/build/include/linux/ext3_fs_i.h:19, from /lib/modules/2.4.20-8/build/include/linux/fs.h:298, from /lib/modules/2.4.20-8/build/include/linux/capability.h:17, from /lib/modules/2.4.20-8/build/include/linux/binfmts.h:4, from /lib/modules/2.4.20-8/build/include/linux/sched.h:10, from nvnet.h:23, from nvnet.c:21: /lib/modules/2.4.20-8/build/include/linux/rwsem.h: In function `down_read': /lib/modules/2.4.20-8/build/include/linux/rwsem.h:46: warning: implicit declaration of function `__down_read' /lib/modules/2.4.20-8/build/include/linux/rwsem.h: In function `down_read_trylock': /lib/modules/2.4.20-8/build/include/linux/rwsem.h:57: warning: implicit declaration of function `__down_read_trylock' /lib/modules/2.4.20-8/build/include/linux/rwsem.h: In function `down_write': /lib/modules/2.4.20-8/build/include/linux/rwsem.h:68: warning: implicit declaration of function `__down_write' /lib/modules/2.4.20-8/build/include/linux/rwsem.h: In function `down_write_trylock': /lib/modules/2.4.20-8/build/include/linux/rwsem.h:79: warning: implicit declaration of function `__down_write_trylock' /lib/modules/2.4.20-8/build/include/linux/rwsem.h: In function `up_read': /lib/modules/2.4.20-8/build/include/linux/rwsem.h:90: warning: implicit declaration of function `__up_read' /lib/modules/2.4.20-8/build/include/linux/rwsem.h: In function `up_write': /lib/modules/2.4.20-8/build/include/linux/rwsem.h:100: warning: implicit declaration of function `__up_write' In file included from /lib/modules/2.4.20-8/build/include/linux/fs.h: |
When you say you recompiled the source code, did you download the correct package for your kernel? The error at the top says it is for the 2.4.20-6 or 2.4.20-9, when you are running the 2.4.20-8.
|
There is no pakage for my kernel , or i could just install the rpm.
So i have to recompile the source file, and met the problems above. What is wrong? Thanx! |
All times are GMT -5. The time now is 04:59 AM. |