ubuntu16.04下内核模块解析
一.环境如下:
1.1内核版本:
jello@jello:~$ uname -a
Linux jello 4.4.0-89-generic #112-Ubuntu SMP Mon Jul 31 19:38:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
1.2发行版:
jello@jello:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
二.列出启用的模块:
jello@jello:~$ lsmod
Module Size Used by
ipt_MASQUERADE 16384 1 (数据包伪装)
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE (This is the kernel functionality to provide NAT in the masquerade flavour (automatic source address selection).这是提供NAT的内核功能)
nf_conntrack_netlink 40960 0 (Connection tracking netlink interface 追踪网络链接接口的连接)
nfnetlink 16384 2 nf_conntrack_netlink (new netfilter netlink interface 新的网络过滤链接接口)
xfrm_user 32768 1 (Transformation user configuration interface转变用户配置的接口)
xfrm_algo 16384 1 xfrm_user ()
iptable_nat 16384 1 (nat相关)
nf_conntrack_ipv4 16384 2 (IPv4 connection tracking support (required for NAT)ipv4连接追踪支持(NAT需要此支持))
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
nf_nat_ipv4 16384 1 iptable_nat
xt_addrtype 16384 2
iptable_filter 16384 1
ip_tables 24576 2 iptable_filter,iptable_nat
xt_conntrack 16384 1
x_tables 36864 5 ip_tables,ipt_MASQUERADE,xt_conntrack,iptable_filter,xt_addrtype
nf_nat 24576 2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack 106496 6 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,nf_conntrack_ipv4
br_netfilter 24576 0
bridge 126976 1 br_netfilter
stp 16384 1 bridge
llc 16384 2 stp,bridge
aufs 217088 0
psmouse 131072 0
pci_stub 16384 1
vboxpci 24576 0
vboxnetadp 28672 0
vboxnetflt 28672 0
vboxdrv 454656 3 vboxnetadp,vboxnetflt,vboxpci
binfmt_misc 20480 1
dell_wmi 16384 0
sparse_keymap 16384 1 dell_wmi
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
v4l2_common 16384 1 videobuf2_v4l2
videodev 176128 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
media 24576 2 uvcvideo,videodev
intel_rapl 20480 0
dell_laptop 20480 0
x86_pkg_temp_thermal 16384 0
dcdbas 16384 1 dell_laptop
intel_powerclamp 16384 0
dell_smm_hwmon 16384 0
coretemp 16384 0
kvm_intel 172032 0
kvm 544768 1 kvm_intel
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
wl 6447104 0
snd_hda_codec_hdmi 53248 1
cryptd 20480 1 ghash_clmulni_intel
snd_hda_codec_idt 57344 1
snd_hda_codec_generic 77824 1 snd_hda_codec_idt
snd_hda_intel 40960 6
snd_hda_codec 135168 4 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 73728 5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
cfg80211 565248 1 wl
input_leds 16384 0
joydev 20480 0
serio_raw 16384 0
snd 81920 23 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 16384 1 snd
mei_me 36864 0
mei 98304 1 mei_me (Intel Management Engine Interface:
The Intel Management Engine (Intel ME) is an isolated and protected computing resources (Coprocessor) residing inside Intel chipsets. The Intel ME provides support for computer/IT management features. The Feature set depends on Intel chipset SKU.(摘自https://lwn.net/Articles/440292/)
因特尔管理引擎是一个被分离和被保护的属于因特尔芯片组里面的计算资源(协处理器),这个因特尔管理引擎为computer/IT提供管理特性,这种特性集取决于因特尔芯片组SKU,更多资料请看:https://cateee.net/lkddb/web-lkddb/INTEL_MEI.html
)
shpchp 36864 0
mac_hid 16384 0
lpc_ich 24576 0
nfsd 319488 13
auth_rpcgss 61440 1 nfsd
nfs_acl 16384 1 nfsd
lockd 94208 1 nfsd
grace 16384 2 nfsd,lockd
parport_pc 32768 0
sunrpc 335872 18 nfsd,auth_rpcgss,lockd,nfs_acl
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
ums_realtek 20480 0
uas 24576 0
usb_storage 69632 2 uas,ums_realtek
amdkfd 131072 1
amd_iommu_v2 20480 1 amdkfd
radeon 1515520 2
i915 1208320 6
ttm 98304 1 radeon
i2c_algo_bit 16384 2 i915,radeon
drm_kms_helper 155648 2 i915,radeon
syscopyarea 16384 1 drm_kms_helper
ahci 36864 3
sysfillrect 16384 1 drm_kms_helper
libahci 32768 1 ahci
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
r8169 81920 0
drm 364544 12 ttm,i915,drm_kms_helper,radeon
mii 16384 1 r8169
wmi 20480 1 dell_wmi
video 40960 3 i915,dell_wmi,dell_laptop
fjes 28672 0
未完待续...