Compile linux-restricted-modules in Ubuntu-8.04

Source: Internet
Author: User
How to compile in the Ubuntu-8.04: Of course, the need to download the source package how to dynamically generate the kernel driver module: such as ATI graphics card module fglrx. ko as an example when the linux-restricted-modules-2.6.24-16-genericdeb package is installed, there will be a fglrx folder in the/lib/linux-restricted-modules/2.6.24-16-generic/directory, put a generated fg

How to compile in the Ubuntu-8.04:

Of course, you need to download the source code package.

How to dynamically generate the kernel driver module:

Take the ATI graphics card module fglrx. ko as an example.

After the linux-restricted-modules-2.6.24-16-generic deb package is installed, there will be a fglrx folder in the/lib/linux-restricted-modules/2.6.24-16-generic/directory where fglrx is generated. REQUIRED for the ko module *. o file

Run the script/etc/init. d/linux-restricted-modules-common during system startup.
It will call/sbin/lrm-manager -- quick

The script lrm-manager reads the configuration file/etc/default/linux-restricted-modules-common.
If the fglrx module is not disabled in the configuration, lrm-manager generates the kernel module fglrx. ko Based on the *. o file in the fglrx/directory.

Therefore, if you compile the driver module based on the atigraphics card driver source code, instead of using the linux-restricted-modules-2.6.24-16-generic deb package to install the fglrx driver, you should disable fglrx in this configuration file

Similarly *. o file, used to dynamically generate the corresponding *. ko module. If not, disable it in the configuration file.

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.