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

container cannot be successfully started on the machine with the arm architecture #320

Open
sunchengzhu opened this issue Oct 12, 2022 · 2 comments
Assignees

Comments

@sunchengzhu
Copy link
Contributor

I am using a mac with m1 chip, and the process is stuck on starting container docker-godwoken-1.

⠿ Container docker-godwoken-1                        Waiting              6.8s

docker-godwoken-1 keeps brushing the logs below

qemu: uncaught target signal 11 (Segmentation fault) - core dumped
/var/lib/layer2/entrypoint.sh: line 226:    14 Segmentation fault      godwoken --version
@jjyr
Copy link
Contributor

jjyr commented Oct 13, 2022

The m1 support is broken by the new version of ckb-vm. It is fixed in nervosnetwork/ckb-vm#277

We need to wait for ckb upgrade to the latest ckb-vm version, then we can enable m1 build.

@jjyr
Copy link
Contributor

jjyr commented Dec 8, 2022

The PR is merged godwokenrises/godwoken#882.

We need to support the arm version image and integrate it with Kicker.

IMO we should improve user experience by providing more context before we support the arm version:

  • Check host architecture and return an error message and a link to help the user understand the problem.
  • Provide manual build instructions so users can build Godwoken locally.
  • Provide a guide to instructing users to use VM to run Kicker on their m1 chip Mac.

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

No branches or pull requests

4 participants