All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Maria Casale <grisu46-whZMOeQn8C0@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: install kvm on opensuse10.2
Date: Fri, 01 Jun 2007 14:42:52 +0200	[thread overview]
Message-ID: <4660144C.5010005@redhat.com> (raw)
In-Reply-To: <740826.70253.qm-saLSbkMqh37GRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>

Maria Casale wrote:
> I have got an Intel Core Duo T2400 processor.
> I added the repository: 
> http://software.opensuse.org/download/home:/kraxel/openSUSE_10.2/i386/
> I installed kvm and kvm-kmp. I added kvm modules in etc/sysconfig.
> I ran qemu-kvm and this appeared: Could not initialize KVM, will disable 
> KVM support.
> I typed #modprobe kvm-intel but the module is not present:
> FATAL: Module kvm_intel not found.
> When I type uname -a:
> Linux linux-hb3b 2.6.18.8-0.3-default #1 SMP Tue Apr 17 08:42:35 UTC 
> 2007 i686 i686 i386 GNU/Linux
> 
> How can I run kvm?

Could be the modules don't match the kernel.  gcc-3.3 bombs out with an 
impressive compiler error (see below) on i386, thus the i386 packages 
all are a bit outdated (kvm-17 from dec last year IIRC).  If an update 
kernel was released meanwhile the kvm modules and the kernel have 
different versions ...

cheers,
   Gerd

> gcc-3.3 -I /usr/src/packages/BUILD/kvm-26/qemu/../user -Wall -O2 -g -fno-strict-aliasing -I /usr/src/packages/BUILD/kvm-26/kernel/include -fomit-frame-pointer -I. -I.. -I/usr/src/packages/BUILD/kvm-26/qemu/target-i386 -I/usr/src/packages/BUILD/kvm-26/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__user= -I/usr/src/packages/BUILD/kvm-26/qemu/fpu -DHAS_AUDIO -I/usr/src/packages/BUILD/kvm-26/qemu/slirp  -c -o qemu-kvm.o /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c: In function `kvm_cpu_exec':
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c:472: warning: implicit declaration of function `exit'
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c: In function `kvm_shutdown':
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c:624: warning: implicit declaration of function `qemu_system_reset_request'
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c: In function `kvm_qemu_init_env':
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c:804: error: unable to find a register to spill in class `SIREG'
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c:804: error: this is the insn:
> (insn:HI 37 35 38 0 0x40514478 (parallel [
>             (set (reg:SI 67)
>                 (const_int 0 [0x0]))
>             (set (reg/f:SI 0 eax [64])
>                 (plus:SI (ashift:SI (reg:SI 2 ecx [66])
>                         (const_int 2 [0x2]))
>                     (reg/f:SI 0 eax [64])))
>             (set (reg/f:SI 2 ecx [orig:65 cenv ] [65])
>                 (plus:SI (ashift:SI (reg:SI 2 ecx [66])
>                         (const_int 2 [0x2]))
>                     (reg/v/f:SI 1 edx [orig:59 cenv ] [59])))
>             (set (mem/s:BLK (reg/f:SI 0 eax [64]) [0 copy+0 S25712 A128])
>                 (mem/s:BLK (reg/v/f:SI 1 edx [orig:59 cenv ] [59]) [0 S25712 A128]))
>             (use (reg:SI 2 ecx [66]))
>             (use (reg:SI 19 dirflag))
>         ]) 464 {rep_movsi} (insn_list 3 (insn_list 32 (insn_list 34 (insn_list 35 (nil)))))
>     (expr_list:REG_DEAD (reg:SI 19 dirflag)
>         (expr_list:REG_DEAD (reg:SI 2 ecx [66])
>             (expr_list:REG_UNUSED (reg/f:SI 2 ecx [orig:65 cenv ] [65])
>                 (expr_list:REG_UNUSED (reg/f:SI 0 eax [64])
>                     (expr_list:REG_UNUSED (reg:SI 67)
>                         (nil)))))))
> /usr/src/packages/BUILD/kvm-26/qemu/qemu-kvm.c:804: confused by earlier errors, bailing out


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

      parent reply	other threads:[~2007-06-01 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01  7:53 install kvm on opensuse10.2 Maria Casale
     [not found] ` <740826.70253.qm-saLSbkMqh37GRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
2007-06-01 12:42   ` Gerd Hoffmann [this message]

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=4660144C.5010005@redhat.com \
    --to=kraxel-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=grisu46-whZMOeQn8C0@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.