Re: [ANNOUNCE] kvm-88 release (CAN NOT install modules on debian/amd64/2.6.30)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 13, 2009 at 12:01:25AM +0800, John Wong wrote:
> [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined!
> WARNING: "__tracepoint_kvm_mmu_pagetable_walk"  
> [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined!
> WARNING: "__tracepoint_kvm_msi_set_irq"  
> [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined!
>
> when i depmod -a after install, i see some warning message like this:
> /sbin/depmod -a
> WARNING: Module /lib/modules/2.6.30-1-amd64/extra/kvm-intel.ko ignored,  
> due to loop
> WARNING: Module /lib/modules/2.6.30-1-amd64/extra/kvm-amd.ko ignored,  
> due to loop
> WARNING: Loop detected: /lib/modules/2.6.30-1-amd64/extra/kvm.ko which  
> needs kvm.ko again!
> WARNING: Module /lib/modules/2.6.30-1-amd64/extra/kvm.ko ignored, due to  
> loop
>
> when i insmod ./kvm.ko, i see the error message like this:
> sudo insmod ./kvm.ko
> insmod: error inserting './kvm.ko': -1 Unknown symbol in module
> and i can not load the modules on my debian/amd64 kernel-2.6.30
>
> qemu-system-x86_64(kvm-88.tar.gz) is work on  my debian with  
> kvm-kmod-2.6.30.1-rc2.tar.gz
>
> Please help, thank you.

John,

The attached patch should fix this.

diff -Nur kvm-88.orig/kvm/kernel/external-module-compat-comm.h kvm-88/kvm/kernel/external-module-compat-comm.h
--- kvm-88.orig/kvm/kernel/external-module-compat-comm.h	2009-07-17 20:47:08.000000000 -0300
+++ kvm-88/kvm/kernel/external-module-compat-comm.h	2009-07-17 20:55:21.000000000 -0300
@@ -845,7 +845,7 @@
 
 #include <linux/tracepoint.h>
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
 
 struct tracepoint;
 

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux