Giter Club home page Giter Club logo

Comments (8)

akauppi avatar akauppi commented on July 23, 2024 1

The 14.3.1 (not 14.3) may be a key, here.

I updated macOS today, and started getting something similar on one VM that was in "running" state over the update, and had one "native" mount as well. Did not have other VM's so cannot say do much compares. Creating a new VM works.

First, after the update:

$ multipass shell rust
shell failed: qemu-system-x86_64: -accel hvf: Unknown Error

This is also listed as a warning (not an error), in the /Library/Logs/Multipass/multipassd.log:

[2024-02-09T15:48:29.119] [info] [rust] process started
[2024-02-09T15:48:29.126] [debug] [rust] Waiting for SSH to be up
[2024-02-09T15:48:29.131] [info] [daemon] Starting Multipass 1.13.0+mac
[2024-02-09T15:48:29.131] [info] [daemon] Daemon arguments: /Library/Application Support/com.canonical.multipass/bin/multipassd --verbosity debug
[2024-02-09T15:48:29.147] [warning] [rust] qemu-system-x86_64: -accel hvf: Unknown Error

[2024-02-09T15:48:29.147] [warning] [qemu-system-x86_64] 
[2024-02-09T15:48:29.147] [info] [rust] process state changed to NotRunning
[2024-02-09T15:48:29.147] [error] [rust] process error occurred Crashed program: qemu-system-x86_64; error: Process crashed
[2024-02-09T15:48:29.148] [error] [rust] error: program: qemu-system-x86_64; error: Process crashed

I restarted the VM, thinking that might help. After the restart:

$ mp info
info failed: ssh connection failed: 'Timeout connecting to 192.168.64.74'

Edit:

Got the original VM up, by (macOS side):

$ sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
$ sudo launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist

Also remembered: within the VM, the kernel version had recently changed from 5.15.0-92 to 5.15.0-94, by apt upgrade. I needed to update one driver because of this - no idea if these are connected. Hoping to be helpful; sorry if noise.

from multipass.

townsend2010 avatar townsend2010 commented on July 23, 2024

Hi @stephendoren!

Sorry you are having this issue. Could you please provide more logs in order for us to better help diagnose the issue? Thanks!

from multipass.

stephendoren avatar stephendoren commented on July 23, 2024

I uninstalled and re-installed multipass, now it keeps asking me to authenticate the service, as below:

launch failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.

I followed the instruction from this page: https://multipass.run/docs/authenticating-clients, but not working.
It seems to fall into a bad loop.

# multipass launch -vvv         
launch failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.

# multipass authenticate
Please enter passphrase: 
authenticate failed: Passphrase is not set. Please `multipass set local.passphrase` with a trusted client.

# multipass set local.passphrase
Please enter passphrase: 
Please re-enter passphrase: 
set failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.

from multipass.

townsend2010 avatar townsend2010 commented on July 23, 2024

Hi @stephendoren,

It appears a different user authenticated first with the daemon. Did you happen to use sudo multipass .. after (re)installing Multipass? You could try to see if something like sudo multipass list works. If this does, then you can do $ multipass set local.passphrase and set a passphrase that you can then use to authenticate with your normal user.

If this doesn't work, then you could try these steps under the "How to recover on macOS" section.

from multipass.

stephendoren avatar stephendoren commented on July 23, 2024

Hi @townsend2010,

Thanks a lot. The problem was resolved by this:

If this doesn't work, then you could try these steps under the "How to recover on macOS" section.

Now my Multipass is working.

from multipass.

townsend2010 avatar townsend2010 commented on July 23, 2024

Hi @stephendoren!

Glad that got it working for you! Are saying that the original issue you reported here is no longer occurring and we can close this or is there still an issue? Thanks!

from multipass.

stephendoren avatar stephendoren commented on July 23, 2024

Are saying that the original issue you reported here is no longer occurring and we can close this or is there still an issue? Thanks!

Yea, issue closed. Thanks.

from multipass.

townsend2010 avatar townsend2010 commented on July 23, 2024

Thanks!

from multipass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.