I have a Debian/Woody/Stable system with a NVIDIA XFX FX-5200 card installed in the AGP slot. I am running 2.4.25 in smp mode compiled from source in the /usr/src/linux-2.4.25 directory. A backported "top" program and other ways reveals that the system is running fine in hyperthreaded mode (simulating 4 processors).
I have tried to install the 5336-pkg1 both with the nvidia-installer and with the "make install" from source. Both ways will not allow the driver to run due to an unresolved reference to smp_num_cpus. I have already tried all the options available to for the installer to recognize the correct source directory. Indeed, the driver compiles correctly, but will not link to the reference (or it is not found on the compile step). Please help fix this problem. Attached is the /var/log/nvidia-installer.log nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Apr 6 15:39:51 2004 option status: license pre-accepted : false update : false force update : false expert : true 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 source path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com chdir("./") Using: nvidia-installer ncurses user interface -> Searching for system utilities: -> found `insmod` : `/sbin/insmod` -> found `modprobe` : `/sbin/modprobe` -> found `rmmod` : `/sbin/rmmod` -> found `lsmod` : `/sbin/lsmod` -> found `depmod` : `/sbin/depmod` -> found `ldconfig` : `/sbin/ldconfig` -> found `ld` : `/usr/bin/ld` -> found `objcopy` : `/usr/bin/objcopy` -> License accepted. -> Kernel module installation path (Answer: '/lib/modules/2.4.25/kernel/drivers/video ') -> Kernel module installation path: /lib/modules/2.4.25/kernel/drivers/video -> 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: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Kernel source path (Answer: '/usr/src/linux-2.4.25/ ') -> Kernel source path: '/usr/src/linux-2.4.25/' -> Performing cc_version_check with CC="cc". -> 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 module SYSSRC=/usr/src/linux-2.4.25/'... echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/usr/src/linux-2.4.25//include -Wno-cast-qual -Wno-error nv.c In file included from /usr/src/linux-2.4.25/include/linux/vmalloc.h:8, from nv-linux.h:62, from nv.c:14: /usr/src/linux-2.4.25/include/linux/highmem.h: In function `bh_kmap': /usr/src/linux-2.4.25/include/linux/highmem.h:20: warning: pointer of type ` void *' used in arithmetic cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/usr/src/linux-2.4.25//include -Wno-cast-qual -Wno-error os-a gp.c In file included from /usr/src/linux-2.4.25/include/linux/vmalloc.h:8, from nv-linux.h:62, from os-agp.c:24: /usr/src/linux-2.4.25/include/linux/highmem.h: In function `bh_kmap': /usr/src/linux-2.4.25/include/linux/highmem.h:20: warning: pointer of type ` void *' used in arithmetic cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/usr/src/linux-2.4.25//include -Wno -cast-qual -Wno-error os-interface.c In file included from /usr/src/linux-2.4.25/include/linux/vmalloc.h:8, from nv-linux.h:62, from os-interface.c:26: /usr/src/linux-2.4.25/include/linux/highmem.h: In function `bh_kmap': /usr/src/linux-2.4.25/include/linux/highmem.h:20: warning: pointer of type ` void *' used in arithmetic cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/usr/src/linux-2.4.25//include -Wno-cast-qual -Wno-error os-r egistry.c In file included from /usr/src/linux-2.4.25/include/linux/vmalloc.h:8, from nv-linux.h:62, from os-registry.c:14: /usr/src/linux-2.4.25/include/linux/highmem.h: In function `bh_kmap': /usr/src/linux-2.4.25/include/linux/highmem.h:20: warning: pointer of type ` void *' used in arithmetic ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o ld -r -o nvidia.o nv-linux.o nv-kernel.o -> done. -> Kernel module compilation complete. executing: '/sbin/insmod ./usr/src/nv/nvidia.o silence_nvidia_output=1'... ./usr/src/nv/nvidia.o: unresolved symbol smp_call_function ./usr/src/nv/nvidia.o: unresolved symbol smp_num_cpus ./usr/src/nv/nvidia.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. ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option. 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. -- James D. Freels, Ph.D. Oak Ridge National Laboratory [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]