public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Install problems
       [not found] ` <45545694.3030202-vJEk5272eHo@public.gmane.org>
@ 2006-11-10 15:55   ` Avi Kivity
  0 siblings, 0 replies; only message in thread
From: Avi Kivity @ 2006-11-10 15:55 UTC (permalink / raw)
  To: Alex Iribarren; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Alex Iribarren wrote:
> Hi,
>
> I'm trying to install KVM on one of my machines and I'm having some
> problems. I'm on a RHEL4.4 based distro with a 2.6.9-42.0.3 unpatched
> kernel. I've followed the HOWTO instructions, but when I run make the
> KVM module isn't built.
>
> [root@pcitfiot05 kvm-2]# make
> make -C kernel
> make[1]: Entering directory `/root/kvm/kvm-2/kernel'
> make -C /lib/modules/`uname -r`/build M=`pwd` "$@"
> make[2]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9'
>   Building modules, stage 2.
>   MODPOST
> make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9'
> make[1]: Leaving directory `/root/kvm/kvm-2/kernel'
>  --- cut ---
>
> kvm.ko is nowhere to be found. What am I missing?
>   

Linux 2.6.9 is so ancient that the external module build methods have 
changed.  You will need to consult your Documentation/kbuild/modules.txt 
and modify the Makefile and Kbuild files appropriately.  You will also 
need to adapt the module code as 2.6.9 has no 'struct mutex'.

If you can't make heads or tails of it let me know, and I may have a 
go.  RHEL4 will probably be a popular platform.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-10 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <45545694.3030202@cern.ch>
     [not found] ` <45545694.3030202-vJEk5272eHo@public.gmane.org>
2006-11-10 15:55   ` Install problems Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox