Skip to content

Quark on Arch linux #1227

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

Open
chl337 opened this issue May 9, 2024 · 4 comments
Open

Quark on Arch linux #1227

chl337 opened this issue May 9, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested

Comments

@chl337
Copy link
Collaborator

chl337 commented May 9, 2024

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

  • System: Linux ch3lt 6.8.8-zen1-1-zen ZEN SMP PREEMPT_DYNAMIC

Steps

  • Install
    • rustup toolchain install nightly-2023-12-11-x86_64-unknown-linux-gnu
    • rustup default nightly-2023-12-11-x86_64-unknown-linux-gnu
    • rustup component add rust-src
    • cargo install cargo-xbuild
    • sudo apt-get install libcap-dev
    • docker config: /etc/docker/daemon.json
  • SKIPPED
    • RDMA part
    • GPU part
  • Build/install current main

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,

  • docker run hello-world - works
  • kvm based program - works
@chl337 chl337 added documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested labels May 9, 2024
@shrik3
Copy link
Collaborator

shrik3 commented May 9, 2024

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
Copy link
Collaborator Author

chl337 commented May 9, 2024

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
Copy link
Collaborator

shrik3 commented May 9, 2024

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

@chl337
Copy link
Collaborator Author

chl337 commented May 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants