Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-04-02, 03:00 PM   #1
cool_nm
Registered User
 
Join Date: Oct 2002
Location: India
Posts: 7
Exclamation Redhat 7.3 + Geforce 2MX -> unresolved symbol even if recompilation with SYSINCLUDE

hi,
I have a P2-400 with a Hercules 3D Prophet, GeForce2 MX PCI. I have Redhat Linux 7.3. I

downloaded NVchooser.sh and it told me to download
NVIDIA_kernel-1.0-3123.src.rpm
NVIDIA_GLX-1.0-3123.i386.rpm

I downloaded the 2 files and followed the instructions from README
After i installed the SRPM the script i generated was as:

-------------------------------------------------------------------------------------------------
Script started on Sat Oct 5 12:44:18 2002
[root@localhost root]# rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm
Installing NVIDIA_kernel-1.0-3123.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2335
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-3123
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-3123.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-3123
++ /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.23514
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0.4
++ echo 4.0.4
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.0.4
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0.4
++ awk -F . '{print $3;}'
+ RPMPATCH=4
+ '[' 4 -le 3 -a 0 -le 0 -a 4 -lt 4 ']'
+ make NVdriver
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-3/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-3/build/include -Wno-cast-qual os-interface.c
os-interface.c:958: warning: `wb_list' defined but not used
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-3/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
894242 55476 52396 1002114 f4a82 NVdriver
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.94876
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.18-3
+ TARGET_KERNEL=2.4.18-3
+ '[' -d /lib/modules/2.4.18-3/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.18-3/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-3/kernel/drivers/video
+ install -m 0444 NVdriver /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-3/kernel/drivers/video
+ echo '%attr(444 root root) ' /lib/modules/2.4.18-3/kernel/drivers/video/NVdriver
+ unset RPM_BUILD_ROOT
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: NVIDIA_kernel-1.0-3123
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /usr/lib/rpm/find-requires)...
PreReq: /bin/sh /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1

rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: kernel >= 2.2.0 rpm >= 3.0.4
Wrote: /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-3123.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.76199
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ '[' -n /var/tmp/NVIDIA_kernel-1.0 -a /var/tmp/NVIDIA_kernel-1.0 '!=' / ']'
+ rm -rf /var/tmp/NVIDIA_kernel-1.0
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.76199
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-3123
+ exit 0
[root@localhost root]#
Script done on Sat Oct 5 12:44:57 2002
-------------------------------------------------------------------------------------------------


Then i executed the foll. and got unresolved symbols

-------------------------------------------------------------------------------------------------
Script started on Sat Oct 5 12:45:44 2002
[root@localhost root]#
[root@localhost root]# rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-3123.i386.rpm
Preparing...###################################### #####[100%]
1:NVIDIA_kernel ########################################### [100%]
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/kernel/drivers/video/NVdriver
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__get_free_pages_Rsmp_4784e424
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol free_irq_Rsmp_f20dabd8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

remove_proc_entry_Rsmp_18199406
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

strncpy_from_user_Rsmp_24428be5
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_read_config_byte_Rsmp_bf8abee6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol securebits_Rsmp_abe77484
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_find_class_Rsmp_571e0e87
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_find_slot_Rsmp_b5bca257
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_write_config_dword_Rsmp_7038e9e8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol proc_root_Rsmp_c79b35f0
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__global_restore_flags_Rsmp_54dd1dcb
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

register_chrdev_Rsmp_10735b95
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

create_proc_entry_Rsmp_9cfe096c
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol iounmap_Rsmp_5fb196d4
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

inter_module_get_request_Rsmp_b69f826b
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__generic_copy_to_user_Rsmp_d523fdd3
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_read_config_word_Rsmp_46710516
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

unregister_chrdev_Rsmp_c192d491
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __vmalloc_Rsmp_79995c5b
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __global_cli_Rsmp_64576b05
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol sprintf_Rsmp_1d26aa98
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

schedule_timeout_Rsmp_17d59d01
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __ioremap_Rsmp_9eac042a
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol pm_register_Rsmp_027ebe5e
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __wake_up_Rsmp_127fda83
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol printk_Rsmp_1b7d4074
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol kfree_Rsmp_037a0cba
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol tq_immediate_Rsmp_0da0dcd1
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol irq_stat_Rsmp_9cd52f3f
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

inter_module_get_Rsmp_f6a0ce24
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_find_device_Rsmp_9940401b
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_write_config_word_Rsmp_ccd6e453
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

remap_page_range_Rsmp_69d01e73
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__global_save_flags_Rsmp_5d902e96
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol tqueue_lock_Rsmp_b7a0c0b5
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol vsprintf_Rsmp_954cbb26
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol free_pages_Rsmp_9941ccb8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol kill_proc_Rsmp_932da67e
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol vfree_Rsmp_2fd1d81c
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

inter_module_put_Rsmp_6b99f7d8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol mem_map_Rsmp_ed75ce01
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol init_mm_Rsmp_dcc04067
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol kmalloc_Rsmp_93d4cfe6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__const_udelay_Rsmp_eae3dfd6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_write_config_byte_Rsmp_1a23c1e6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __udelay_Rsmp_9e7d6bd0
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pm_unregister_Rsmp_94097bd6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol high_memory_Rsmp_8a7d1c31
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

proc_root_driver_Rsmp_9d2c053d
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__generic_copy_from_user_Rsmp_116166aa
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol request_irq_Rsmp_0c60f2e0
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol bh_task_vec_Rsmp_284177b8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_read_config_dword_Rsmp_640451c8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

do_gettimeofday_Rsmp_72270e35
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__tasklet_hi_schedule_Rsmp_60ea5fe7
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __pollwait_Rsmp_4c541ea9
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver:
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.18-3/kernel/drivers/video/NVdriver: insmod

/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: insmod NVdriver failed

NVdriver installed successfully

[root@localhost root]#
Script done on Sat Oct 5 12:49:15 2002
-------------------------------------------------------------------------------------------------

I think the installing the GLX part is useless after the above erros. But still I did execute the

foll. command

-------------------------------------------------------------------------------------------------
Script started on Sat Oct 5 12:50:23 2002
[root@localhost root]# rpm -ivh NVIDIA_GLX-1.0-3123.i386.rpm
Preparing... ########################################### [100%]
--- WARNING!!
libglx.a
libGLcore.a
libGL.so.1.0.3123;3d9b6f6f
libGL.a
libGL.so.1.2
--- The above file(s) possibly belong to a conflicting MESA rpm,
--- or to a previous stale NVIDIA distribution.
--- They have been renamed to xxx.<originalFile>.RPMSAVE to
--- avoid conflicting with the files contained within this
--- package.
--- Please see the FREQUENTLY ASKED QUESTIONS section of
--- /usr/share/doc/NVIDIA_GLX-1.0/README for more details.
1:NVIDIA_GLX ########################################### [100%]
[root@localhost root]#
Script done on Sat Oct 5 12:54:09 2002
-------------------------------------------------------------------------------------------------


What sould I do ?

I tried recompilig using the tar file but with no luck. I even specified the SYSINCLUDE param.

but still the same error came.

Please help.

-Neeraj.
cool_nm is offline   Reply With Quote
Old 10-04-02, 03:18 PM   #2
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Are you using the 2.4.18-3 kernel? What's the output of 'uname -r'?

Unresolved symbols are caused by a mismatch between your kernel sources and your running kernel. Have you changed or updated your kernel at all?

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 10-04-02, 03:42 PM   #3
cool_nm
Registered User
 
Join Date: Oct 2002
Location: India
Posts: 7
Lightbulb

Thanx for the reply,

the kernel version is 2.4.18-3.

cat /proc/version gives:
Linux version 2.4.18-3 (bhcompile@daffy.perf.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 2002

Hope this info will help u in helping me

thanx,
Neeraj
cool_nm is offline   Reply With Quote
Old 10-07-02, 10:10 AM   #4
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Have you modified your kernel sources in any way?

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 10-07-02, 12:01 PM   #5
cool_nm
Registered User
 
Join Date: Oct 2002
Location: India
Posts: 7
Default

I had recompiled the kernel once, but while installing the drivers I loaded the original kernel. I did not as such modify any files related to kernel.

-Neeraj.
cool_nm is offline   Reply With Quote
Old 10-07-02, 01:03 PM   #6
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Can you try rebooting to the kernel you recompiled and seeing if that works? If you haven't changed your sources since recompiling, then that kernel will match the sources, and you shouldn't have unresolved symbols.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 10-07-02, 02:18 PM   #7
cool_nm
Registered User
 
Join Date: Oct 2002
Location: India
Posts: 7
Default

I tried doing that too, but still the same problem is there.
Does the unresolved symbol names mean anything to you, cause every unresolved symbol has the word "Rsmp" common.

Shall i consider reinstalling linux (with full install, now i just did a basic install, including the kernel-sources).

-Neeraj.
cool_nm is offline   Reply With Quote
Old 10-13-02, 12:59 PM   #8
cool_nm
Registered User
 
Join Date: Oct 2002
Location: India
Posts: 7
Default Problem solved.

I solved the problem of the linux - nvidia driver installation. It was due to the frequent power cuts. ;-) Last time when i compiled my kernel the light went off & later i forgot to do (make modules) & (make modules_install). Now when i did that the driver installed smoothely. Thanx for helping me earlier.

Neeraj.
neeraj_mahajan@hotmail.com



PS: can you name few programs/techniques by which I can download big files from net. I usually download big files (like Redhat linux 8.0) in my college but due to recent power cuts the download has been going bad. I usually download by command
wget -c <url>
Can you please tell my how I can download such big files corectly even if the download breaks in between. The college server runs on Readhat linux 7.1 (No windows :-( , else i could have used Dowload Accelarator Plus).
Thanx.
cool_nm is offline   Reply With Quote

Old 10-13-02, 04:57 PM   #9
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

wget -c resumes downloads... doesn't it? It always has for me...

If you want a GUI program, I've used nt (a.k.a. Downloader for X) before, and it's not too bad.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
304.79 Beta & PhysX 9.12.0613 xavier2k5 NVIDIA Windows Graphics Drivers 1 07-03-12 03:00 PM
Redhat 7.3 with GeForce 2 MX invman NVIDIA Linux 21 10-22-02 03:20 PM
Redhat 8 + Nvidia 3123 + tarball src rpms = wtf?? caustic NVIDIA Linux 8 10-09-02 08:56 PM

All times are GMT -5. The time now is 07:35 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.