QuarkContainer / Quark

A secure container runtime with CRI/OCI interface
Apache License 2.0
323 stars 48 forks source link

Quark on Arch linux #1227

Open chl337 opened 6 months ago

chl337 commented 6 months ago

I am trying to get Quark run on Arch, but without success.

Log

[INFO] [0/1252284295] Start container e21ba01a4c3d91a4c4eb2a4fecb9c426e067dbbad077bc2c2dd22e726ec60283 [DEBUG] [0/1252284324] executing hook ddd Hook { path: "/proc/562/exe", args: ["libnetwork-setkey", "-exec-root=/var/run/docker", "e21ba01a4c3d91a4c4eb2a4fecb9c426e067dbbad077bc2c2dd22e726ec60283", "bf3aa43e1f69"], env: [], timeout: None } [INFO] [0/1252289748] SetMemRegion phyAddr = 4000000000, hostAddr=4000000000; pageMmapsize = 6000 MB [INFO] [0/1252291056] SetMemRegion phyAddr = 200000000, hostAddr=200000000; pageMmapsize = 800 MB [INFO] [0/1252291181] set map region start=4000000000, end=4600000000 [INFO] [0/1252291308] KernelMap1G start is 4000000000, end is 4400000000 [INFO] [0/1252291311] KernelMap1G start is 200000000, end is 280000000 [INFO] [0/1252293591] [0] the tssSegment stack is 434001f000 [INFO] [0/1252293631] start enter guest[0]: entry is 4000001000, stack is 4540080000 [ERROR] [0/1252293738] Panic: CPU[0] Unexpected exit reason: Shutdown, regs is kvm_regs { rax: 0x11, rbx: 0xdd, rcx: 0x400028d000, rdx: 0x0, rsi: 0x454001a100, rdi: 0x4340000000, rsp: 0x4540080000, rbp: 0x0, r8: 0x6, r9: 0x0, r10: 0x0, r11: 0x0, r12: 0x0, r13: 0x0, r14: 0x0, r15: 0x0, rip: 0x4000001000, rflags: 0x10002,

shrik3 commented 6 months ago

I play the "it works for me" card. (joke intended)

archlinux
kernel: Linux EWPC 6.6.30-1-lts #1 SMP PREEMPT_DYNAMIC
Quark: main@9186485b
nightly-2023-12-11-x86_64-unknown-linux-gnu (default)

But I'm on an Intel CPU, would that be the case?

chl337 commented 6 months ago

But I'm on an Intel CPU, would that be the case?

Don't think so :( Model name: 11th Gen Intel(R) Core(TM) i5-1135G7

shrik3 commented 6 months ago

Also since you are using a "linux-zen" kernel. Could you try vanilla mainline or lts?

chl337 commented 6 months ago

Also since you are using a "linux-zen" kernel. Could you try vanilla mainline or lts?

I did try with linux-lts, still the same error.