On 2018-02-12 14:31, bharat gohil wrote: > Jan, > > Please find attached log.
Log doesn't look complete. Also, I bet my patch didn't hit the right line but rather went inside the while-loop in paging_create... Jan > > Thanks, > Bharat > > On Mon, Feb 12, 2018 at 4:53 PM, Jan Kiszka <jan.kis...@siemens.com > <mailto:jan.kis...@siemens.com>> wrote: > > On 2018-02-12 11:32, bharat gohil wrote: > > Hi Jan, > > > > Already tried this configuration(pl check attached config file) and I > > had also removed shared memory and PCI device but result are same, > > Initializing Jailhouse hypervisor v0.8 (9-g5eec601-dirty) on CPU 2 > > Code location: 0x0000ffffc0200060 > > Page pool usage after early setup: mem 61/16356, remap 48/131072 > > Initializing processors: > > CPU 2... OK > > CPU 0... OK > > CPU 1... OK > > Adding virtual PCI device 00:00.0 to cell "XXXXX" > > Page pool usage after late setup: mem 66/16356, remap 53/131072 > > FATAL: instruction abort at 0x40f44ee8 > > > > FATAL: unhandled trap (exception class 0x20) > > Cell state before exception: > > pc: ffffff8000940ee8 lr: ffffff8000940ee8 spsr: 600001c5 EL1 > > sp: ffffffc03be75f90 esr: 20 1 0000084 > > x0: 0000000000000000 x1: 0000000000000000 x2: 0000000000000000 > > x3: 0000000000000000 x4: 0000000000000000 x5: 0000000000000000 > > x6: 0000000000000000 x7: 0000000000000000 x8: 0000000000000000 > > x9: 0000000000000000 x10: 0000000000000000 x11: 0000000000000000 > > x12: 0000000000000000 x13: 0000000000000000 x14: 0000000000000000 > > x15: 0000000000000000 x16: 0000000000000000 x17: 0000000000000000 > > x18: 0000000000000000 x19: ffffff8000944910 x20: ffffff8010000000 > > x21: 0000000000000000 x22: 0000000000000001 x23: 0000000000000001 > > x24: 0000000000000004 x25: ffffffc03be720a0 x26: ffffffc03be76090 > > x27: ffffff8008d97000 x28: ffffffc0031e0000 x29: ffffffc03be75f90 > > OK, let's try to debug this differently: Could you catch the output > during startup when this patch is applied? > > diff --git a/hypervisor/paging.c b/hypervisor/paging.c > index b950a816..80aa15a9 100644 > --- a/hypervisor/paging.c > +++ b/hypervisor/paging.c > @@ -286,6 +286,7 @@ int paging_create(const struct paging_structures > *pg_structs, > virt &= PAGE_MASK; > size = PAGE_ALIGN(size); > > + printk("%s: %p phys %lx size %lx virt %lx flags %lx\n", > __func__, pg_structs, phys, size, virt, flags); > while (size > 0) { > const struct paging *paging = pg_structs->root_paging; > page_table_t pt = pg_structs->root_table; > > Jan > > -- > Siemens AG, Corporate Technology, CT RDA IOT SES-DE > Corporate Competence Center Embedded Linux > > > > > -- > Regards, > Bharat Gohil > Sr.Software Engineer > bharat.go...@harman.com <mailto:bharat.go...@harman.com> > +919427054633 -- 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 jailhouse-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.