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

RE: [Linux-cluster] correct cvs branch to use w/ 2.6.19.7?



 

> -----Original Message-----
> From: David Teigland [mailto:teigland redhat com] 
> Sent: Thursday, June 07, 2007 10:37 AM
> To: Christopher Barry
> Cc: Linux-cluster redhat com
> Subject: Re: [Linux-cluster] 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: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]#



Any ideas?


Regards,
-C


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