Skip to content

Could not build on MacBook Pro M3 Max - Sequoia 15.3.2 (24D81) #41

@edjubert

Description

@edjubert

The linsk build --vm-debug command fail with a timeout:

╭─ me in ~
╰─   linsk build --vm-debug
time=2025-04-03T15:51:06.155+02:00 level=INFO msg="Starting to download file" caller=storage from=https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/aarch64/alpine-virt-3.18.3-aarch64.iso to=/Users/me/.linsk/alpine-3.18.3-aarch64.img
time=2025-04-03T15:51:08.177+02:00 level=INFO msg="Successfully downloaded file" caller=storage from=https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/aarch64/alpine-virt-3.18.3-aarch64.iso to=/Users/me/.linsk/alpine-3.18.3-aarch64.img out-size="65 MB"
time=2025-04-03T15:51:08.180+02:00 level=INFO msg="Starting to download file" caller=storage from=https://github.com/qemu/qemu/raw/86305e864191123dcf87c3af639fddfc59352ac6/pc-bios/edk2-aarch64-code.fd.bz2 to=/Users/me/.linsk/edk2-aarch64-code.fd
time=2025-04-03T15:51:09.398+02:00 level=INFO msg="Successfully downloaded file" caller=storage from=https://github.com/qemu/qemu/raw/86305e864191123dcf87c3af639fddfc59352ac6/pc-bios/edk2-aarch64-code.fd.bz2 to=/Users/me/.linsk/edk2-aarch64-code.fd out-size="67 MB"
time=2025-04-03T15:51:09.399+02:00 level=INFO msg="Building VM image" caller=storage tags=3.18.3-aarch64 overwriting=false dst=/Users/me/.linsk/3.18.3-aarch64-linsk1.qcow2
time=2025-04-03T15:51:09.476+02:00 level=WARN msg="Using unrestricted VM networking" caller=storage subcaller=imgbuilder subcaller=vm
time=2025-04-03T15:51:09.481+02:00 level=INFO msg="Booting the VM" caller=storage subcaller=imgbuilder subcaller=vm
time=2025-04-03T15:52:09.483+02:00 level=WARN msg="A VM boot timeout detected, consider running with --vm-debug to investigate" caller=storage subcaller=imgbuilder subcaller=vm
time=2025-04-03T15:52:09.483+02:00 level=WARN msg="Canceling the VM context" caller=storage subcaller=imgbuilder subcaller=vm
qemu-system-aarch64: terminating on signal 15 from pid 70351 (<unknown process>)
time=2025-04-03T15:52:09.499+02:00 level=ERROR msg="Failed to start the VM" error="vm boot timeout (serial log: '[2012 chars trimmed]n X24 0x00000000001FFFFF  X25 0x0000000000000000  X26 0x000000005FD35000  X27 0x0000000000000003\\n X28 0x000000005FD3D020   FP 0x00000000476BB8A0   LR 0x000000005FD37E08  \\n\\n  V0 0x0000000000000000 0000000000000000   V1 0x0000000000000000 0000000000000000'); run vm login handler: context canceled (qemu stderr log: 'qemu-system-aarch64: terminating on signal 15 from pid 70351 (<unknown process>)')"

I've linsk clean and build again of course

I've installed qemu with Brew and I tried linsk installed with go and downloaded binaries v0.2.2 and v0.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions