How to solve the insmod segment Error In debian

Source: Internet
Author: User
How to solve the segment error of insmod In debian: Linux Release Technology-Debian information. For details, refer to the following section. I recently tried to use LKMPG from the beginning and found that a segment error occurred during insmod On debian.

Linux 2.6 requires that you have compiled a kernel when compiling the module, and the temporary files generated during the compilation process have not been deleted (that is, make clean is not executed after compilation ), make's-C option parameter should be specified as the corresponding directory during kernel compilation.

My kernel has been re-compiled, but it still doesn't work. If I compile another latest 2.6.22, I still don't know why.

If you are using debian lenny,

Module-init-tools package has a small bug. It is estimated that it will be updated immediately.

Now we can use/sbin/insmod xx. ko to solve this problem.

It turned out to be an insmod issue, not a modules issue.

# Apt-get install module-init-tools -- reinstall
Related Article

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.