kata-irc-bot | <saini.paramdeep> @archana.m.shinde @julio.montes do we know why sysrq-trigger will not work in kata? Technically, it should reboot the VM. Please point me the portion of code where this functionality is implemented in kata. | 00:15 |
---|---|---|
*** hashar has joined #kata-dev | 00:46 | |
*** crobinso has quit IRC | 00:58 | |
*** amorenoz has quit IRC | 01:03 | |
*** hashar has quit IRC | 01:11 | |
*** amorenoz has joined #kata-dev | 01:11 | |
*** bpradipt has joined #kata-dev | 04:07 | |
*** Yarboa has quit IRC | 04:38 | |
*** bpradipt has quit IRC | 05:38 | |
*** bpradipt has joined #kata-dev | 05:38 | |
*** dklyle has quit IRC | 06:10 | |
*** brtknr has quit IRC | 06:15 | |
*** jodh has joined #kata-dev | 06:20 | |
*** brtknr has joined #kata-dev | 06:24 | |
*** Yarboa has joined #kata-dev | 06:51 | |
*** sameo has joined #kata-dev | 07:00 | |
*** sgarzare has joined #kata-dev | 07:05 | |
*** pcaruana has joined #kata-dev | 07:16 | |
*** bpradipt has quit IRC | 07:27 | |
*** bpradipt has joined #kata-dev | 07:28 | |
*** hashar has joined #kata-dev | 07:42 | |
*** fgiudici has joined #kata-dev | 07:45 | |
*** pcaruana has quit IRC | 08:34 | |
*** pcaruana has joined #kata-dev | 08:35 | |
*** bpradipt has quit IRC | 08:44 | |
*** sgarzare_ has joined #kata-dev | 08:47 | |
*** sgarzare has quit IRC | 08:47 | |
*** sgarzare__ has joined #kata-dev | 08:49 | |
*** sgarzare_ has quit IRC | 08:52 | |
*** pcaruana has quit IRC | 09:03 | |
*** pcaruana has joined #kata-dev | 09:15 | |
*** georgk has quit IRC | 09:25 | |
*** georgk has joined #kata-dev | 09:26 | |
*** georgk has quit IRC | 09:30 | |
*** georgk has joined #kata-dev | 09:30 | |
*** bpradipt has joined #kata-dev | 09:46 | |
*** sgarzare__ has quit IRC | 10:07 | |
*** hashar has quit IRC | 10:07 | |
*** sgarzare__ has joined #kata-dev | 10:11 | |
*** fgiudici has quit IRC | 10:36 | |
kata-irc-bot | <abdasgupta> Hi, I am trying to build kata rust agent on powerpc64le architecture with `make LIBC=gnu` . I did the necessary changes for that in Makefile. I am getting following error while building: ```632 | log_child!(cfd_log, "old cwd: {}", olddir.to_str().unwrap()); | ------------------------------------------------------------- in this macro invocation | = note: this `Result` may be an `Err` variant, which should be | 11:08 |
kata-irc-bot | handled = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: 73 warnings emitted Compiling kata-agent v0.1.0 (/root/abhishek/kata-containers/src/agent) error[E0425]: cannot find value `PCI_ROOT_BUS_PATH` in this scope --> src/uevent.rs:53:41 | 53 | && self.devpath.starts_with(PCI_ROOT_BUS_PATH) | ^^^^^^^^^^^^^^^^^ not | 11:08 |
kata-irc-bot | found in this scope error[E0425]: cannot find value `PCI_ROOT_BUS_PATH` in this scope --> src/uevent.rs:72:46 | 72 | let pci_p = format!("{}/{}", PCI_ROOT_BUS_PATH, *dev_addr); | ^^^^^^^^^^^^^^^^^ not found in this scope warning: unused `#[macro_use]` import --> src/main.rs:27:1 | 27 | #[macro_use] | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default | 11:08 |
kata-irc-bot | warning: unnecessary braces around assigned value --> src/rpc.rs:1344:26 | 1344 | detail.init_daemon = { unistd::getpid() == Pid::from_raw(1) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces | = note: `#[warn(unused_braces)]` on by default error: aborting due to 2 previous errors; 2 warnings emitted For more information about this error, try `rustc --explain E0425`. | 11:08 |
kata-irc-bot | error: could not compile `kata-agent`.``` | 11:08 |
kata-irc-bot | <abdasgupta> I am not getting the same error on x86 architecture with same set of changes | 11:09 |
kata-irc-bot | <abdasgupta> Can anyone help me on this? | 11:09 |
kata-irc-bot | <fidencio> @pradipta.banerjee: ^ | 11:12 |
kata-irc-bot | <fidencio> @abdasgupta, how is your target arch defined? Taking a look at `src/agent/linux_abi.rs` you can see: ```#[cfg(any( target_arch = "powerpc64le", target_arch = "s390x", target_arch = "x86_64", target_arch = "x86" ))] pub const PCI_ROOT_BUS_PATH: &str = "/devices/pci0000:00"; #[cfg(target_arch = "aarch64")] pub const PCI_ROOT_BUS_PATH: &str = "/devices/platform/4010000000.pcie/pci0000:00";``` | 11:17 |
kata-irc-bot | <fidencio> I wonder if your target_arch is being defined as something else than powerpc64le, which would explain the PCI_ROOT_BUS_PATH not being found | 11:18 |
*** sgarzare has joined #kata-dev | 11:19 | |
*** sgarzare__ has quit IRC | 11:20 | |
*** sgarzare_ has joined #kata-dev | 11:44 | |
*** sgarzare has quit IRC | 11:45 | |
*** sgarzare_ has quit IRC | 11:47 | |
*** hashar has joined #kata-dev | 11:52 | |
*** fgiudici has joined #kata-dev | 12:16 | |
*** sgarzare has joined #kata-dev | 12:21 | |
*** sameo has quit IRC | 12:24 | |
*** devimc has joined #kata-dev | 12:38 | |
*** sameo has joined #kata-dev | 12:43 | |
*** crobinso has joined #kata-dev | 13:20 | |
*** devimc has quit IRC | 13:26 | |
*** devimc has joined #kata-dev | 13:26 | |
*** dklyle has joined #kata-dev | 14:00 | |
*** sgarzare_ has joined #kata-dev | 14:23 | |
*** sgarzare has quit IRC | 14:26 | |
*** sgarzare_ has quit IRC | 14:59 | |
*** sgarzare_ has joined #kata-dev | 15:08 | |
*** fgiudici has quit IRC | 15:40 | |
*** fgiudici_ has joined #kata-dev | 15:40 | |
*** sameo has quit IRC | 15:43 | |
*** sameo has joined #kata-dev | 16:01 | |
*** sgarzare_ has quit IRC | 16:28 | |
*** jodh has quit IRC | 17:01 | |
*** fgiudici_ has quit IRC | 17:23 | |
*** hashar has quit IRC | 17:47 | |
*** bpradipt has quit IRC | 18:34 | |
*** devimc has quit IRC | 19:04 | |
*** th0din has joined #kata-dev | 19:04 | |
*** th0din_ has quit IRC | 19:05 | |
*** hashar has joined #kata-dev | 19:34 | |
*** crobinso has quit IRC | 20:36 | |
*** sameo has quit IRC | 21:09 | |
*** Yarboa has quit IRC | 21:10 | |
*** iamweswilson has quit IRC | 22:50 | |
*** jbryce has quit IRC | 22:50 | |
*** stackedsax has quit IRC | 22:51 | |
*** hashar has quit IRC | 23:15 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!