<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5583" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear Srs.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have been running a system over the OCFS2
filesystem since 12/2007,</FONT></DIV>
<DIV><FONT face=Arial size=2>Lately we start to experience some node crash and
the reported couse was the OCFS2, but nothing was wrote on the system
log.</FONT></DIV>
<DIV><FONT face=Arial size=2>So we decided to move the system to another pair of
machine. I did a fresh install of Slackware 12.0 and installed the OCFS2 1.2.7
tools.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I started to copy the files from the
old system to the new one, after some time of file transfer I get this
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2><A href="">root@diana</A>:~# Message from <A
href="">syslogd@diana</A> at Sat Jun 21 03:39:00 2008 ...<BR>diana kernel:
Kernel panic - not syncing: ocfs2 is very sorry to be fencing this system by
panicing</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>After this the only way to get the computer back is
only powering it of and on again.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I took a look at the FAQ and saw is issue repported
on the <FONT size=3><FONT size=2>Heartbeat </FONT></FONT><FONT size=2>session
Question 07, but i noticed it was related to an old kernel version. Since we are
running a kernel version 2.6.21.5 I would like to know if this solution still
apply.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Some items on the FAQ are not uptodate, How can I
do to know what module version is on the kernel I'm running?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What is the relation of the kernel version and the
kernel module?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there a way to generate a patch to apply to the
kernel im running and conpile it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I would like to try the latest version of the
kernel module. I</FONT><FONT face=Arial size=2> downloaded it and tried to
compile it, but it was not sucessfull.</FONT></DIV>
<DIV><FONT face=Arial size=2>This is the way i configured it:</FONT></DIV>
<DIV><FONT face=Arial size=2>apolo:# ./configure --prefix=/usr --sysconfdir=/etc
</FONT><FONT face=Arial size=2>--build=i486-slackware-linux
--host=i486-slackware-linux --target=i486-slackware-linux
--with-kernel-source=/usr/src/linux</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I tryed to compile it I got the following
error:</FONT></DIV>
<DIV><FONT face=Arial size=2>apolo# make<BR>make -C fs<BR>make[1]: Entering
directory `/usr/local/src/ocfs2-1.2.9/fs'<BR>make -C ocfs2 stamp-md5<BR>make[2]:
Entering directory `/usr/local/src/ocfs2-1.2.9/fs/ocfs2'<BR>make[2]: `stamp-md5'
is up to date.<BR>make[2]: Leaving directory
`/usr/local/src/ocfs2-1.2.9/fs/ocfs2'<BR>make -C ocfs2/cluster
stamp-md5<BR>make[2]: Entering directory
`/usr/local/src/ocfs2-1.2.9/fs/ocfs2/cluster'<BR>make[2]: `stamp-md5' is up to
date.<BR>make[2]: Leaving directory
`/usr/local/src/ocfs2-1.2.9/fs/ocfs2/cluster'<BR>make -C ocfs2/dlm
stamp-md5<BR>make[2]: Entering directory
`/usr/local/src/ocfs2-1.2.9/fs/ocfs2/dlm'<BR>make[2]: `stamp-md5' is up to
date.<BR>make[2]: Leaving directory
`/usr/local/src/ocfs2-1.2.9/fs/ocfs2/dlm'<BR>make -C
/lib/modules/2.6.21.5-smp/build M=/usr/local/src/ocfs2-1.2.9/fs
modules<BR>make[2]: Entering directory `/usr/src/linux-2.6.21.5'</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> WARNING: Symbol version dump
/usr/src/linux-2.6.21.5/Module.symvers<BR>
is missing; modules will have no dependencies and modversions.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> CC [M]
/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.o<BR>In file included from
/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:39:<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/inode.h:117:
warning: 'kmem_cache_t' is deprecated<BR>In file included from
/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:40:<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/journal.h:136:
warning: 'kmem_cache_t' is
deprecated<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c: In function
'ocfs2_schedule_truncate_log_flush':<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:1230:
warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer
type<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:1233: warning: passing
argument 2 of 'queue_delayed_work' from incompatible pointer
type<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c: In function
'ocfs2_truncate_log_shutdown':<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:1412:
warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer
type<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:1444:69: error: macro
"INIT_WORK" passed 3 arguments, but takes just
2<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c: In function
'ocfs2_truncate_log_init':<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:1444:
error: 'INIT_WORK' undeclared (first use in this
function)<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:1444: error: (Each
undeclared identifier is reported only
once<BR>/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.c:1444: error: for each
function it appears in.)<BR>make[4]: ***
[/usr/local/src/ocfs2-1.2.9/fs/ocfs2/alloc.o] Error 1<BR>make[3]: ***
[/usr/local/src/ocfs2-1.2.9/fs/ocfs2] Error 2<BR>make[2]: ***
[_module_/usr/local/src/ocfs2-1.2.9/fs] Error 2<BR>make[2]: Leaving directory
`/usr/src/linux-2.6.21.5'<BR>make[1]: *** [build-modules] Error 2<BR>make[1]:
Leaving directory `/usr/local/src/ocfs2-1.2.9/fs'<BR>make: *** [fs] Error
2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tanks in advance for your attention, I hope you can
help me to get over this issue.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Carlos Xavier.</FONT></DIV></DIV></BODY></HTML>