Linux内核模块拒绝加载

我有一台运行RHEL 5.5并安装了EMC PowerPath的服务器。 由于安全要求,我不得不将内核升级到更新的版本。 不幸的是,我并不知道升级对EMC PowerPath的影响。 升级之后,服务器不能再加载PowerPath内核模块。

所以,我降级到原来的内核。 仍然内核模块拒绝加载。

我试着手动加载模块,但得到以下错误。

[root@cvoapd05 EMCpower.LINUX-5.3.1.02.00]# modprobe emcp FATAL: Error inserting emcp (/lib/modules/2.6.18-194.32.1.el5/powerpath/emcp.ko): Device or resource busy 

.ko文件仍位于path“/lib/modules/2.6.18-194.32.1.el5/powerpath”中,文件大小和date保持不变。

无论如何,我可以从这个问题中恢复?

grub.conf文件:

 # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/cciss/c0d0p8 # initrd /initrd-version.img #boot=/dev/cciss/c0d0 # default=0 # commented out by Proliant HBA install script default=0 fallback=1 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux Server (2.6.18-194.32.1.el5) root (hd0,0) kernel /vmlinuz-2.6.18-194.32.1.el5 ro root=LABEL=/ rhgb quiet crashkernel=1024M@16M initrd /initrd-2.6.18-194.32.1.el5.img title Red Hat Enterprise Linux Server (2.6.18-194.el5) root (hd0,0) kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet crashkernel=1024M@16M initrd /initrd-2.6.18-194.el5.img # This entry (no. 1) added by Proliant HBA install script # in package cpq_cciss-3.6.26-5.rhel5 title HP-2.6.18-194.el5 root (hd0,0) kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet crashkernel=1024M@16M initrd /HP-initrd-2.6.18-194.el5.img 

可能有另一个驱动程序连接到powerpath驱动程序试图连接的设备。 检查是否有其他多path驱动程序加载, lsmod | grep path lsmod | grep path应该足够了。 实际上,简单地提供lsmod的输出应该可以帮助我们确定是什么导致了这个问题。

使用本地多path守护进程而不是powerpath。

/etc/rc.d/PowerPath有逻辑来判断是否加载了一个不同的内核,如果是这样,更新它的configuration,而不是复制emcp.ko

尝试手动运行/etc/rc.d/PowerPath start修复问题或获取有关问题的更多信息。