Tuesday, 2020-07-07

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-dev00:46
*** crobinso has quit IRC00:58
*** amorenoz has quit IRC01:03
*** hashar has quit IRC01:11
*** amorenoz has joined #kata-dev01:11
*** bpradipt has joined #kata-dev04:07
*** Yarboa has quit IRC04:38
*** bpradipt has quit IRC05:38
*** bpradipt has joined #kata-dev05:38
*** dklyle has quit IRC06:10
*** brtknr has quit IRC06:15
*** jodh has joined #kata-dev06:20
*** brtknr has joined #kata-dev06:24
*** Yarboa has joined #kata-dev06:51
*** sameo has joined #kata-dev07:00
*** sgarzare has joined #kata-dev07:05
*** pcaruana has joined #kata-dev07:16
*** bpradipt has quit IRC07:27
*** bpradipt has joined #kata-dev07:28
*** hashar has joined #kata-dev07:42
*** fgiudici has joined #kata-dev07:45
*** pcaruana has quit IRC08:34
*** pcaruana has joined #kata-dev08:35
*** bpradipt has quit IRC08:44
*** sgarzare_ has joined #kata-dev08:47
*** sgarzare has quit IRC08:47
*** sgarzare__ has joined #kata-dev08:49
*** sgarzare_ has quit IRC08:52
*** pcaruana has quit IRC09:03
*** pcaruana has joined #kata-dev09:15
*** georgk has quit IRC09:25
*** georgk has joined #kata-dev09:26
*** georgk has quit IRC09:30
*** georgk has joined #kata-dev09:30
*** bpradipt has joined #kata-dev09:46
*** sgarzare__ has quit IRC10:07
*** hashar has quit IRC10:07
*** sgarzare__ has joined #kata-dev10:11
*** fgiudici has quit IRC10: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 be11:08
kata-irc-bothandled     = 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)    |                                         ^^^^^^^^^^^^^^^^^ not11:08
kata-irc-botfound 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 default11:08
kata-irc-botwarning: 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-boterror: 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 changes11: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 found11:18
*** sgarzare has joined #kata-dev11:19
*** sgarzare__ has quit IRC11:20
*** sgarzare_ has joined #kata-dev11:44
*** sgarzare has quit IRC11:45
*** sgarzare_ has quit IRC11:47
*** hashar has joined #kata-dev11:52
*** fgiudici has joined #kata-dev12:16
*** sgarzare has joined #kata-dev12:21
*** sameo has quit IRC12:24
*** devimc has joined #kata-dev12:38
*** sameo has joined #kata-dev12:43
*** crobinso has joined #kata-dev13:20
*** devimc has quit IRC13:26
*** devimc has joined #kata-dev13:26
*** dklyle has joined #kata-dev14:00
*** sgarzare_ has joined #kata-dev14:23
*** sgarzare has quit IRC14:26
*** sgarzare_ has quit IRC14:59
*** sgarzare_ has joined #kata-dev15:08
*** fgiudici has quit IRC15:40
*** fgiudici_ has joined #kata-dev15:40
*** sameo has quit IRC15:43
*** sameo has joined #kata-dev16:01
*** sgarzare_ has quit IRC16:28
*** jodh has quit IRC17:01
*** fgiudici_ has quit IRC17:23
*** hashar has quit IRC17:47
*** bpradipt has quit IRC18:34
*** devimc has quit IRC19:04
*** th0din has joined #kata-dev19:04
*** th0din_ has quit IRC19:05
*** hashar has joined #kata-dev19:34
*** crobinso has quit IRC20:36
*** sameo has quit IRC21:09
*** Yarboa has quit IRC21:10
*** iamweswilson has quit IRC22:50
*** jbryce has quit IRC22:50
*** stackedsax has quit IRC22:51
*** hashar has quit IRC23:15

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