Skip to contentSkip to conversation

install kvm on opensuse10.2

DISCUSSION Maria Casale 2 participants 2 messages Jun 1, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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?

Tnx

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

-------------------------------------------------------------------------
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/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

#2 lore raw
In reply to a message not in the archive
Quoted 12 lines · Maria Casale

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

Quoted 1 line

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

Quoted 30 lines

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)))))))
Quoted 1 line

/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/