colima icon indicating copy to clipboard operation
colima copied to clipboard

Starting x86 docker fails after Sonoma upgrade

Open marcusramberg opened this issue 2 years ago • 0 comments

Description

Used to be able to run x86 docker servers on this M1, but after the Colima upgrade, it fails to boot, and I see this crash in the logs:

 286   [   28.718564] Stopper: multi_cpu_stop+0x0/0x120 <- stop_machine_cpuslocked+0x16f/0x1b0
 287   [   28.718564] RIP: 0010:stop_machine_yield+0x2/0x10
 288   [   28.718564] Code: 48 2b 14 25 28 00 00 00 75 17 48 8b 5d f8 c9 31 d2 31 f6 31 ff c3 cc cc cc cc b8 fe ff ff ff eb d9 e8 d2 db 72 00 66 90 f3 90 <c3> cc cc cc cc 66 0f 1f 84 00 00 00 00 00 41 57 41 56 41 5
       5 41 54
 289   [   28.718564] RSP: 0018:ffffa7c980097e60 EFLAGS: 00000246
 290   [   28.718564] RAX: 0000000000000000 RBX: ffffa7c98001fdb0 RCX: 0000000000000000
 291   [   28.718564] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb2748620
 292   [   28.718564] RBP: ffffa7c98001fdd4 R08: 0000000000000000 R09: 0000000000000000
 293   [   28.718564] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
 294   [   28.718564] R13: ffffffffb2748620 R14: 0000000000000001 R15: ffffa7c98001fd01
 295   [   28.718564] FS:  0000000000000000(0000) GS:ffff919bbbc00000(0000) knlGS:0000000000000000
 296   [   28.718564] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 297   [   28.718564] CR2: ffff919bbffff000 CR3: 000000001d60a000 CR4: 00000000000006b0
 298   [   28.718564] Call Trace:
 299   [   28.718564]  <TASK>
 300   [   28.718564]  multi_cpu_stop+0x98/0x120
 301   [   28.718564]  ? stop_machine_yield+0x10/0x10
 302   [   28.718564]  cpu_stopper_thread+0x91/0x150
 303   [   28.718564]  ? sort_range+0x20/0x20
 304   [   28.718564]  smpboot_thread_fn+0x183/0x220
 305   [   28.718564]  kthread+0xe4/0x110
 306   [   28.718564]  ? kthread_complete_and_exit+0x20/0x20
 307   [   28.718564]  ret_from_fork+0x22/0x30
 308   [   28.718564]  </TASK>

Version

Colima Version:colima version 0.5.5 git commit: 6251dc2 latest from nixpkgs lima 0.17.2

Operating System

  • [ ] macOS Intel <= 12 (Monterrey)
  • [ ] macOS Intel >= 13 (Ventura)
  • [ ] macOS M1 <= 12 (Monterrey)
  • [X] macOS M1 >= 13 (Ventura)
  • [ ] Linux

Output of colima status

Hangs because of crash

Reproduction Steps

  1. colima start -a x86_64

Expected behaviour

Colima starts

Additional context

colima cli waits forever for ssh, while the image crashes

marcusramberg avatar Oct 02 '23 20:10 marcusramberg