我发现内核模块“头孢”和“RBD”被配置为我的CentOS 7"Y"
或"M"
看/启动/ config-xxxx文件。
如何在Linux中加入我当前的内核没有编译内核模块
Does any guys know what's the best way to add these modules back ?
我需要手动download
内核源代码和configure
这些模块 “Y/M”?
还是我只需要build
那里有两个内核模块和add
他们到/lib64/modules?
我发现内核模块“头孢”和“RBD”被配置为我的CentOS 7"Y"
或"M"
看/启动/ config-xxxx文件。
如何在Linux中加入我当前的内核没有编译内核模块
Does any guys know what's the best way to add these modules back ?
我需要手动download
内核源代码和configure
这些模块 “Y/M”?
还是我只需要build
那里有两个内核模块和add
他们到/lib64/modules?
首先,
A kernel module is configured as either "Y" or "M". If you grep for the module under /boot/config it would be marked either of those.
如果标记为“ Y“,那么该模块已经作为静态模块内置到内核中。您无需重新构建它。
如果标记为“M”,那么该模块仍然构建,但作为动态模块。您可以通过使用“$ lsmod的”命令查找模块,也可以在/ lib目录中找到/模块
So, if you don't find your module listed under /boot/config*** only then you will have to consider building that module
接下来,如果你没有找到,然后列出的模块,你将不得不下载内核源代码对应于你PC上的版本,然后只编译这些模块并安装它们
检查内核模块是否在'ls/lib/modules /'uname -r'/kernel/fs/ceph ',然后'modprobe ceph'来加载模块。 – askb 2014-11-24 04:36:40