[Linux-cluster] CMan Build Issue

Jayson Vantuyl jvantuyl at engineyard.com
Mon Apr 30 19:18:14 UTC 2007


Eek.  This is probably worth investigating.  I'll let you know what I  
come up with.

This is particularly important for people who virtualize their  
clusters, as Xen doesn't run on anything newer than 2.6.18 yet (and  
that includes the forthcoming 3.0.5 release).

Out of curiosity, how does this figure into the kernel merge of DLM  
and GFS?  I've seen them in newer kernels but been kind of afraid to  
turn anything on.  Can I build the old cluster suite against a kernel  
containing DLM and still expect it to work?

On Apr 29, 2007, at 9:59 PM, Robert Peterson wrote:

> Jayson Vantuyl wrote:
>> Trying to build cman from cluster relase 1.03.00.  Also has same  
>> error with 1.04.00.  Building against Xen-3.0.5 patched 2.6.18.  I  
>> get this:
>>   CC [M]  /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/ 
>> cluster-1.03.00/cman-kernel/src/proc.o /var/tmp/portage/sys- 
>> cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/ 
>> cnxman.c: In function 'do_ioctl_join_cluster':
>> /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/ 
>> cluster-1.03.00/cman-kernel/src/cnxman.c:1751: warning: implicit  
>> declaration of function 'init_utsname'
>> /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/ 
>> cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error: invalid type  
>> argument of '->'
>> Any ideas?
>> --Jayson Vantuyl
>> Systems Architect
>> Engine Yard
>> jvantuyl at engineyard.com
>
> Hi Jayson,
>
> Back in February, I updated the STABLE branch of cvs from the older
> kernels up to the newer ones.  That's probably why it doesn't  
> compile in
> 2.6.18, but should in the 2.6.20 and 21 series.  This particular  
> change to cnxman.c can be seen here:
>
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/cman-kernel/ 
> src/Attic/cnxman.c.diff? 
> r1=1.42.2.12.4.1.2.14&r2=1.42.2.12.4.1.2.15&cvsroot=cluster&f=h
>
> You can always revert that change if you need to stick with the older
> kernel.  However, there were a bunch of things changed, and they might
> also give you problems with the older kernel.
>
> For a complete list of changes I made, please see:
>
> https://www.redhat.com/archives/cluster-devel/2007-February/ 
> msg00115.html
>
> Regards,
>
> Bob Peterson
> Red Hat Cluster Suite
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster



-- 
Jayson Vantuyl
Systems Architect
Engine Yard
jvantuyl at engineyard.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20070430/0efbed31/attachment.htm>


More information about the Linux-cluster mailing list