I tested this patch and dlm doesn't segfault anymore :-) Thank you Andrew! DLM seems to get up and running - great. As suggested by Fabio M. Di Nitto I will create an upstream bug report.
It would be great if Ante Karamatic could put this patch in the lucid packages until a version that is fixed upstream is packaged. But now my resFS won't start on boot :-( 'corosync restart' will bring up the filesystem Clone Set: cloneDLM Started: [ server-d server-c ] Clone Set: cloneO2CB Started: [ server-d server-c ] Failed actions: resFS:1_start_0 (node=server-c, call=12, rc=1, status=complete): unknown error resFS:0_start_0 (node=server-d, call=10, rc=1, status=complete): unknown error I put the hb_report file here: http://users.fbihome.de/~oheinz/ha-cluster/resFS_unknown_error.tar.bz2 Any suggestions? Do I have to adjust timeout values? TIA, Oliver Am Dienstag, 27. April 2010 19:53:33 schrieb Andrew Beekhof: > Suggested patch: > > diff --git a/group/dlm_controld/pacemaker.c > b/group/dlm_controld/pacemaker.c index c661343..93c1841 100644 > --- a/group/dlm_controld/pacemaker.c > +++ b/group/dlm_controld/pacemaker.c > @@ -123,7 +123,7 @@ void dlm_process_node(gpointer key, gpointer > value, gpointer user_data) > } else if(rc == 0) { > do_remove = TRUE; > > - } else if(is_active) { > + } else if(is_active && node->addr) { > do_add = TRUE; > } > > On Tue, Apr 27, 2010 at 4:20 PM, Oliver Heinz <ohe...@fbihome.de> wrote: > > Am Dienstag, 27. April 2010 13:00:27 schrieb Lars Ellenberg: > >> On Tue, Apr 27, 2010 at 09:33:27AM +0200, Oliver Heinz wrote: > > .. > > > >> > I installed every -dbg package that is available for any package > >> > installed on the system (just to be sure). There are no debug packages > >> > for most of the cluster-stack, if it would help to have them > >> > recompiled without symbol stripping I could do that. > >> > >> Yes please ;-) > >> > >> then, > >> gdb /usr/sbin/dlm_controld.pcmk core -ex where -ex quit > > > > Core was generated by `dlm_controld.pcmk -q 0'. > > Program terminated with signal 11, Segmentation fault. > > #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31 > > 31 ../sysdeps/x86_64/multiarch/../strlen.S: No such file or > > directory. in ../sysdeps/x86_64/multiarch/../strlen.S > > #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31 > > #1 0x00007f4b1ccedd46 in *__GI___strdup (s=0x0) at strdup.c:42 > > #2 0x0000000000403f0c in dlm_process_node (key=<value optimized out>, > > value=0x1e10a30, user_data=0x62a4f8) at /usr/src/packages/redhat- > > cluster/3.0.7/redhat-cluster-3.0.7/group/dlm_controld/pacemaker.c:136 > > #3 0x00007f4b1d36cd73 in IA__g_hash_table_foreach (hash_table=0x1e12050, > > func=0x403e40 <dlm_process_node>, user_data=0x62a4f8) at > > /build/buildd/glib2.0-2.24.0/glib/ghash.c:1325 > > #4 0x0000000000403c9e in update_cluster () at /usr/src/packages/redhat- > > cluster/3.0.7/redhat-cluster-3.0.7/group/dlm_controld/pacemaker.c:82 > > #5 0x0000000000415a4a in loop () at /usr/src/packages/redhat- > > cluster/3.0.7/redhat-cluster-3.0.7/group/dlm_controld/main.c:986 > > #6 0x000000000041659c in main (argc=<value optimized out>, argv=<value > > optimized out>) at /usr/src/packages/redhat-cluster/3.0.7/redhat- > > cluster-3.0.7/group/dlm_controld/main.c:1295 > > > > > > > > hth, > > Oliver > > > > _______________________________________________ > > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > Project Home: http://www.clusterlabs.org > > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf