Comments (2)
Guest kernels needs to be compiled with KVM_PTP support as a mechanism for clock sync.
CONFIG_PTP_1588_CLOCK=y
CONFIG_PTP_1588_CLOCK_KVM=y
We can see that all the arm microvm kernel configs are missing CONFIG_PTP_1588_CLOCK_KVM=y
incomparison to all the x86 configs. This discrepancy is due to 4.14 arm64 missing the feature which has been upstreamed since 5.3, good discussion here as experienced by kata-containers: kata-containers/packaging#693
We can see that the CI build logs indicate that it failed & was using the 4.14 as well.
default-vmlinux.bin: OK
--
| chmod 0400 default-vmlinux.bin
| _submodules/firecracker/tools/devtool -y build_kernel --config tools/kernel-configs/microvm-kernel-aarch64-4.14.config
The solution for this issue needs 2 parts:
- guest kernel configs need the missing property
- whatever kernel we choose needs to have ptp_kvm commit: https://github.com/torvalds/linux/blob/16a8829130ca22666ac6236178a6233208d425c3/Documentation/virt/kvm/arm/ptp_kvm.rst#L4
from firecracker-containerd.
@BinSquare Thanks for taking a look at the issue.
The two parts solution makes sense to me. I did try compiling the kernel with
CONFIG_PTP_1588_CLOCK=y
CONFIG_PTP_1588_CLOCK_KVM=y
But since we don't have the ptp_kvm patch, the change did not make any difference.
from firecracker-containerd.
Related Issues (20)
- Is firecracker-containerd compatible with CRI now?
- Comparison with kata using firecracker? HOT 1
- volume subdir has no `integ-test` Makefile rule
- Failed to extract layer from example remote snapshotter HOT 5
- Handle task deletions after unexpected VM exit
- Upgrade golangci-lint to v1.50.1 or latest HOT 1
- Privileged Docker firecracker HOT 1
- TestSnapshotterMetrics_Isolated is failing against ARM
- Upgrade min required version of Go, 1.16 throws undefined: unsafe. Slice error HOT 1
- Upgrade containerd/ttrpc from v1.1.1 to v1.1.2
- Don't die on goroutine panic HOT 1
- [Snaps] Filesystem errors when loading a firecracker VM snapshot on a different machine HOT 1
- Remote snapshotter example fails on docker image with `failed to mount <...>: no such file or directory: unknown` error
- `make kernel` does not work
- Attempting to replicate AWS Lambda locally for debugging purposes HOT 2
- Unable to run with jailer
- Failed to dial VM over vsock: context deadline exceeded HOT 2
- Race condition / bug in tasks exec
- ttrpc: cannot marshal unknown type: *proto.CreateVMRequest when using socket HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firecracker-containerd.