When the Dahdi module is installed, the following error occurs: insmod: can & #39; t insert & #39; dahdi. ko & #39;: unknown symbol in module or invalid parameter.
Dahdi source code downloaded from Digitum official website. After compilation, an error occurs when dadhi is installed:
# Insmod dahdi. ko
Dahdi: Unknown symbol crc_ccitt_table
Insmod: can't insert 'dahdi. ko ': unknown symbol in module or invalid parameter
Find the reason...
Check whether the kernel symbol exists in the virtual machine.
# Cat/proc/kallsyms | grep "crc_ccitt"
F8caa260 r _ ksymtab_crc_ccitt [crc_ccitt]
F8caa278 r _ kstrtab_crc_ccitt [crc_ccitt]
F8caa270 r _ kcrctab_crc_ccitt [crc_ccitt]
F8caa268 r _ ksymtab_crc_ccitt_table [crc_ccitt]
F8caa282 r _ kstrtab_crc_ccitt_table [crc_ccitt]
F8caa274 r _ kcrctab_crc_ccitt_table [crc_ccitt]
F8caa292 r _ rheldata [crc_ccitt]
F8caa2a0 d _ this_module [crc_ccitt]
F8caa000 T crc_ccitt [crc_ccitt]
This module is available under the virtual machine. Then proceed to the search:
# Modinfo crc_ccitt
Filename:/lib/modules/2.6.32-220. el6.i686/kernel/lib/crc-ccitt.ko
License: GPL
Description: CRC-CCITT calculations
Srcversion: 2294fcad06d727213004eeb
Depends:
Vermagic: 2.6.32-220. el6.i686 SMP mod_unload modversions 686
The original crc_ccitt kernel symbol is in/lib/modules/2.6.32-220. el6.i686/kernel/lib/crc-ccitt.ko.
By default, the Linux kernel source code is not compiled into the kernel but in the module form.
# Make menuconfig
---> Library routines
---> CRC_CCITT funcitons
Select and compile the program to the kernel or set it as a module.
Copy this module to the Development Board, install it first, and then install dahdi. ko.
# Insmod crc-ccitt.ko
# Insmod dahdi. ko