public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: John Wong <johnw@wonghome.net>
Cc: KVM list <kvm@vger.kernel.org>
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	[thread overview]
Message-ID: <20090717235901.GA10712@amt.cnet> (raw)
In-Reply-To: <4A5A08D5.8050901@wonghome.net>

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

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.


[-- Attachment #2: kvm-88-kmod-2.6.30-fix.patch --]
[-- Type: text/plain, Size: 469 bytes --]

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;
 

  parent reply	other threads:[~2009-07-17 23:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-12 13:31 [ANNOUNCE] kvm-88 release Avi Kivity
2009-07-12 15:06 ` John Rousseau
2009-07-12 15:13   ` Avi Kivity
2009-07-12 18:43     ` John Rousseau
2009-07-13  8:32       ` Avi Kivity
2009-07-13 11:27         ` John Rousseau
2009-07-13  8:40     ` Michael Tokarev
2009-07-13  9:08       ` Avi Kivity
2009-07-13 10:01         ` Erik Rull
2009-07-13 11:20           ` Avi Kivity
2009-07-13 15:00           ` Anthony Liguori
2009-07-12 16:01 ` [ANNOUNCE] kvm-88 release (CAN NOT install modules on debian/amd64/2.6.30) John Wong
2009-07-12 17:45   ` Avi Kivity
2009-07-17 23:59   ` Marcelo Tosatti [this message]
2009-07-19  3:41     ` John Wong
2009-07-20 14:42       ` Marcelo Tosatti
2009-07-20 17:05         ` John Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090717235901.GA10712@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=johnw@wonghome.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox