View Single Post
Old 09-17-04, 11:27 AM   #10
Clockworthy
Registered User
 
Join Date: Sep 2004
Posts: 1
Unhappy Re: NVIDIA NIC driver installation problems in Suse 9.0

I was using Loth's solution and when I was rebuilding the rpm file I got errors so it did not compile.

I am running SuSE 9.0 Server, with a BioStar M7NCG mother board.
Make 3.80
kernel-source-2.4.21-243.i586.rpm


Here is the output from the rpmbuild --rebuild NVIDIA_nforce-1.0-0261.src.rpm:

Beast:/home/bennettt/Desktop # rpmbuild --rebuild NVIDIA_nforce-1.0-0261.src.rpm
Installing NVIDIA_nforce-1.0-0261.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.13884
+ umask 022
+ cd /usr/src/packages/BUILD
+ echo '---- Copying Sources ----'
---- Copying Sources ----
+ cd /usr/src/packages/BUILD
+ rm -rf nforce
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvnet.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 14:36:14 nforce/
drwxr-xr-x buildmeister/adm 0 2003-05-06 14:39:37 nforce/nvnet/
-r--r--r-- buildmeister/adm 16904 2003-05-06 14:39:37 nforce/nvnet/adapter.h
-r--r--r-- buildmeister/adm 794 2003-05-06 14:39:37 nforce/nvnet/basetype.h
-r--r--r-- buildmeister/adm 6752 2003-05-06 14:39:37 nforce/nvnet/nvnet.h
-r--r--r-- buildmeister/adm 4437 2003-05-06 14:39:37 nforce/nvnet/os.h
-r--r--r-- buildmeister/adm 4749 2003-05-06 14:39:37 nforce/nvnet/phy.h
-r--r--r-- buildmeister/adm 37870 2003-05-06 14:39:37 nforce/nvnet/nvnet.c
-rw-r--r-- buildmeister/adm 21504 2003-05-06 14:39:37 nforce/nvnet/nvnetlib.o
-r--r--r-- buildmeister/adm 3088 2003-05-06 14:39:37 nforce/nvnet/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvaudio.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 14:39:38 nforce/
drwxr-xr-x buildmeister/adm 0 2003-05-06 14:39:38 nforce/nvaudio/
-r--r--r-- buildmeister/adm 2522 2003-05-06 14:39:38 nforce/nvaudio/Makefile
-r--r--r-- buildmeister/adm 58241 2003-05-06 14:39:38 nforce/nvaudio/nvcrush.c
-r--r--r-- buildmeister/adm 32174 2003-05-06 14:39:38 nforce/nvaudio/nvhw.c
-r--r--r-- buildmeister/adm 33857 2003-05-06 14:39:38 nforce/nvaudio/nvmain.c
-r--r--r-- buildmeister/adm 8314 2003-05-06 14:39:38 nforce/nvaudio/nvrec.c
-r--r--r-- buildmeister/adm 26382 2003-05-06 14:39:38 nforce/nvaudio/nvspdif.c
-r--r--r-- buildmeister/adm 14709 2003-05-06 14:39:38 nforce/nvaudio/nvwavout.c
-r--r--r-- buildmeister/adm 4546 2003-05-06 14:39:38 nforce/nvaudio/chaninfo.h
-r--r--r-- buildmeister/adm 5065 2003-05-06 14:39:38 nforce/nvaudio/nvhw.h
-r--r--r-- buildmeister/adm 1570 2003-05-06 14:39:38 nforce/nvaudio/nvioctl.h
-r--r--r-- buildmeister/adm 1392 2003-05-06 14:39:38 nforce/nvaudio/nvrec.h
-r--r--r-- buildmeister/adm 1618 2003-05-06 14:39:38 nforce/nvaudio/nvspdif.h
-r--r--r-- buildmeister/adm 1499 2003-05-06 14:39:38 nforce/nvaudio/nvwavout.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvmaster.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 14:39:36 nforce/
-r--r--r-- buildmeister/adm 1091 2003-05-06 14:39:36 nforce/Makefile
-r--r--r-- buildmeister/adm 5404 2003-05-06 14:39:36 nforce/NVLicense.txt
-r--r--r-- buildmeister/adm 18007 2003-05-06 14:39:36 nforce/GNULicense.txt
-r--r--r-- buildmeister/adm 23612 2003-05-06 14:39:36 nforce/ReleaseNotes.html
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nvgart.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 14:39:38 nforce/
drwxr-xr-x buildmeister/adm 0 2003-05-06 14:39:38 nforce/nvgart/
-r--r--r-- buildmeister/adm 590 2003-05-06 14:39:38 nforce/nvgart/Makefile
-r--r--r-- buildmeister/adm 1231 2003-05-06 14:39:38 nforce/nvgart/README
-r--r--r-- buildmeister/adm 14033 2003-05-06 14:39:38 nforce/nvgart/linux-2.4.20-agpgart.diff
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.13884
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd nforce
+ echo '---- Building Drivers ----'
---- Building Drivers ----
+ make
make -C nvnet
make[1]: Entering directory `/usr/src/packages/BUILD/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.21-183-athlon/build/include nvnet.c
In file included from /usr/include/linux/module.h:20,
from nvnet.h:20,
from nvnet.c:21:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from /usr/include/linux/irq.h:19,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from nvnet.h:30,
from nvnet.c:21:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from nvnet.h:30,
from nvnet.c:21:
/usr/include/linux/irq.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:67: error: requested alignment is not a constant
/usr/include/linux/irq.h:69: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:71,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from nvnet.h:30,
from nvnet.c:21:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/interrupt.h:10,
from nvnet.h:30,
from nvnet.c:21:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from nvnet.h:31,
from nvnet.c:21:
/usr/include/linux/version.h:2:2: #error "================================================= ======"
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: #error " - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: #error " - make mrproper"
/usr/include/linux/version.h:25:2: #error " - make cloneconfig"
/usr/include/linux/version.h:26:2: #error " - make dep"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:29:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:30:2: #error ""
/usr/include/linux/version.h:31:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:32:2: #error ""
/usr/include/linux/version.h:33:2: #error " instead of"
/usr/include/linux/version.h:34:2: #error ""
/usr/include/linux/version.h:35:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:36:2: #error ""
/usr/include/linux/version.h:37:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:38:2: #error "================================================= ======"
In file included from /usr/include/linux/mm.h:205,
from /usr/include/asm/pci.h:7,
from /usr/include/linux/pci.h:677,
from nvnet.h:32,
from nvnet.c:21:
/usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a constant
In file included from nvnet.h:35,
from nvnet.c:21:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/netdevice.h:165: error: requested alignment is not a constant
nvnet.c:40:41: missing binary operator before token "("
nvnet.c: In function `nvnet_open':
nvnet.c:735: warning: passing arg 2 of `request_irq' from incompatible pointer type
nvnet.c: In function `nvnet_remove':
nvnet.c:1248: error: structure has no member named `driver_data'
nvnet.c:1284:41: missing binary operator before token "("
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvnet'
make: *** [nvnet_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.13884 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.13884 (%build)
----------------------------

Also:
I tryed to use the "modprobe nvnet" command and got this output:
Beast:/lib # modprobe nvnet
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: unresol
ved symbol __netdev_watchdog_up_Ra7000325
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: unresol ved symbol eth_type_trans_Rd36c0dd3
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: unresol ved symbol skb_over_panic_R9ee181c3
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: unresol ved symbol softnet_data_R6d8f9943
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: unresol ved symbol netif_rx_Rfadb88b1
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: unresol ved symbol alloc_skb_Rdee41f6c
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: unresol ved symbol __kfree_skb_Raebda71a
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: insmod /lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o failed
/lib/modules/2.4.21-override-athlon/kernel/drivers/net/nvnet.o: insmod
---------------------------------------
If anyone has anyideas on how I can get my NIC to work I would greatly appreciate it.

Thanks
Clockworthy is offline   Reply With Quote