Hi everyone,
Help~~
I met some problems when I install the KVM-85 packages on RHEL 5.1.
Here’re my info:
[root@localhost ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
Kernel \r on an \m
[root@localhost ~]# cat /proc/version
Linux version 2.6.18-53.el5xen ([email protected]) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:48:44 EDT 2007
CPU supports intel-VT.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1.
[root@localhost kvm-85]# ./configure --prefix=/usr/local/kvm --with-patched-kernel
Install prefix /usr/local/kvm
BIOS directory /usr/local/kvm/share/qemu
binary directory /usr/local/kvm/bin
Manual directory /usr/local/kvm/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /home/yukunsh/kvm-85/qemu
C compiler gcc
Host C compiler gcc
ARCH_CFLAGS -m64
make make
install install
host CPU x86_64
host big endian no
target list x86_64-softmmu
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
SDL support yes
SDL static link yes
curses support yes
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16
Mixer emulation no
VNC TLS support no
VNC SASL support yes
SASL CFLAGS
SASL LIBS -lsasl2
kqemu support no
kvm support yes
CPU emulation yes
brlapi support no
Documentation no
NPTL support no
vde support no
AIO support yes
Install blobs yes
KVM support yes
fdt support no
preadv support no
[root@localhost kvm-85]# make
make -C kernel
LINUX=/lib/modules/2.6.18-53.el5xen/build
header-sync
/bin/sh: git: command not found
/bin/sh: git: command not found
make[1]: Entering directory /home/kvm-85/kernel' rm -rf header-tmp rsync -R -L \ "/lib/modules/2.6.18-53.el5xen/build"/./include/linux/kvm*.h \ \ header-tmp/ rsync: link_stat "/lib/modules/2.6.18-53.el5xen/build/./include/linux/kvm*.h" failed: No such file or directory (2) rsync error: some files could not be transferred (code 23) at main.c(892) [sender=2.6.8] make[1]: *** [header-sync] Error 23 make[1]: Leaving directory
/home/kvm-85/kernel’
make: *** [header-sync-y] Error 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2.
[root@localhost kvm-85]# ./configure --prefix=/usr/local/kvm
Install prefix /usr/local/kvm
BIOS directory /usr/local/kvm/share/qemu
binary directory /usr/local/kvm/bin
Manual directory /usr/local/kvm/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /home/yukunsh/kvm-85/qemu
C compiler gcc
Host C compiler gcc
ARCH_CFLAGS -m64
make make
install install
host CPU x86_64
host big endian no
target list x86_64-softmmu
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
SDL support yes
SDL static link yes
curses support yes
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16
Mixer emulation no
VNC TLS support no
VNC SASL support yes
SASL CFLAGS
SASL LIBS -lsasl2
kqemu support no
kvm support yes
CPU emulation yes
brlapi support no
Documentation no
NPTL support no
vde support no
AIO support yes
Install blobs yes
KVM support yes
fdt support no
preadv support no
And then make ,make install are successful complete.
But when I insert the kvm-intel.ko:
[root@localhost kvm-85]# modprobe kvm-intel
WARNING: Error inserting kvm (/lib/modules/2.6.18-53.el5xen/extra/kvm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting kvm_intel (/lib/modules/2.6.18-53.el5xen/extra/kvm-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
[root@localhost kvm-85]# dmesg
…
kvm_intel: Unknown symbol kvm_clear_guest_page
kvm_intel: Unknown symbol kvm_exit
kvm_intel: Unknown symbol kvm_init
…
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Waitting for your warmly help~
Thanks.