Monday, 2021-12-13

kata-irc-bot<jianyong.wu> Hello @zeroping, you can try cgroupv1 to do the test first. I have not tested cgroupv2 in kata.05:18
kata-irc-bot<zeroping> @fupan  Yeah, I switched to 1.5.8.05:19
kata-irc-bot<zeroping> And yes, @jianyong.wu, I put in the kernel parameter to use cgroups v1 for now.05:20
kata-irc-bot<jianyong.wu> does it work?05:20
kata-irc-bot<zeroping> I'm currently stuck on an issue where QEMU is bailing, complaining about something with the NVDIMM parameters being passed in.05:21
kata-irc-bot<zeroping> Unfortunately, I'm actually visiting some family right now, and don't seem to have my remote SSH access working...05:21
kata-irc-bot<jianyong.wu> OK, you can try qemu 6.1 later and remember set pflash to uefi image05:22
kata-irc-bot<zeroping> Yep, it's 6.1.0 (Debian 1:6.1+dfsg-8+b1)05:23
kata-irc-bot<zeroping> But 'set pflash to uefi image' is new to me - I'll be looking that up05:24
kata-irc-bot<zeroping> Found the error: "qemu-system-aarch64: -device nvdimm,id=nv0,memdev=mem0: memory hotplug is not enabled: missing acpi-ged device"05:25
kata-irc-bot<zeroping> Thanks for the help, BTW.05:25
kata-irc-bot<jianyong.wu> yeah, that because kata must start from uefi on arm64 for now, so you need set uefi image at kata configuration05:27
kata-irc-bot<zeroping> Yep, working on learning how to do that now :slightly_smiling_face:05:29
kata-irc-bot<zeroping> OK, I give up, I think I need a hint.05:38
kata-irc-bot<zeroping> I have the debian package qemu-efi-aarch64 installed, which gives me05:38
kata-irc-bot<zeroping> But when passed into the pflashes = [...] in the kata config (a total guess on my part) , that never shows up in the QEMU command line args.05:40
kata-irc-bot<jianyong.wu> let me give you a link, try https://github.com/kata-containers/kata-containers/blob/main/docs/how-to/how-to-hotplug-memory-arm64.md#install-uefi-rom05:48
kata-irc-bot<zeroping> Quite helpful, although this is definitely a lot to pick up at once.05:57
kata-irc-bot<zeroping> I'm guessing, based on what that script did, that I want: `pflashes = ["/usr/share/kata-containers/kata-flash0.img", "/usr/share/kata-containers/kata-flash1.img"]`05:57
kata-irc-bot<zeroping> I'm still not sure I understand why I don't see a -pflash parameter being passed to QEMU05:59
kata-irc-bot<zeroping> I may also just need to tackle this another day when I've had more sleep.06:00
kata-irc-bot<jianyong.wu> yeah, you can confirm if the configuration path is right as there 2 dirs can be used as configure path, one is /etc/kata-containers the other is /usr/share/defalt/kata-containers06:02
kata-irc-bot<jianyong.wu> OK, you can try it tomorrow, take a nice sleep first.06:04
kata-irc-bot<zeroping> Oh my. I seem to have both a `/etc/kata-containers/configuration.toml` and `/usr/share/defaults/kata-containers/configuration.toml`. That might explain some things.06:07
kata-irc-bot<zeroping> kata-runtime does seem to be opening `/etc/kata-containers/configuration.toml` though, which is the one I've been editing.06:07
kata-irc-bot<zeroping> OK, that shook something loose. It looks like it got farther, but yes, I need to be awake in bout 6 hours. I appreciate the help quite a lot though. I appreciate hearing from someone with experience getting this working on aarch64.06:25

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!