Dear all,
I’m interested in testing some inter-cell communication on the Banana Pi M1 by using the patches provided by Mr. Henning Schild:
If I understood correctly, I need apply the following patches to jailhouse: https://groups.google.com/forum/#!topic/jailhouse-dev/TeGZNtfOV1Y
and also use the shared memory device found in https://github.com/henning-schild-work/ivshmem-guest-code/tree/jailhouse, right?
@ Henning: your settings were jailhouse 0.8 and kernel 4.15-rc4 and you are not using a YOCTO-based build , correct?
Best,
Jorge
i reproduced the patchs that Henning provided for testing the intercell communication on the bananapi, everything was okay until i executed the command:
--> jailhouse cell create bananapi-linux-demo.cell
then i got this error message:
Adding virtual PCI device 00:00.0 to cell "bananapi-linux-demo"
Shared memory connection established: "bananapi-linux-demo" <--> "Banana-Pi"
Created cell "bananapi-linux-demo"
Page pool usage after cell creation: mem 71/16360, remap 37/131072
FATAL: instruction abort at 0x7a010f00
FATAL: forbidden access (exception class 0x20)
pc=0xbf00073c cpsr=0x80000013 hsr=0x80000006
r0=0x00000000 r1=0x5d42b000 r2=0x00000008 r3=0x00000002
r4=0x00000000 r5=0xdd42b000 r6=0xdd66ab00 r7=0xbf004600
r8=0x00000004 r9=0xc0c07554 r10=0xc0c07554 r11=0xdd11beec
r12=0x00000002 r13=0xdd11be80 r14=0xbf000720
Parking CPU 0 (Cell: "Banana-Pi")
--i think there is a problem in the memory allocation for the bananapi-linux-demo, can you please tell me how can i debug that ? i verified the ivshmem mem definition for both cells root and non-root cell and they are the same ... maybe someone faced the same problem before?
thanks in advance,
Assila
i started over with the patches you provides from this link :
https://github.com/henning-schild-work/jailhouse/commits/henning/staging
and now i get this error when i execute : jailhouse enable bananapi.cell
[ 1299.460472] jailhouse: mem_region_request failed for hypervisor memory.
[ 1299.467431] jailhouse: Did you reserve the memory with "memmap=" or "mem="?
JAILHOUSE_ENABLE: Invalid argument
please can you help me to solve this problem?
Best regards,
Assila
when creating the linux inmate to test the inter-cell commuication with the patchs Henning provided, should i just create it without providing any particular configuration like Henning indicated or should i create it in conformity with this doc:
https://github.com/siemens/jailhouse/blob/master/Documentation/non-root-linux.txt
thx in advance