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

Re: [Linux-cluster] CMan Build Issue



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

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:


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:


Regards,

Bob Peterson
Red Hat Cluster Suite

--
Linux-cluster mailing list



-- 
Jayson Vantuyl
Systems Architect



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