Closed benoitf closed 5 hours ago
it seems related to https://github.com/containers/krunkit/issues/17 or any other fixes made in this repository as I'm able to start using a version compiled from the main branch
Starts fine on my system but I don't have macos 15 installed.
cc @jakecorrenti @slp @baude
@Luap99 yes it does not seem to affect all the person using macOS
But with 5.2.5 it works on my computer and not with 5.3.0 using krunkit
Taking a look
I'm unable to reproduce by installing 5.3 from the installer on macOS 15.1. I'm still able to start a machine with krunkit v0.1.3 and podman 5.3
@benoitf have you tried using the upstream main branch of krunkit to see if that solved your issue? There's been a few commits to deal with memory limits and it will provide a --krun-log-level
flag to get some more information
it seems the issue is with machine with a lot of memory (so not all computers are affected)
and yes I'm able to start with the main branch krunkit
without the latest patch (fixing some memory issues), but the patch with krun-log-level
I have
[2024-11-14T13:25:58Z DEBUG vmm::macos::vstate] Guest memory host_addr=0x102674000 guest_addr=0 len=8000000
[2024-11-14T13:25:58Z DEBUG vmm::macos::vstate] Guest memory host_addr=0x300000000 guest_addr=40000000 len=80000000
[2024-11-14T13:25:58Z DEBUG vmm::macos::vstate] Guest memory host_addr=0x7000000000 guest_addr=100000000 len=1800000000
[2024-11-14T13:25:58Z ERROR krun] Building the microVM failed: Internal(Vm(SetUserMemoryRegion(MemoryMap)))
Error: unable to begin running krun workload
@jakecorrenti this is what I was referencing there: https://github.com/containers/podman/issues/24559#issuecomment-2476121325
I missed that comment. Seems like we might need to make a krunkit 0.1.4
Issue Description
Creating/starting a podman machine using libkrun on macOS I have the following error
Error: krunkit exited unexpectedly with exit code 1
Steps to reproduce the issue
Steps to reproduce the issue
download and install podman 5.3.0 from the releases page on macOS (sequoia 15.1)
Describe the results you received
Error: krunkit exited unexpectedly with exit code 1
Describe the results you expected
machine starts
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Tried with --log-leve=DEBUG and got this terminal window (and the command is hanging)
If I switch to podman v5.2.5 I'm able to create and start podman machines