First check the kernel version you are using
If the source code is automatically installed when the system is installed. There is a corresponding version directory in the /usr/src directory.
Check out the downloadable source packages
I choose "linux-source-3.2.0 - Linux kernel source for version 3.2.0 with Ubuntu patches" to install directly After the download is complete, the file name is: linux-source-3.2.0.tar.bz2 in /usr/src. It is a compressed package. You can get the source code of the entire kernel by decompressing it. Use pwd to view the current path ls to see what files are in the folder
Unzip Enter the directory (cd linux-source-3.2.0)
Start configuring the kernel and choose the fastest original configuration (default) method Make needs to wait for more than an hour. . . A few hours later ...System is 4826 kB CRC d5a51584 Kernel: arch/x86/boot/bzImage is ready (#1) Building modules, stage 2. MODPOST 3304 modules ERROR: "__modver_version_show" [drivers/staging/rts5139/rts5139.ko] undefined! WARNING: modpost: Found 4 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Solution: From http://ubuntuforums.org/showthread.php?t=1931029 It is probably a problem with the RTS5139 driver. Anyway, this driver is not used, so do not add it to the compilation. Edit .config and change CONFIG_RTS5139=m Modify it into the following form: CONFIG_RTS5139=n Continue to make Compile the kernel in compressed form make bzImage Compile the module: make modules Install the module: make modules_install After the execution is completed, a new directory will be generated under /lib/modules
Reboot after success. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: VUE realizes registration and login effects
Image Accelerator Sometimes it is difficult to pu...
Preface Many friends who have just come into cont...
Docker Compose Docker Compose is a tool for defin...
Scenario 1: Due to server restrictions, only one ...
This article shares MYSQL logs and backup and res...
MySQL versions are divided into Enterprise Editio...
CSS controls the printing style of web pages : Use...
The following code is in my test.html. The video c...
This article example shares the specific code of ...
I feel that the explanation of this.$set on the I...
Comprehensive understanding of html.css overflow ...
This article shares the MySQL Workbench installat...
Table of contents 1. Install JDK 2. Install Jenki...
Table of contents render.js part create-context.j...
When we do CSS web page layout, we all know that i...