> -----Original Message----- > From: linux-cluster-bounces@xxxxxxxxxx > [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of > Christopher Barry > Sent: Thursday, June 07, 2007 11:32 AM > To: Linux-cluster@xxxxxxxxxx > Subject: RE: correct cvs branch to use w/ 2.6.19.7? > > > > > -----Original Message----- > > From: David Teigland [mailto:teigland@xxxxxxxxxx] > > Sent: Thursday, June 07, 2007 10:37 AM > > To: Christopher Barry > > Cc: Linux-cluster@xxxxxxxxxx > > Subject: Re: correct cvs branch to use w/ 2.6.19.7? > > > > On Thu, Jun 07, 2007 at 10:26:06AM -0400, Christopher Barry wrote: > > > Greetings List, > > > > > > Can someone recommend the best kernel/cvs branch combo to > > compile? I'm > > > running kernel.org 2.6.19.7 on an otherwise stock > RHEL4UD4 box, and > > > cannot get STABLE or HEAD to compile. I have followed the > > instructions > > > in usage.txt, installing openais and the latest udev > > (v112). I'd like to > > > keep this kernel if possible. > > > > The RHEL4 branch is probably the closest you'll get. You may > > still need > > to do some hacking to get it to build depending how different > > your kernel > > is from RHEL4's. > > > > Also, we're talking about the older generation of cluster > > code here, so > > you should follow this version of the usage: > > http://sources.redhat.com/cluster/doc/usage.txt > > > > (which uses cman-kernel; openais is only relevant to the > > RHEL5 generation > > of the code which would require a much newer kernel) > > > > Dave > > > > > > > Thanks Dave, > > > I'm not compiling against 2.6.9-42ELsmp, but kernel.org 2.6.19.7 > > Here's the results from HEAD and STABLE: > > results from HEAD compile: > > > [root@localhost cluster]# ./configure > --kernel_src=/usr/src/kernels/linux-2.6.19.7 > > Configuring Makefiles for your system... > > The following fence agents will be build on this system: > xen rps10 ipmilan wti manual baytech bullpap apc scsi vmware xcat rsb > bladecenter xvm zvm vixel brocade rsa ibmblade sanbox2 > rackswitch cpint > egenera mcdata ilo drac > > NOTE: xvm will build only if --enable_xen has been specified > > Completed Makefile configuration > > [root@localhost cluster]# > > [root@localhost cluster]# make install 2>&1 | tee ../HEAD-build.log > make -C gnbd-kernel/src all > make[1]: Entering directory > `/usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src' > make -C /usr/src/kernels/linux-2.6.19.7 > M=/usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src > symverfile=/usr/src/kernels/linux-2.6.19.7/Module.symvers modules > USING_KBUILD=yes > make[2]: Entering directory `/usr/src/kernels/linux-2.6.19.7' > CC [M] /usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src/gnbd.o > /usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src/gnbd.c: In function > `gnbd_ctl_ioctl': > /usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src/gnbd.c:717: > error: too few > arguments to function `invalidate_bdev' > make[3]: *** [/usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src/gnbd.o] > Error 1 > make[2]: *** [_module_/usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src] > Error 2 > make[2]: Leaving directory `/usr/src/kernels/linux-2.6.19.7' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/usr/src/cvs-src/HEAD/cluster/gnbd-kernel/src' > make: *** [gnbd-kernel] Error 2 > [root@localhost cluster]# > > HEAD gags almost immediately, but STABLE gets a lot further... > > > results from STABLE compile: > > [root@localhost cluster]# ./configure > --kernel_src=/usr/src/kernels/linux-2.6.19.7 > configure cman-kernel > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure dlm-kernel > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure gfs-kernel > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure gnbd-kernel > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure magma > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure ccs > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure cman > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure dlm > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure fence > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure iddev > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure gfs > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure gnbd > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure gulm > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure magma-plugins > > Configuring Makefiles for your system... > Completed Makefile configuration > > configure rgmanager > > Configuring Makefiles for your system... > Completed Makefile configuration > > [root@localhost cluster]# > > relevent errors from STABLE make: > > [root@localhost STABLE]# egrep -A2 -B2 'Warning|[eE]rror' > STABLE-build.log > CC [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.o > /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.c: > In function > `get_dummy_sb': > /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.c:23 > 5: error: > structure has no member named `bd_mount_sem' > /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.c:23 > 7: error: > structure has no member named `bd_mount_sem' > make[5]: *** > [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.o] Error 1 > make[4]: *** > [_module_/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs] Error 2 > make[4]: Leaving directory `/usr/src/kernels/linux-2.6.19.7' > make[3]: *** [all] Error 2 > make[3]: Leaving directory > `/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs' > make[2]: *** [install] Error 2 > make[2]: Leaving directory > `/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src' > make[1]: *** [install] Error 2 > make[1]: Leaving directory > `/usr/src/cvs-src/STABLE/cluster/gfs-kernel' > make: *** [install] Error 2 > [root@localhost STABLE]# > > > > Any ideas? > > > Regards, > -C > > -- > Linux-cluster mailing list > Linux-cluster@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/linux-cluster > oops - my egrep actually missed a bunch of WARNINGS first go round: [root@localhost STABLE]# egrep -A2 -B2 -i 'Warning|error' STABLE-build.log Building modules, stage 2. MODPOST 1 modules WARNING: "kcl_addref_cluster" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_get_node_by_addr" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_get_node_addresses" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_releaseref_cluster" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_get_current_interface" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_get_node_by_nodeid" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_leave_service" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_remove_callback" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_global_service_id" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_unregister_service" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_join_service" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_start_done" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_add_callback" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! WARNING: "kcl_register_service" [/usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko] undefined! CC /usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.mod.o LD [M] /usr/src/cvs-src/STABLE/cluster/dlm-kernel/src/dlm.ko -- Building modules, stage 2. MODPOST 1 modules WARNING: "lm_register_proto" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/nolock/lock_nolock.ko] undefined! WARNING: "lm_unregister_proto" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/nolock/lock_nolock.ko] undefined! CC /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/nolock/lock_nolock.mod.o LD [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/nolock/lock_nolock.ko -- CC [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/main.o /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/main.c: In function `create_proc_entries': /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/main.c:230: warning: 'plock_get' might be used uninitialized in this function CC [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/mount.o CC [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/plock.o /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/plock.c: In function `lm_dlm_plock_get': /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/plock.c:1247: warning: passing arg 3 of `do_plock_get' makes integer from pointer without a cast CC [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/thread.o LD [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.o Building modules, stage 2. MODPOST 1 modules WARNING: "kcl_addref_cluster" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_get_services" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_cluster_name" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_releaseref_cluster" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_get_members" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "dlm_query" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_leave_service" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "lm_register_proto" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "lm_unregister_proto" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_unregister_service" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_join_service" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_start_done" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "kcl_register_service" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! WARNING: "dlm_debug_dump" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined! CC /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.mod.o LD [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/dlm/lock_dlm.ko -- Building modules, stage 2. MODPOST 1 modules WARNING: "lm_register_proto" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gulm/lock_gulm.ko] undefined! WARNING: "lm_unregister_proto" [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gulm/lock_gulm.ko] undefined! CC /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gulm/lock_gulm.mod.o LD [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gulm/lock_gulm.ko -- CC [M] /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.o /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.c: In function `get_dummy_sb': /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.c:235: error: structure has no member named `bd_mount_sem' /usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.c:237: error: structure has no member named `bd_mount_sem' make[5]: *** [/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs/diaper.o] Error 1 make[4]: *** [_module_/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs] Error 2 make[4]: Leaving directory `/usr/src/kernels/linux-2.6.19.7' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src/gfs' make[2]: *** [install] Error 2 make[2]: Leaving directory `/usr/src/cvs-src/STABLE/cluster/gfs-kernel/src' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/src/cvs-src/STABLE/cluster/gfs-kernel' make: *** [install] Error 2 [root@localhost STABLE]# -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster