Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golemsp fails to run on vmware Fusion in Mac "vmrt: error: failed to set MSR 0x48d to 0x5600000016" #12

Open
JPeetz opened this issue Aug 5, 2021 · 3 comments

Comments

@JPeetz
Copy link

JPeetz commented Aug 5, 2021

Hello,

I am trying to run golemsp on Ubuntu 20.04, virtualised through VMware Fusion on a MacBook Pro.
Unfortunately I keep on getting the same error all over again.
Am working in tech Support and found a few hints already, unfortunately none helped to resolve the issue.

Error: runtime test failure

Caused by:
    [2021-08-05T19:25:48Z INFO  ya_runtime_vm::guest_agent_comm] Waiting for Guest Agent socket ...
    vmrt: error: failed to set MSR 0x48d to 0x5600000016
    vmrt: /qemu/target/i386/kvm.c:2713: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.
    thread 'main' panicked at 'Failed to start runtime: Connection refused (os error 111)', runtime/src/main.rs:421:10
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    
[2021-08-05T19:25:49Z ERROR golemsp::service] child provider exited too early: Ok(ExitStatus(ExitStatus(256)))
[2021-08-05T19:25:49Z WARN  golemsp::service] provider exited with: Custom { kind: Other, error: "process exited too early" }

Any help is highly appreciated.

Cheers, Joerg

@figurestudios
Copy link
Owner

I believe it's that it's because of KVM not properly working in the VM. It could be as simple as ticking in virtualization in the CPU settings, but I doubt it. AFAIK nobody has succeeded with a Mac provider, but you might be able to ask in the discord and ask? Or perhaps you could take a look at the raspberry pi build as that is also on ARM?

I will be sharing this in the discord channel for you too, so others may or may not join in

@ControlCplusControlV
Copy link

Is this an m1 build by chance?

@JPeetz
Copy link
Author

JPeetz commented Aug 6, 2021

No, not a M1 MacBook Pro.
I enabled the Hypervisor applications in the Ubuntu VM.
The CPU is a 2.2 Ghz 6 Core Intel i7.
Installed Rust and Python, and KVM.
...so I don't know what it may be....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants