- From: Navneet Kataria <nkataria_at_npcil.co.in>
- Date: Thu, 11 May 2006 15:41:23 +0530
Hi, I tried the following :: 1. Edited /usr/src/linux/Makefile to change EXTRAVERSION to -4.ELsmp from -4.EL. After this the problem of unresolved symbols started to come while inserting comedi module. the output is as follows:: ----------------------------------------------------------------- [root_at_localhost comedi-0.7.70]# modprobe comedi /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol fasync_helper_Rb65ea485 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol do_gettimeofday_R72270e35 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol create_proc_entry_R0be93f3a /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol __pollwait_Rd2946b94 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol kmalloc_R93d4cfe6 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol vfree_R2fd1d81c /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol unregister_chrdev_Rc192d491 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol request_module_R27e4dc04 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol __generic_copy_to_user_Rd523fdd3 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol __generic_copy_from_user_R116166aa /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol remove_proc_entry_Re94539f7 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol register_chrdev_Ra758a8b3 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol __udelay_R9e7d6bd0 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol add_wait_queue_R5d016020 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol mem_map_R42793c67 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol __wake_up_Rb76c5f1e /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol sprintf_R1d26aa98 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol kill_fasync_Rf7721801 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol schedule_R4292364c /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol kfree_R037a0cba /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol printk_R1b7d4074 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol remove_wait_queue_R9126c1b4 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol init_mm_R8872f91c /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol __vmalloc_R79995c5b /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: unresolved symbol remap_page_range_R5a76d065 /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: insmod /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o failed /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: insmod comedi failed --------------------------------------------------------------------- 2. I also tried to put .config file from /boot. But same problem comes. Is there some other way to resolve this ? Thanks in advance. On Thu, 2006-05-11 at 15:18, Ian Abbott wrote: > On 05/11/06 06:42, Navneet Kataria wrote: > > Device :: PCI 1762 Advantech > > Driver :: comedi-0.7.70(latest) > > CPU :: P4 2.8GHz > > OS :: Enterprise Redhat Linux ES Ver. 3.0 > > > > $uname -r > > 2.4.21-4.ELsmp > > > > $uname -m > > i686 > > > > Problem :: While loading the driver module adv_pci_dio using the > > following command the following error message comes:: > > > > $modprobe adv_pci_dio > > /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: kernel-module version > > mismatch > > /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o was compiled for > > kernel version 2.4.21-4.EL > > while this kernel is version 2.4.21-4.ELsmp. > > /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: insmod > > /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o failed > > /lib/modules/2.4.21-4.ELsmp/comedi/comedi.o: insmod adv_pci_dio failed > > > > > > > > > > Note:: Device Driver is tested succesfully for Kernel 2.4.21-4.EL on the > > same machine. > > > > Things Tried :: > > 1. Copied /usr/src/linux/configs/kernel-2.4.21-i686-smp.config to > > /usr/src/linux/.config . The make clean;make dep. And after that > > compilation of comedi driver and library. But the problem persists. > > For a standard Red Hat kernel, there should also be a config file in the > /boot directory that matches the kernel. Give that one a try if it's > different from the one you are using. -- thanks and regards, Navneet Kataria Engineer, R&D-ES, G-Basement, Hall No.3, NUB, NPCIL, DAE. Phone :: 022 25993965(O) Mobile :: 09819014601 ----------- Disclaimer: This email and any files transmitted with it are intended solely for the use of the addressed individual or entity. It contains information that is confidential and protected from disclosure. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. -----------
Received on 2006-05-11Z09:11:23