From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [ANNOUNCE] kvm-88 release (CAN NOT install modules on debian/amd64/2.6.30) Date: Fri, 17 Jul 2009 20:59:01 -0300 Message-ID: <20090717235901.GA10712@amt.cnet> References: <4A59E599.4080802@redhat.com> <4A5A08D5.8050901@wonghome.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="BXVAT5kNtrzKuDFl" Cc: KVM list To: John Wong Return-path: Received: from mx2.redhat.com ([66.187.237.31]:42880 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958AbZGQX7b (ORCPT ); Fri, 17 Jul 2009 19:59:31 -0400 Content-Disposition: inline In-Reply-To: <4A5A08D5.8050901@wonghome.net> Sender: kvm-owner@vger.kernel.org List-ID: --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="kvm-88-kmod-2.6.30-fix.patch" 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 -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31) struct tracepoint; --BXVAT5kNtrzKuDFl--