Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux System Getting Started Tutorial: how to find information on Linux-embedded module     - OpenStack package problems and solutions under CentOS6 (Linux)

- After installation of Debian 6.0 do a few things first (Linux)

- LNMP summary of the issues common 502 Bad Gateway (Server)

- A simple shell script for monitoring in Linux (Linux)

- Linux performance monitoring - CPU, Memory, IO, Network (Linux)

- Ubuntu root user profiles (Programming)

- Ubuntu 10.10 install Oracle 10g graphic tutorials (Database)

- pdf.js Tutorial (Linux)

- Delay for the specified IP port analog network to send and receive packets on Linux (Linux)

- Linux 10 useful examples of command-line completion (Linux)

- Oracle 12c users create (Database)

- ORA-04031 Error Resolution (Database)

- 2 minutes to read large data framework Hadoop and Spark similarities and differences (Server)

- Using packet capture libpcap be reconciliation package in Ubuntu 14.04 64 bits (Linux)

- Installation and deployment of Hadoop 2.7.1 on Ubuntu 14.04 LTS (Server)

- namespace mechanism Linux kernel analysis (Linux)

- Cancel Root Command History under Linux (Linux)

- Linux memory management -free learning experience (Linux)

- BusyBox build root file system (Linux)

- How to use the tab in Vim carried Python code completion (Linux)

  Linux System Getting Started Tutorial: how to find information on Linux-embedded module
  Add Date : 2017-01-08      
  Question: I want to know Linux system kernel built modules, and each module which parameters. Is there any way you can get a list of built-in modules and device drivers, as well as their detailed information?

Modern Linux kernel are the time change rapidly in order to support a lot of hardware, file system and network functions. In the meantime, "loadable modules (loadable kernel modules, [LKM])" is introduced to prevent the kernel becomes more bloated, and in a different environment, the flexibility to expand capabilities and hardware support, without having to rebuild the kernel.

The latest Linux kernel release with only a relatively small "built-in module (built-in modules)", the rest of the hardware drivers specific or custom features as "Loadable Modules" to let you choose to load or unload.

Built-in module is statically compiled into the kernel. Unlike dynamically loadable kernel modules can be used modprobe, insmod, rmmod, modinfo lsmod command or the like to load, unload, query module, built-in modules are always loaded at startup into the kernel, these commands will not be managed.


To find a list of built-in module

To get a list of built-in modules, run the following command.

$ Cat / lib / modules / $ (uname-r) /modules.builtin

You can also use the following command to see what the built-in module

Find the built-in module parameters

Each kernel module either built-in or has a number of parameters that can be loaded. For loadable module, modinfo command can display their parameter information. However, this command does not use the built-in module. You will get the following error.

modinfo: ERROR: Module XXXXXX not found.
Parameters If you want to see built-in modules, as well as their values, you can check their contents in / sys / module.

In / sys / module directory, you can find the kernel modules (includes built-in and can be loaded) named subdirectory. Each module into the directory, there is a "parameters" directory, listing all the parameters of this module.

For example, you want to find tcp_cubic (default kernel TCP implementations) parameter module. You can do this:

$ Ls / sys / module / tcp_cubic / parameters
Then read this file to view the values for each parameter.

$ Cat / sys / module / tcp_cubic / parameters / tcp_friendliness
- Editor of the popular Linux Gvim (Linux)
- ACL permissions Linux command (Linux)
- Cobbler remotely install CentOS system (Linux)
- OpenSSL: implementation creates a private CA, certificate signing request Explanation (Server)
- Java source implementation of the observer pattern instance (Programming)
- Video editing captions under Linux (Linux)
- Linux server startup and logon security settings (Linux)
- How to turn Java String into Date (Programming)
- To install Emacs under CentOS 6.5 (Linux)
- Linux md5sum verify file integrity (Linux)
- Hadoop 2.7.1 installation configuration based on availability QJM (Server)
- Python Django direct implementation of sql statement (Programming)
- Spring Data study notes -Helloworld (Programming)
- Java filter (Programming)
- pga_aggregate_target and _pga_max_size can not use absolute limit actual PGA (Database)
- Try the command ip, ifconfig is obsolete under Linux (Linux)
- Linux iptables: basic principles and rules (Linux)
- Oracle user lock how to know what causes (Database)
- Vim custom color (Linux)
- Install Apache streaming media services on CentOS 6.4 (Server)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.