Date
1 - 7 of 7
Purpose of the service-os and software-defined-cockpit bundles
Hi folks,
I was upgrading my system to ACRN v0.2 today and wanted to ask a couple of questions regarding two bundles that we install as part of the process, namely the service-os [1] and software-defined-cockpit [2] bundles: 1. The software-defined-cockpit bundle includes various media and graphics pieces (inc. Weston), do we still need to also install the desktop bundle? 2. The software-defined-cockpit installs the ioc-cbc-tools on the system. These are not functional on standard, off-the-shelf HW such as NUCs and UP2. Is there a way we could make these only start if running on supported HW? One can 'mask' them manually (disabling is not sufficient as they include "WantedBy=basic.target" and "WantedBy=multi-user.target") but a more automatic mechanism would be nice. 3. The service-os bundle includes "mcelog", but it does not seem to run/be functional by default. How can I start it? [1] service-os: https://github.com/clearlinux/clr-bundles/blob/master/bundles/service-os [2] software-defined-cockpit: https://github.com/clearlinux/clr-bundles/blob/master/bundles/software-defined-cockpit Thanks! Geoffroy |
|
Auke Kok <auke-jan.h.kok@...>
On 09/26/2018 09:04 AM, Geoffroy Van Cutsem wrote:
Is there a way we could make these only start if running on supported HW?Solutions: - use udev rules to start the units - create unit dependencies on virtual devices Either those will work, but they require that userspace can somehow through kernel events or device nodes determine that the hardware support is there. Auke |
|
Miguel Bernal Marin <miguel.bernal.marin@...>
Hi folks,As yo said "software-defined-cockpit" bundle has needed bits to work without desktop bundle. That's why it was created. 2. The software-defined-cockpit installs the ioc-cbc-tools on the system. These are not functional on standard, off-the-shelf HW such as NUCs and UP2. Is there a way we could make these only start if running on supported HW? One can 'mask' them manually (disabling is not sufficient as they include "WantedBy=basic.target" and "WantedBy=multi-user.target") but a more automatic mechanism would be nice.We need to ask to "ioc-cbc-tools" to improve their tool/systemd services, to start only when on supported HW. 3. The service-os bundle includes "mcelog", but it does not seem to run/be functional by default. How can I start it?It should be started by /usr/lib/systemd/system/multi-user.target.wants/mcelog.service -- Regards, Miguel Bernal Marin Open Source Technology Center https://clearlinux.org Intel Corporation |
|
toggle quoted message
Show quoted text
-----Original Message-----I believe that's the crux of the issue, it's a UART you connect to. Is there a way you can trigger a udev rule/system unit based on a Product Name or something? The boot firmware on the platform is SBL (if that makes any difference). Thanks, Geoffroy |
|
toggle quoted message
Show quoted text
-----Original Message-----OK, I will test without the desktop bundle and see how it goes. Is that working for you?2. The software-defined-cockpit installs the ioc-cbc-tools on the system.These are not functional on standard, off-the-shelf HW such as NUCs and I tried to start it manually (it's disabled by default) but 'mcelog' complains there is no /dev/mcelog file (that does not happen when run Clear Linux natively). I suspect we may be missing a kernel driver or udev rule? -- |
|
Miguel Bernal Marin <miguel.bernal.marin@...>
You are right, is missing CONFIG_X86_MCELOG_LEGACY on SOS.OK, I will test without the desktop bundle and see how it goes.of questions regarding two bundles that we install as part of the process, I just enable it, it will be available for the next Clear Linux release.
|
|
toggle quoted message
Show quoted text
-----Original Message-----Thank you Miguel. Geoffroy
|
|