I was merely pointing out the cause of the problem, and offering a couple of
ways for solving it.
Of course, there may be other solutions.
A valid alternative, which I did not mention due to a possibly long waiting
time, is to wait for KVM (and/or a newer Linux kernel version) to be included
in a Red Hat ES release or update.
Regards,
Uri.
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Bill Davidsen
Sent: Wed 24/01/2007 02:20
To: kvm-devel@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: Re: [kvm-devel] compiler problem in Read Hat ES 4
Uri Lublin wrote:
> Hi Frank,
>
> It seems it would be easier if you'd build kvm on a more recent linux
> kernel (version 2.6.16 or later).
It wouldn't be ES 4 then. The way the enterprise releases work is that
no software is upgraded, therefore you don't find new and exciting
changes in the way things work. Instead, any bug fixes or security
patches are backported to the original software.
> You could not make the kvm modules because 2.6.9 kernel does not use
> Kbuild, but expects that information to be in the Makefile.
> So... I typed "cd kernel; mv Makefile Makefile.orig; cat Kbuild
> Makefile.orig > Makefile; make".
> That started building the modules, but include file <linux/mutex.h> was
> not found.
> linux/mutex.h was introduced in version 2.6.16
>
> If you insist on 2.6.9, try to replace the mutex with a semaphore
> (kvm_main.c and kvm.h).
>
ES is intended to provide extremely stable platforms for production
servers, which normally doesn't make it a good candidate for building
new kernel modules.
I assume that's why ES is being used.
--
Bill Davidsen <[EMAIL PROTECTED]>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel