Neoprene
10-19-02, 04:04 PM
I never had any probelms installing NV drivers until now (OK one exception, the hardcoded 64 meg mem limit).
After up2date'ing my kernel in rh7.3 from 2.4.18-10 (where 3123 was working fine) to 2.4.18-17.7.x and then first trying to rpm -Uvh from rpm -rebuild src.rpm's, (which used to work fine with 2.4.18-10) I first cannot install the .src.rpm drivers NOR uninstall them.
I then download the .tar's and try to "make" them which "seems" to work, BUT upon reboot I get serious lockup (with Caps Lock and Scroll Lock LED's blinking on keyboard) and sometimes a spontaneous reboot when trying to boot kernel image 2.4.18-17.7.x.
If I boot with the "linux.bak" (2.4.18-10) it all works fine....
....until I try to reinstall the 3123 again. Then the "linux.bak" (2.4.18-10) will not work, but at least the systems returns to runlevel 3 and does not crash.
Here's my attempt to "compile" the NV driver with various log-files at the moment of crash:
[root@w1 NVIDIA_kernel-1.0-3123]# make >textfile
In file included from nv-linux.h:75, from nv.c:14:
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
In file included from nv-linux.h:75, from os-interface.c:25:
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
In file included from nv-linux.h:75, from os-registry.c:14:
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
[root@w1 NVIDIA_kernel-1.0-3123]#
(ouch!)
[root@w1 NVIDIA_kernel-1.0-3123]# cat textfile
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 -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-17.7.x/build/include -Wno-cast-qual nv.c
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 -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-17.7.x/build/include -Wno-cast-qual os-interface.c
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 -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-17.7.x/build/include -Wno-cast-qual os-registry.c
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
text data bss dec hex filename
894487 55476 52396 1002359 f4b77 NVdriver
NVdriver installed successfully.
(not really)
(I then downloaded the 2960 drivers which gave me the same results.)
The /var/log/XFree86.0.log last lines are:
...
(II) Module fbdevhw: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.0.2
ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "glx"
<end>
The /var/log/messages ends with :
...
Oct 18 18:10:45 w1 insmod: Warning: loading /lib/modules/2.4.18-17.7.x/kernel/drivers/video/NVdriver will taint the kernel: non-GPL license - NVIDIA
Oct 18 18:10:45 w1 insmod: See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Oct 18 18:10:45 w1 insmod: Module NVdriver loaded, with warnings
Oct 18 18:10:45 w1 kernel: nvidia: loading NVIDIA NVdriver Kernel Module 1.0-2960 Tue May 14 07:41:42 PDT 2002
Oct 18 18:12:18 w1 syslogd 1.4.1: restart.
...
GLX install reports no issues.
My system is an A7V333, 1800+, GF3-Ti200-128MB, nothing OC'd, rh7.3,
After up2date'ing my kernel in rh7.3 from 2.4.18-10 (where 3123 was working fine) to 2.4.18-17.7.x and then first trying to rpm -Uvh from rpm -rebuild src.rpm's, (which used to work fine with 2.4.18-10) I first cannot install the .src.rpm drivers NOR uninstall them.
I then download the .tar's and try to "make" them which "seems" to work, BUT upon reboot I get serious lockup (with Caps Lock and Scroll Lock LED's blinking on keyboard) and sometimes a spontaneous reboot when trying to boot kernel image 2.4.18-17.7.x.
If I boot with the "linux.bak" (2.4.18-10) it all works fine....
....until I try to reinstall the 3123 again. Then the "linux.bak" (2.4.18-10) will not work, but at least the systems returns to runlevel 3 and does not crash.
Here's my attempt to "compile" the NV driver with various log-files at the moment of crash:
[root@w1 NVIDIA_kernel-1.0-3123]# make >textfile
In file included from nv-linux.h:75, from nv.c:14:
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
In file included from nv-linux.h:75, from os-interface.c:25:
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
In file included from nv-linux.h:75, from os-registry.c:14:
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-17.7.x/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
[root@w1 NVIDIA_kernel-1.0-3123]#
(ouch!)
[root@w1 NVIDIA_kernel-1.0-3123]# cat textfile
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 -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-17.7.x/build/include -Wno-cast-qual nv.c
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 -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-17.7.x/build/include -Wno-cast-qual os-interface.c
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 -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-17.7.x/build/include -Wno-cast-qual os-registry.c
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
text data bss dec hex filename
894487 55476 52396 1002359 f4b77 NVdriver
NVdriver installed successfully.
(not really)
(I then downloaded the 2960 drivers which gave me the same results.)
The /var/log/XFree86.0.log last lines are:
...
(II) Module fbdevhw: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.0.2
ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "glx"
<end>
The /var/log/messages ends with :
...
Oct 18 18:10:45 w1 insmod: Warning: loading /lib/modules/2.4.18-17.7.x/kernel/drivers/video/NVdriver will taint the kernel: non-GPL license - NVIDIA
Oct 18 18:10:45 w1 insmod: See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Oct 18 18:10:45 w1 insmod: Module NVdriver loaded, with warnings
Oct 18 18:10:45 w1 kernel: nvidia: loading NVIDIA NVdriver Kernel Module 1.0-2960 Tue May 14 07:41:42 PDT 2002
Oct 18 18:12:18 w1 syslogd 1.4.1: restart.
...
GLX install reports no issues.
My system is an A7V333, 1800+, GF3-Ti200-128MB, nothing OC'd, rh7.3,