Skip to content

Issue running KVM in Spike.  #12

@tobywenman

Description

@tobywenman

Hey, when I follow the instructions described here: https://github.com/kvm-riscv/howto/wiki/KVM-RISCV64-on-Spike I run into the following problem:

When I try and boot into the KVM it hangs on this step:

[   82.580745] cpuidle: using governor menu

and it seems to go into some kind of wait loop:

core   0: 0xffffffff800a9e2a (0x0207c7b3) div     a5, a5, zero
core   0: 0xffffffff800a9e2e (0x0100000f) pause
core   0: 0xffffffff800a9e32 (0x0000471c) c.lw    a5, 8(a4)
core   0: 0xffffffff800a9e34 (0x00008b85) c.andi  a5, 1
core   0: 0xffffffff800a9e36 (0x0000fbf5) c.bnez  a5, pc - 12
core   0: 0xffffffff800a9e2a (0x0207c7b3) div     a5, a5, zero
core   0: 0xffffffff800a9e2e (0x0100000f) pause
core   0: 0xffffffff800a9e32 (0x0000471c) c.lw    a5, 8(a4)
core   0: 0xffffffff800a9e34 (0x00008b85) c.andi  a5, 1
core   0: 0xffffffff800a9e36 (0x0000fbf5) c.bnez  a5, pc - 12
core   0: 0xffffffff800a9e2a (0x0207c7b3) div     a5, a5, zero
core   0: 0xffffffff800a9e2e (0x0100000f) pause

I think I'm using newer versions of the tools than was used in the tutorial (Linux version 6.9.0-rc3 (riscv64-unknown-linux-gnu-gcc () 13.2.0, GNU ld (GNU Binutils) 2.41)) Could that be the issue?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions