View Full Version : RH8 and latest driver
bmw_540i_98
11-01-02, 12:17 AM
I have successfully rebuilt NVIDIA_kernel-1.0-3123.src.rpm. When I installed it I get errors about many unresolved symbols then the module fails to load.
I'm on a rh8 with the updated kernel. I recompiled the kernel for my hardware. Are their some options this driver depends on?
Thanks
can we have some out put of what the errors and what not are ?
bmw_540i_98
11-01-02, 02:46 PM
[root@tiger root]# rpm -i /usr/src/redhat/RPMS/i686/NVIDIA_kernel-1.0-3123.i686.rpm
depmod: *** Unresolved symbols in /lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol mem_map_R12cb6230
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol proc_root_driver_R71103d21
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol register_chrdev_R44b36f42
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol init_mm_R542e8e6f
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol proc_root_Rf7cb19b8
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol __pollwait_Rd9f12fbe
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol create_proc_entry_R74ce1c92
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol remove_proc_entry_R9d94e529
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: unresolved symbol irq_stat_R9135cb9c
/lib/modules/2.4.18-17.8.0/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-17.8.0/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.18-17.8.0/kernel/drivers/video/NVdriver: insmod NVdriver failed
NVdriver installed successfully
You said you recompiled the kernel. Are you currently running the kernel that you compiled? Did you touch the kernel source directory after recompiling?
When you did the rpmbuild --rebuild, did the kernel that was running at the time match the kernel sources that match what you're running now?
You've built one kernel already, so you might want to consider grabbing 2.4.19 off www.kernel.org and compiling that. Decompress it into /usr/src, do the build, and don't touch the directory. Boot into the new kernel, and then rebuild the NVIDIA_kernel. See if that helps.
bmw_540i_98
11-01-02, 07:58 PM
Ok. I guess the binary does not like a custom kernel. I installed redhat's prebuilt kernel and rebuild the NVIDIA src and it's happy now.
Are their certain options for the kernel that is required for Nvidia?
--Lou
Not that I know of... if you say yes to "MTRR support", it will help performance, but that doesn't have anything to do with the nVidia driver working...
Have you tried a standard kernel, and maybe the .tar.gz nVidia drivers? If you try that, remove the both of the nVidia RPMs first. Maybe that will help...
Andy Mecham
11-02-02, 12:53 AM
No, there are no special options.
Unresolved symbols are caused by a mismatch between your running kernel and your kernel source tree. Are you sure you were pointing to the right kernel tree when you originally tried to compile the NVIDIA driver? Did you modify the 2.4.18-17 source configuration?
If you went back to the distro kernel but didn't change your kernel-source package, then your /usr/src symlinks probably weren't pointing to the right place. Your kernel source tree must be configured to match your running kernel.
--andy
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.