Closed shibd closed 2 years ago
I can see you're on m1 Mac but qemu-system-x86_64
is being used instead of qemu-system-aarch64
.
Are you using iTerm in Intel mode (Rosetta2) when running colima?
Looks similar to https://github.com/abiosoft/colima/issues/204#issuecomment-1083220386.
@abiosoft Thanks, I installed the limactl of X86_64. I try to solve this way: https://github.com/lima-vm/lima/issues/543#issuecomment-1052076572
But I have a new problem when starting colima. I recive this error:
colima start --arch x86_64
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] preparing network ... context=vm
INFO[0000] starting ... context=vm
> msg="[hostagent] Overriding \"http_proxy\" value \"http://127.0.0.1:7890\" with \"127.0.0.1:7890\" from limactl process environment"
> msg="[hostagent] Overriding \"https_proxy\" value \"http://127.0.0.1:7890\" with \"127.0.0.1:7890\" from limactl process environment"
> msg="[hostagent] Replacing \"http_proxy\" value \"127.0.0.1:7890\" with \"192.168.5.2:7890\""
> msg="[hostagent] Replacing \"https_proxy\" value \"127.0.0.1:7890\" with \"192.168.5.2:7890\""
> msg="[hostagent] could not find firmware for \"/Users/baozi/.colima/_wrapper/bin/qemu-system-x86_64\" (hint: try setting `firmware.legacyBIOS` to `true`)" fields.level=fatal
> msg="host agent process has exited: exit status 1"
FATA[0000] error starting vm: error at 'starting': exit status 1
@abiosoft Thanks, I installed the limactl of X86_64. I try to solve this way: lima-vm/lima#543 (comment)
But I have new problem, when starting colima. I review this error:
colima start --arch x86_64 INFO[0000] starting colima INFO[0000] runtime: docker INFO[0000] preparing network ... context=vm INFO[0000] starting ... context=vm > msg="[hostagent] Overriding \"http_proxy\" value \"http://127.0.0.1:7890\" with \"127.0.0.1:7890\" from limactl process environment" > msg="[hostagent] Overriding \"https_proxy\" value \"http://127.0.0.1:7890\" with \"127.0.0.1:7890\" from limactl process environment" > msg="[hostagent] Replacing \"http_proxy\" value \"127.0.0.1:7890\" with \"192.168.5.2:7890\"" > msg="[hostagent] Replacing \"https_proxy\" value \"127.0.0.1:7890\" with \"192.168.5.2:7890\"" > msg="[hostagent] could not find firmware for \"/Users/baozi/.colima/_wrapper/bin/qemu-system-x86_64\" (hint: try setting `firmware.legacyBIOS` to `true`)" fields.level=fatal > msg="host agent process has exited: exit status 1" FATA[0000] error starting vm: error at 'starting': exit status 1
/Users/baozi/.colima/_wrapper/bin/qemu-system-x86_64
is exist.
If I don't use --arch
param, I also get the following error
colima start
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] preparing network ... context=vm
INFO[0000] creating and starting ... context=vm
> msg="[hostagent] Overriding \"http_proxy\" value \"http://127.0.0.1:7890\" with \"127.0.0.1:7890\" from limactl process environment"
> msg="[hostagent] Overriding \"https_proxy\" value \"http://127.0.0.1:7890\" with \"127.0.0.1:7890\" from limactl process environment"
> msg="[hostagent] Replacing \"http_proxy\" value \"127.0.0.1:7890\" with \"192.168.5.2:7890\""
> msg="[hostagent] Replacing \"https_proxy\" value \"127.0.0.1:7890\" with \"192.168.5.2:7890\""
> msg="[hostagent] could not find firmware for \"aarch64\" (hint: try copying the \"edk-/Users/baozi/.colima/_wrapper/bin/qemu-system-aarch64-code.fd\" firmware to $HOME/.local/share/qemu/)" fields.level=fatal
> msg="host agent process has exited: exit status 1"
FATA[0000] error starting vm: error at 'creating and starting': exit status 1
Do you have android-sdk installed? Can you install the head version brew install --head colima
and see if it works?
Do you have android-sdk installed? Can you install the head version brew install --head colima and see if it works?
It doesn't seem to work. Do you need to confirm my configuration or version, thanks
colima version
colima version HEAD-3f244a9
git commit: 3f244a943b8b6e869f7c3857c00b7e5a6ed0801b
colima start
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] preparing network ... context=vm
INFO[0000] starting ... context=vm
> [hostagent] Overriding "http_proxy" value "http://127.0.0.1:7890" with "127.0.0.1:7890" from limactl process environment
> [hostagent] Overriding "https_proxy" value "http://127.0.0.1:7890" with "127.0.0.1:7890" from limactl process environment
> [hostagent] Replacing "http_proxy" value "127.0.0.1:7890" with "192.168.5.2:7890"
> [hostagent] Replacing "https_proxy" value "127.0.0.1:7890" with "192.168.5.2:7890"
> "[hostagent] could not find firmware for \"aarch64\" (hint: try copying the \"edk-/Users/baozi/.colima/_wrapper/bin/qemu-system-aarch64-code.fd\" firmware to $HOME/.local/share/qemu/)" fields.level=fatal
> host agent process has exited: exit status 1
FATA[0000] error starting vm: error at 'starting': exit status 1
Why could not find firmware for \"aarch64\
This is likely your issue https://github.com/abiosoft/colima/issues/331#issuecomment-1153311995. Is your homebrew installation aarch64?
Describe the Issue
When I start colima I get the following error.
Version
Colima Version:
colima version 0.4.2
Lima Version:
limactl version 0.11.0
Qemu Version
qemu-img version 7.0.0
Operating System
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.