[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re[2]: [Linux-cluster] segfault if dlm is loaded while cman is still joining the cluster



Tuesday, August 3, 2004, 3:28:20 AM, Patrick Caulfield wrote:

> On Mon, Aug 02, 2004 at 04:20:45PM -0400, Jeff wrote:
>> CMAN: Waiting to join or form a Linux-cluster
>> CMAN <CVS> (built Aug  2 2004 15:04:09) installed
>> kmem_cache_create: duplicate cache cluster_sock

> Hang on - how did you manage that? the cman code looks like it has been loaded
> twice, or something....

> The module load message is BELOW the "Waiting" message which says that the cman
> code was already in the kernel when the "modprobe dlm" was executed which loaded
> the cman.ko module as a dependancy.

> The only way I can think this could happen is that you have cman in the kernel
> AND as a module. 

Hmmm.

When I look at the Cluster Infrastructure item in 'menuconfig' its
marked with a *. Is this 'cman'? Would changing this to M solve
the problem or is there something else going on here.

Starting over with a vanilla kernel I find that if I try to build
I get a bunch of undefined symbol warnings during 'make install'
from dlm-kernel and gfs-kernel.

For instance, from dlm-kernel:

[root lx4 src]# make install
if [ ! -e cluster ]; then ln -s . cluster; fi
if [ ! -e service.h ]; then cp //usr/include/cluster/service.h .; fi
if [ ! -e cnxman.h ]; then cp //usr/include/cluster/cnxman.h .; fi
if [ ! -e cnxman-socket.h ]; then cp //usr/include/cluster/cnxman-socket.h .; fi
make -C /usr/src/linux-2.6.7 M=/usr/src/cvs/cluster_orig/dlm-kernel/src modules USING_KBUILD=yes
make[1]: Entering directory `/usr/src/linux-2.6.7'
  Building modules, stage 2.
  MODPOST
*** Warning: "kcl_addref_cluster" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_addr" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_addresses" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_releaseref_cluster" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_current_interface" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_nodeid" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_leave_service" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_remove_callback" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_global_service_id" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_unregister_service" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_join_service" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_start_done" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_add_callback" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_register_service" [/usr/src/cvs/cluster_orig/dlm-kernel/src/dlm.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.7'
install -d //lib/modules/2.6.7-clu-smp/kernel/cluster
install dlm.ko //lib/modules/2.6.7-clu-smp/kernel/cluster
install -d //usr/include/cluster
install dlm.h dlm_device.h //usr/include/cluster
[root lx4 src]# 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]