linux centos 内核驱动模块文件如何lsmod查看,加载.ko方法
linux centos 内核驱动模块文件如何lsmod查看,加载.ko方法输出当前驱动模块内容
lsmod
查找驱动文件路径
whereis 驱动模块名
加载.ko驱动文件
insmod 驱动模块名.ko
卸载模块
rmmod 驱动模块名
modinfo 查看模块ko详情
# modinfo ext4
filename: /lib/modules/2.6.32-754.35.1.el6.x86_64/kernel/fs/ext4/ext4.ko
license: GPL
description: Fourth Extended Filesystem
author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others
retpoline: Y
srcversion: 8F05F07CFCA75F17FB3D211
depends: mbcache,jbd2
vermagic: 2.6.32-754.35.1.el6.x86_64 SMP mod_unload modversions
#
页:
[1]