On 21.07.20 13:30, [email protected] wrote:
Hej,
looking for a hint / tip where I may go wrong.

Without pouring the whole config here,
I am on a real box, x86_64 (Intel Apollo Lake), Jailhouse-images is next, building --latest. I have a an ivshmem-net defined between the root cell and the first non-root Linux, and another one between the first NR-Linux and a second NR-Linux. The second one between the NR-Ls is working smoothly fine.

However, I cannot get the first one up. Jailhouse-console-ivshmem says the cells are connected, In Linux the device comes up fine with mem and alike, but the stats stay at zero, no carrier detected. I have checked the configs to my best knowledge, mem-regions + devices look right. Any classic pitfalls? Could this be an IRQ issue / misconfiguration?


Sounds a lot like an IRQ delivery issue. You can check that via /proc/interrupts. At the point both peers are up, they should also see config IRQs (first vector). If not, check if you have assigned the right IOMMU ID to the virtual PCI device in the root cell (use ID 1 if none or 0 was used so far). See also jailhouse-images/recipes-jailhouse/jailhouse/files/nuc6cay.c.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/15788c10-ef19-0fa7-ece9-97c3ed78ce52%40siemens.com.

Reply via email to