View Single Post
Old 03-28-05, 03:24 PM   #1
jonjgc
Registered User
 
Join Date: Mar 2005
Posts: 5
Default 1.0-7167 RHEL 3 x86_64 unresolved symbols

At the end I've included a lot of the output from an
nvidia-installer log. I've cut out a lot of redundant
info and added a few comments with leading "#### " strings.
Sorry for the length despite my editing.

Trying to get an Quadro card working with nvidia drivers
rather than simply a vesa driver.

OS is RHEL 3, WS version Update 2 for x86_64 processors

System is dual EM64T capable Xeons in a Dell 670n workstation

Graphics card is a Quadro FX 3400.

I'm attempting to build the drivers that were released on 3/11
as version 1.0-7167, although I've gotten virtually identical
results when using the earlier version.

Because the installer does not find a precompiled driver for
my system I run the installer with options to point it to the
source code tree for my OS. Thinking there might be something
work with the kernel source tree, I've deleted the rpm's and
reinstalled them with the same nvidia-installer errors.

When I run the installer it produces the nvidia.o module, but
upon installing it into the kernel there are tons of unresolved
references.

Perhaps someone has seen similar results and will probably point
me to a silly error on my part.


#### The edited logfile

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Mar 23 10:26:16 2005

option status:
license pre-accepted : true
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
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : /usr/src/linux-2.4.21-15.EL
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> 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.
-> Using the kernel source path '/usr/src/linux-2.4.21-15.EL' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.4.21-15.EL'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing change_page_attr() check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_comp
iler.h *.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.4.21-15.EL
SYSOUT=/usr/src/linux-2.4.21-15.EL'...
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 -fno-common -mno-red-
zone -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAM
ES -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -
DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DN
V_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86_64 -DNV_64_BITS -DNV_REMA
P_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE
_PRESENT -DNV_VMAP_4_PRESENT -I. -I/usr/src/linux-2.4.21-15.EL/include -Wsi
gn-compare -Wno-cast-qual -Wno-error nv.c
In file included from /usr/src/linux-2.4.21-15.EL/include/linux/poll.h:11,
from nv-linux.h:58,
from nv.c:14:
/usr/src/linux-2.4.21-15.EL/include/asm/uaccess.h: In function `__copy_from_
user':
/usr/src/linux-2.4.21-15.EL/include/asm/uaccess.h:257: warning: pointer of t
ype `void *' used in arithmetic
/usr/src/linux-2.4.21-15.EL/include/asm/uaccess.h:257: warning: pointer of t
ype `void *' used in arithmetic
/usr/src/linux-2.4.21-15.EL/include/asm/uaccess.h:262: warning: pointer of t
ype `void *' used in arithmetic
/usr/src/linux-2.4.21-15.EL/include/asm/uaccess.h:262: warning: pointer of t
ype `void *' used in arithmetic
...

################################################## #################
#### Same compile and warning was logged for each of these source files:
#### nv.c
#### nv-vm.c
#### os-agp.c
#### os-interface.c
#### #### #### #### #### #### #### #### #### os-registry.c
################################################## #################

ld -r -o nv-linux.o nv.o nv-vm.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.
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.
-> Kernel module load error:
./usr/src/nv/nvidia.o: unresolved symbol __ioremap_R9eac042a
./usr/src/nv/nvidia.o: unresolved symbol pci_read_config_byte_R0e425a9e
./usr/src/nv/nvidia.o: unresolved symbol del_timer_Rd35376fe
./usr/src/nv/nvidia.o: unresolved symbol inter_module_get_Rf6a0ce24
./usr/src/nv/nvidia.o: unresolved symbol __get_free_pages_R9016dd82
./usr/src/nv/nvidia.o: unresolved symbol do_gettimeofday_R72270e35
...
./usr/src/nv/nvidia.o: unresolved symbol __vmalloc_R79995c5b
./usr/src/nv/nvidia.o: unresolved symbol register_chrdev_R4df0fcb3
./usr/src/nv/nvidia.o: unresolved symbol init_mm_R8a0aaff8
./usr/src/nv/nvidia.o: unresolved symbol mem_map_R7b3e78dd
./usr/src/nv/nvidia.o: unresolved symbol iomem_resource_R9efed5af
./usr/src/nv/nvidia.o: unresolved symbol strncpy_from_user_R24428be5
./usr/src/nv/nvidia.o: unresolved symbol copy_to_user_Rbe499d81
./usr/src/nv/nvidia.o:

################################################## #########################
#### A total of about 80 unresolved references are reported each time
#### an insmod is attempted with the nvidia.o module.
################################################## #########################
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance, only they
can help you.



#### End of edited logfile
jonjgc is offline   Reply With Quote