No output from Erika on Xen

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Locked
JohannKnorr

No output from Erika on Xen

Post by JohannKnorr »

Hi,
I'm currently in the process of running a virtual machine with Erika through the Xen hypervisor. I've been following the instructions on the wiki (https://erika.tuxfamily.org/wiki/index. ... Hypervisor), yet I fail to get any output from Erika, nor can I seem to find "/proc/sys/erika-xen/pin_state" the wiki talks about.

I should probably mention that I'm running this on a Banana Pi M1 with Debian Stretch and Xen 4.11.
Any information on what I could be doing wrong would be appreciated.
l.cuomo

Re: No output from Erika on Xen

Post by l.cuomo »

Hi,
at the moment Erika supports Xen only on x86-64. If you want to run Erika on aarch64 try the Jailhouse hypervisor http://www.erika-enterprise.com/wiki/in ... hypervisor.

Regards,
JohannKnorr

Re: No output from Erika on Xen

Post by JohannKnorr »

But that's Erika v3, isn't Erika v2 supposed to support it on arm?
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: No output from Erika on Xen

Post by paolo.gai »

Yes, ERIKA2 worked as well on Xen, it was tested on an Allwinner chip if I remember well.

Last year people from Lauterbach made ERIKA2 work on a newer Xen. I'm attaching the patch, maybe it can help solvimng your issue.

Unfortunately we never had time to integrate it into the ERIKA2 branch.

I hope it helps.

PJ
JohannKnorr

Re: No output from Erika on Xen

Post by JohannKnorr »

Thank you, I'll let you know if I was successful.
Edit: I can't seem to find the patch.
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: No output from Erika on Xen

Post by paolo.gai »

Ouch. Sorry, patch now attached :-)
erika_patch_new_xen_demo.zip
(12.17 KiB) Downloaded 1827 times
PJ
JohannKnorr

Re: No output from Erika on Xen

Post by JohannKnorr »

Hi,
I'm sorry to bother again. I'm having problems applying the patch on Erika's side. The patch revolves around creating a new template for projects, including a new option for BOARD_DATA, yet Eclipse tells me the new option is not a valid option for BOARD_DATA.
"XEN_PV_GUEST is an illegal value for BOARD_DATA"

The question is since I couldn't find it, if there's a wiki page that can help me or if anyone might have an idea what I might be doing wrong.
It seems to me that the patch assumes that the development is being done on Windows. Since I'm working on Ubuntu, I had to find the equivalent directories, meaning that I could not simply apply it.
JohannKnorr

Re: No output from Erika on Xen

Post by JohannKnorr »

I can't seem to edit my previous post. Turns out the directory structure is equal on both Linux and Windows, it's just the patch that has a slightly different structure
Locked