NVIDIA 4363 and 2.4.21-4-Athlon Kernel compile error
I am having a problem installing the NVIDIA drivers on SuSE 8.2 with kernel 2.4.21-4-Athlon. The automatic installer errors out on the build of nv.c. I have provided the nvidia-installer.log file. Also, I have done the following to at least get the installer to recognize my kernel: # cp /boot/vmlinuz-2.4.21-4-athlon.autoconf.h /usr/src/linux/include/linux/autoconf.h # cp /boot/vmlinuz-2.4.21-4-athlon.version.h /usr/src/linux/include/linux/version.h # cp /boot/vmlinuz-2.4.21-4-athlon.config /usr/src/linux/.config Any help would be appreciated. Thanks! NeoFax nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sun Jul 6 10:28:49 2003 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel include path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> There appears to already be a driver installed on your system (version: 1.0- 4363). As part of installing this driver (version: 1.0-4363), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will a bort installation) (Answer: Yes) -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. -> Kernel include path: '/lib/modules/2.4.21-4-athlon/build/include' -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h * .d NVdriver nvidia.o -> Building kernel module: executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.21-4- athlon/build/include'... echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ - DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_ _KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE L=4363 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PA GE_RANGE_4 -I. -I/lib/modules/2.4.21-4-athlon/build/include -Wno-cast-qual nv.c In file included from /lib/modules/2.4.21-4-athlon/build/include/linux/vmall oc.h:8, from nv-linux.h:72, from nv.c:14: /lib/modules/2.4.21-4-athlon/build/include/linux/highmem.h: In function `bh_ kmap': /lib/modules/2.4.21-4-athlon/build/include/linux/highmem.h:23: warning: poin ter of type `void *' used in arithmetic In file included from nv.c:14: nv-linux.h: In function `calc_order': nv-linux.h:262: warning: comparison between signed and unsigned nv.c: In function `nvos_set_primary_card': nv.c:173: warning: comparison between signed and unsigned nv.c:174: warning: comparison between signed and unsigned nv.c: In function `nvl_find_alloc': nv.c:670: warning: comparison between signed and unsigned nv.c: In function `nv_kern_mmap': nv.c:1291: warning: comparison between signed and unsigned nv.c:1310: warning: comparison between signed and unsigned nv.c:1337: warning: comparison between signed and unsigned nv.c:1384: warning: comparison between signed and unsigned nv.c: In function `nv_find_kernel_mapping': nv.c:2085: warning: comparison between signed and unsigned nv.c:2091: error: `vmalloc_reserve' undeclared (first use in this function) nv.c:2091: error: (Each undeclared identifier is reported only once nv.c:2091: error: for each function it appears in.) nv.c: In function `nv_find_agp_kernel_mapping': nv.c:2148: warning: comparison between signed and unsigned nv.c: In function `nv_alloc_pages': nv.c:2317: warning: comparison between signed and unsigned nv.c:2345: warning: comparison between signed and unsigned make: *** [nv.o] Error 1 -> Error. ERROR: Unable to build the NVIDIA kernel module. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
On Sun, 2003-07-06 at 11:41, Terry Milnes wrote:
I am having a problem installing the NVIDIA drivers on SuSE 8.2 with kernel 2.4.21-4-Athlon. The automatic installer errors out on the build of nv.c. I have provided the nvidia-installer.log file. Also, I have done the following to at least get the installer to recognize my kernel:
# cp /boot/vmlinuz-2.4.21-4-athlon.autoconf.h /usr/src/linux/include/linux/autoconf.h # cp /boot/vmlinuz-2.4.21-4-athlon.version.h /usr/src/linux/include/linux/version.h # cp /boot/vmlinuz-2.4.21-4-athlon.config /usr/src/linux/.config
Any help would be appreciated. Thanks!
NeoFax
______________________________________________________________________ Not any real help, but I also could not get the NVIDIA drivers to work with the athlon kernel 2.4.21. Reverted back to kernel 2.4.20 and the NVIDIA drivers 4363 and 4365 both work fine.
The NVIDIA 4363 drivers installed quite well though the installer did compile a driver to match the kernel. The NVIDIA 4365 were even easier to install (no compiling), the installer added the new driver, then go to sax2, then startx. I have not tried the NVIDIA 4365 drivers with the athlon kernel 2.4.21. ps the new NVIDIA driver is not on the nvidia web page ftp://download.nvidia.com/XFree86/Quadro_Certified/1.0-4365/ -- Ralph Sanford - If your government does not trust you, rsanford@telusplanet.net - should you trust your government? DH/DSS Key - 0x7A1BEA01
I was use athlon kernel with nvidia drivers and its works very good.i download nvidia drivers using YOU and installs and works fine!!
On 07 Jul 2003 19:20:41 -0600
Ralph Sanford
On Sun, 2003-07-06 at 11:41, Terry Milnes wrote:
I am having a problem installing the NVIDIA drivers on SuSE 8.2 with kernel 2.4.21-4-Athlon. The automatic installer errors out on the build of nv.c. I have provided the nvidia-installer.log file. Also, I have done the following to at least get the installer to recognize my kernel:
# cp /boot/vmlinuz-2.4.21-4-athlon.autoconf.h /usr/src/linux/include/linux/autoconf.h # cp /boot/vmlinuz-2.4.21-4-athlon.version.h /usr/src/linux/include/linux/version.h # cp /boot/vmlinuz-2.4.21-4-athlon.config /usr/src/linux/.config
Any help would be appreciated. Thanks!
NeoFax
______________________________________________________________________ Not any real help, but I also could not get the NVIDIA drivers to work with the athlon kernel 2.4.21. Reverted back to kernel 2.4.20 and the NVIDIA drivers 4363 and 4365 both work fine.
The NVIDIA 4363 drivers installed quite well though the installer did compile a driver to match the kernel. The NVIDIA 4365 were even easier to install (no compiling), the installer added the new driver, then go to sax2, then startx.
I have not tried the NVIDIA 4365 drivers with the athlon kernel 2.4.21.
ps the new NVIDIA driver is not on the nvidia web page ftp://download.nvidia.com/XFree86/Quadro_Certified/1.0-4365/
-- Ralph Sanford - If your government does not trust you, rsanford@telusplanet.net - should you trust your government?
DH/DSS Key - 0x7A1BEA01
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Kenny wrote:
I was use athlon kernel with nvidia drivers and its works very good.i download nvidia drivers using YOU and installs and works fine!!
On 07 Jul 2003 19:20:41 -0600 Ralph Sanford
wrote: On Sun, 2003-07-06 at 11:41, Terry Milnes wrote:
I am having a problem installing the NVIDIA drivers on SuSE 8.2 with kernel 2.4.21-4-Athlon. The automatic installer errors out on the build of nv.c. I have provided the nvidia-installer.log file. Also, I have done the following to at least get the installer to recognize my kernel:
# cp /boot/vmlinuz-2.4.21-4-athlon.autoconf.h /usr/src/linux/include/linux/autoconf.h # cp /boot/vmlinuz-2.4.21-4-athlon.version.h /usr/src/linux/include/linux/version.h # cp /boot/vmlinuz-2.4.21-4-athlon.config /usr/src/linux/.config
Any help would be appreciated. Thanks!
NeoFax
______________________________________________________________________
Not any real help, but I also could not get the NVIDIA drivers to work with the athlon kernel 2.4.21. Reverted back to kernel 2.4.20 and the NVIDIA drivers 4363 and 4365 both work fine.
The NVIDIA 4363 drivers installed quite well though the installer did compile a driver to match the kernel. The NVIDIA 4365 were even easier to install (no compiling), the installer added the new driver, then go to sax2, then startx.
I have not tried the NVIDIA 4365 drivers with the athlon kernel 2.4.21.
ps the new NVIDIA driver is not on the nvidia web page ftp://download.nvidia.com/XFree86/Quadro_Certified/1.0-4365/
-- Ralph Sanford - If your government does not trust you, rsanford@telusplanet.net - should you trust your government?
DH/DSS Key - 0x7A1BEA01
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I can get the drivers to work with the 2.4.20-4GB-athlon. However, as stated in my question, the 4363 drivers will not compile on the 2.4.21-4-athlon kernel. Here is the output that I get when trying to compile the drivers: nv.c:2085: warning: comparison between signed and unsigned nv.c:2091: error: `vmalloc_reserve' undeclared (first use in this function) nv.c:2091: error: (Each undeclared identifier is reported only once nv.c:2091: error: for each function it appears in.) nv.c: In function `nv_find_agp_kernel_mapping': nv.c:2148: warning: comparison between signed and unsigned nv.c: In function `nv_alloc_pages': nv.c:2317: warning: comparison between signed and unsigned nv.c:2345: warning: comparison between signed and unsigned make: *** [nv.o] Error 1 I have used everything that I know to get these drivers to work. NeoFax
Hi, look in archives (geocrawler, marc.theaimsgroup.com) of the mailing list suse-linux@suse.com for the thread "Re: nvidia 4363 unter Kernel 2.4.21". There you'll find two workarounds/fixes. Ré
René Matthäi wrote:
Hi,
look in archives (geocrawler, marc.theaimsgroup.com) of the mailing list suse-linux@suse.com for the thread "Re: nvidia 4363 unter Kernel 2.4.21". There you'll find two workarounds/fixes.
Ré
Thanks for the help. I was having a hard time translating the German. (I should have been able to read it, since I lived there for 6 years) The patch file works great for the 4363 drivers, but I could not get it to work for the 4365 drivers. Now, how do I get 3D enabled? When I try it says 3d can not be enabled on a multiscreen setup. I have a NVIDIA GeForce 2 MX 440 and a ATI All in Wonder Pro setup on two different screens so I can watch TV and play games at the same time. NeoFax
Hi, Terry Milnes schrieb:
Thanks for the help. I was having a hard time translating the German. (I should have been able to read it, since I lived there for 6 years) The patch file works great for the 4363 drivers, but I could not get it to work for the 4365 drivers. Now, how do I get 3D enabled? When I try it says 3d can not be enabled on a multiscreen setup. I have a NVIDIA GeForce 2 MX 440 and a ATI All in Wonder Pro setup on two different screens so I can watch TV and play games at the same time.
Sorry, I have no idea about multiscreen setups. Ré
participants (4)
-
Kenny
-
Ralph Sanford
-
René Matthäi
-
Terry Milnes