When installing the Dahdi module, the following error occurs: insmod: can & amp; #39; t insert & amp; #39; dahdi. ko & amp; #39;: unknown symbol in module or invalid parameter.

Source: Internet
Author: User

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






Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.