No output from Erika on Xen

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
JohannKnorr
Newbie
Posts: 5
Joined: Wed May 15, 2019 1:47 pm

No output from Erika on Xen

Post by JohannKnorr » Fri May 17, 2019 10:37 am

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
Newbie
Posts: 4
Joined: Wed Aug 29, 2018 8:46 am

Re: No output from Erika on Xen

Post by l.cuomo » Fri May 17, 2019 2:49 pm

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
Newbie
Posts: 5
Joined: Wed May 15, 2019 1:47 pm

Re: No output from Erika on Xen

Post by JohannKnorr » Sun May 19, 2019 5:31 pm

But that's Erika v3, isn't Erika v2 supposed to support it on arm?

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: No output from Erika on Xen

Post by paolo.gai » Sun May 19, 2019 6:32 pm

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
Newbie
Posts: 5
Joined: Wed May 15, 2019 1:47 pm

Re: No output from Erika on Xen

Post by JohannKnorr » Mon May 20, 2019 8:11 am

Thank you, I'll let you know if I was successful.
Edit: I can't seem to find the patch.

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: No output from Erika on Xen

Post by paolo.gai » Mon May 20, 2019 11:20 am

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

JohannKnorr
Newbie
Posts: 5
Joined: Wed May 15, 2019 1:47 pm

Re: No output from Erika on Xen

Post by JohannKnorr » Fri May 24, 2019 10:14 am

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
Newbie
Posts: 5
Joined: Wed May 15, 2019 1:47 pm

Re: No output from Erika on Xen

Post by JohannKnorr » Wed May 29, 2019 3:14 pm

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

Post Reply