* compilation problem
@ 2011-01-26 10:48 antoni artigues
2011-01-26 11:17 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: antoni artigues @ 2011-01-26 10:48 UTC (permalink / raw)
To: kvm
Hello
I have RHEL4 with kernel 2.6.9
I'm trying to compile kvm-kmod-2.6.30
After make command returns:
---------------------
[root@maeko kvm-kmod-2.6.30]# make
make -C /lib/modules/2.6.9-67.ELsmp/build M=`pwd` \
LINUXINCLUDE="-I`pwd`/include -Iinclude \
\
-Iarch/x86/include -I`pwd`/include-compat \
-include include/linux/autoconf.h \
-include `pwd`/x86/external-module-compat.h " \
"$@"
make[1]: Entering directory `/usr/src/kernels/2.6.9-67.EL-smp-x86_64'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/kernels/2.6.9-67.EL-smp-x86_64'
---------------------
It seems all has gone well. But the kvm.ko is not created.
The make install returns:
----------------
[root@maeko kvm-kmod-2.6.30]# make install
mkdir -p //lib/modules/2.6.9-67.ELsmp/extra
cp x86/*.ko //lib/modules/2.6.9-67.ELsmp/extra
cp: no se puede efectuar `stat' sobre «x86/*.ko»: No existe el fichero o
el directorio
make: *** [install] Error 1
----------------
I tried with kvm-kmod-2.6.31.5 but it returns the same error.
With the kvm-kmod-2.6.31.6 the configure command says:"Error: kernel is
too old for this kvm-kmod release."
Thanks in advance.
Regards
Antoni Artigues
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compilation problem
2011-01-26 10:48 compilation problem antoni artigues
@ 2011-01-26 11:17 ` Avi Kivity
2011-01-26 11:37 ` antoni artigues
0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2011-01-26 11:17 UTC (permalink / raw)
To: antoni artigues; +Cc: kvm
On 01/26/2011 12:48 PM, antoni artigues wrote:
> Hello
>
> I have RHEL4 with kernel 2.6.9
>
> I'm trying to compile kvm-kmod-2.6.30
2.6.9 is way too old for kvm-kmod. Any particular reason why you want
kvm over such an old host?
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compilation problem
2011-01-26 11:17 ` Avi Kivity
@ 2011-01-26 11:37 ` antoni artigues
2011-01-26 12:53 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: antoni artigues @ 2011-01-26 11:37 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm
Hello
Well, we have a 32 nodes cluster. With RHEL4 and 2.6.9 kernel in all the
nodes. The cluster is in production. Now, is not possible to update each
of the 32 nodes.
We want to use opennebula with KVM in the cluster. So, we are trying to
compile the kvm-kmod.
Is not possible? Do we need to update the kernel of each node?
Thanks
Antoni Artigues
El mié, 26-01-2011 a las 13:17 +0200, Avi Kivity escribió:
> On 01/26/2011 12:48 PM, antoni artigues wrote:
> > Hello
> >
> > I have RHEL4 with kernel 2.6.9
> >
> > I'm trying to compile kvm-kmod-2.6.30
>
> 2.6.9 is way too old for kvm-kmod. Any particular reason why you want
> kvm over such an old host?
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compilation problem
2011-01-26 11:37 ` antoni artigues
@ 2011-01-26 12:53 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2011-01-26 12:53 UTC (permalink / raw)
To: antoni artigues; +Cc: kvm
On 01/26/2011 01:37 PM, antoni artigues wrote:
> Hello
>
> Well, we have a 32 nodes cluster. With RHEL4 and 2.6.9 kernel in all the
> nodes. The cluster is in production. Now, is not possible to update each
> of the 32 nodes.
>
> We want to use opennebula with KVM in the cluster. So, we are trying to
> compile the kvm-kmod.
>
> Is not possible? Do we need to update the kernel of each node?
A new kernel is needed. Note the RHEL 6 kernel includes kvm, so you
don't need to compile anything. Of course, if the cluster is in
production, you'll need to plan this carefully.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-26 12:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-26 10:48 compilation problem antoni artigues
2011-01-26 11:17 ` Avi Kivity
2011-01-26 11:37 ` antoni artigues
2011-01-26 12:53 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).