load_ocfs2 is the only correct way.
that failed becuase /etc/ocfs.conf is lacking the following line.
ip_port_v2 = 7001
On Wed, 2004-09-22 at 01:29, Arvils Freipics wrote:> Hi,
>
> my environment:
>
> [root@localhost etc]# rpm -qa | grep ocfs
> ocfs2-2.4.21-EL-0.99.2-1
> ocfs2-support-0.99.0-1
> ocfs2-tools-0.99.0-1
>
> [root@localhost etc]# uname -a
> Linux localhost.localdomain 2.4.21-15.ELorafw1 #1 Thu Jun 10 14:30:40
> PDT 2004 i686 i686 i386 GNU/Linux
>
> I`am trying to load ocfs2 modulewithout any success in 3 different ways:
> 1)
> [root@localhost sbin]# ./load_ocfs2
> load_ocfs: Required parameter "ip_port_v2" was not specified
>
> 2)
> [root@localhost sbin]# insmod -f ocfs2
> Using /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.o
> Warning: kernel-module version mismatch
> /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.o was compiled for kernel
> version 2.4.21-15.EL
> while this kernel is version 2.4.21-15.ELorafw1
> Warning: loading /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.o will taint the
> kernel: forced load
> See http://www.tux.org/lkml/#export-tainted for information about
> tainted modules
> /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.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
>
> 3)
> [root@localhost sbin]# insmod -f ocfs2
> Using /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.o
> Warning: kernel-module version mismatch
> /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.o was compiled for kernel
> version 2.4.21-15.EL
> while this kernel is version 2.4.21-15.ELorafw1
> Warning: loading /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.o will taint the
> kernel: forced load
> See http://www.tux.org/lkml/#export-tainted for information about
> tainted modules
> /lib/modules/2.4.21-EL-ABI/ocfs2/ocfs2.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
>
> Any ideas how to resolve it ?
>
> Thanx in advance,
> ARvils.
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users