Skip to contentSkip to conversation

Install problems

DISCUSSION Avi Kivity 1 participant 1 message Nov 10, 2006 2 messages not in the archive KVM

lore
Share & tools
lore

Avi Kivity

author
#2 lore raw
In reply to a message not in the archive
Quoted 18 lines · Alex Iribarren

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 ---

Quoted 2 lines

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.

Signature · 8 lines
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