# uname -r
2.4.21-20.ELsmp
[root@hp2620-2 root]# rpm -qa | grep ocfs
ocfs-tools-1.0.10-1
ocfs-support-1.0.10-1
ocfs-2.4.21-EL-1.0.13-1
[root@hp2620-2 root]# /sbin/load_ocfs
/sbin/insmod ocfs node_name=hp2620-2-eth1 ip_address=10.1.2.101 cs=1913
guid=8D65C7CEECF9EBE638BD0013215BD6E9 comm_voting=1 ip_port=7000
insmod: ocfs: no module by that name found
load_ocfs: insmod failed
[root@hp2620-2 root]# cd /lib/modules/2.4.21-EL-ABI/
[root@hp2620-2 2.4.21-EL-ABI]# ls
ocfs
[root@hp2620-2 2.4.21-EL-ABI]# cd ocfs
[root@hp2620-2 ocfs]# ls
ocfs.o
[root@hp2620-2 ocfs]# insmod ocfs.o
Warning: kernel-module version mismatch
ocfs.o was compiled for kernel version 2.4.21-4.0.1.EL
while this kernel is version 2.4.21-20.ELsmp
Warning: loading ocfs.o will taint the kernel: forced load
See http://www.tux.org/lkml/#export-tainted for information about tainted
modules
ocfs.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
[root@hp2620-2 ocfs]# lsmod | grep ocfs
[root@hp2620-2 ocfs]#
run depmod -a On Thu, Aug 04, 2005 at 10:51:19AM -0700, Roger Trang wrote:> # uname -r > 2.4.21-20.ELsmp > [root@hp2620-2 root]# rpm -qa | grep ocfs > ocfs-tools-1.0.10-1 > ocfs-support-1.0.10-1 > ocfs-2.4.21-EL-1.0.13-1 > [root@hp2620-2 root]# /sbin/load_ocfs > /sbin/insmod ocfs node_name=hp2620-2-eth1 ip_address=10.1.2.101 cs=1913 guid=8D65C7CEECF9EBE638BD0013215BD6E9 comm_voting=1 ip_port=7000 > insmod: ocfs: no module by that name found > load_ocfs: insmod failed > [root@hp2620-2 root]# cd /lib/modules/2.4.21-EL-ABI/ > [root@hp2620-2 2.4.21-EL-ABI]# ls > ocfs > [root@hp2620-2 2.4.21-EL-ABI]# cd ocfs > [root@hp2620-2 ocfs]# ls > ocfs.o > [root@hp2620-2 ocfs]# insmod ocfs.o > Warning: kernel-module version mismatch > ocfs.o was compiled for kernel version 2.4.21-4.0.1.EL > while this kernel is version 2.4.21-20.ELsmp > Warning: loading ocfs.o will taint the kernel: forced load > See http://www.tux.org/lkml/#export-tainted for information about tainted modules > ocfs.o: init_module: Operation not permitted > Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. > You may find more information in syslog or the output from dmesg > [root@hp2620-2 ocfs]# lsmod | grep ocfs > [root@hp2620-2 ocfs]# > _______________________________________________ > Ocfs-users mailing list > Ocfs-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs-users
1. You cannot insmod the module. Use load_ocfs. 2. load_ocfs is failing because it looks for the module in /lib/modules/2.4.21-20.ELsmp The ocfs service creates a link in that directory to the module in ABI. run the service. ensure the link is there. Roger Trang wrote:># uname -r >2.4.21-20.ELsmp >[root@hp2620-2 root]# rpm -qa | grep ocfs >ocfs-tools-1.0.10-1 >ocfs-support-1.0.10-1 >ocfs-2.4.21-EL-1.0.13-1 >[root@hp2620-2 root]# /sbin/load_ocfs >/sbin/insmod ocfs node_name=hp2620-2-eth1 ip_address=10.1.2.101 cs=1913 guid=8D65C7CEECF9EBE638BD0013215BD6E9 comm_voting=1 ip_port=7000 >insmod: ocfs: no module by that name found >load_ocfs: insmod failed >[root@hp2620-2 root]# cd /lib/modules/2.4.21-EL-ABI/ >[root@hp2620-2 2.4.21-EL-ABI]# ls >ocfs >[root@hp2620-2 2.4.21-EL-ABI]# cd ocfs >[root@hp2620-2 ocfs]# ls >ocfs.o >[root@hp2620-2 ocfs]# insmod ocfs.o >Warning: kernel-module version mismatch > ocfs.o was compiled for kernel version 2.4.21-4.0.1.EL > while this kernel is version 2.4.21-20.ELsmp >Warning: loading ocfs.o will taint the kernel: forced load > See http://www.tux.org/lkml/#export-tainted for information about tainted modules >ocfs.o: init_module: Operation not permitted >Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. > You may find more information in syslog or the output from dmesg >[root@hp2620-2 ocfs]# lsmod | grep ocfs >[root@hp2620-2 ocfs]# >_______________________________________________ >Ocfs-users mailing list >Ocfs-users@oss.oracle.com >http://oss.oracle.com/mailman/listinfo/ocfs-users > >