Hi Dan, you could try an image created with https://github.com/siemens/jailhouse-images
That will give you a reference image that is well tested and might not have the issue you ran into. Does the problem appear every time or just sometimes? Might be a race in the cpu offlining. Henning Am Wed, 23 Jan 2019 02:10:57 -0800 schrieb Dan Avram <[email protected]>: > Hello, > > I tried to run jailhouse on a BananaPi BPI-M1 as described on the > Jailhouse Documentation [1]. I configured the u-boot parameters as > described(with mem=932M vmalloc=512M), and did all the steps > described in [1] and all is fine until I run the command > > $ jailhouse cell create > ~/jailhouse/configs/arm/bannapi-freertos-demo.cell > > After running the command there is some logging on the screen [2] and > the console freezes. I tried to do it all over again, but same thing > happens. > > > > [1] > https://github.com/siemens/jailhouse/blob/master/Documentation/setup-on-banana-pi-arm-board.md > > [2] > [ 231.636652] > [ 231.638175] =============================== > [ 231.642357] [ INFO: suspicious RCU usage. ] > [ 231.646544] 4.3.3-dirty #1 Tainted: G O > [ 231.651503] ------------------------------- > [ 231.655685] include/trace/events/sched.h:89 suspicious > rcu_dereference_check() usage! [ 231.663505] > [ 231.663505] other info that might help us debug this: > [ 231.663505] > [ 231.671506] > [ 231.671506] RCU used illegally from offline CPU! > [ 231.671506] rcu_scheduler_active = 1, debug_locks = 0 > [ 231.682627] 2 locks held by swapper/1/0: > [ 231.686547] #0: ((cpu_died).wait.lock){......}, at: [<c006f46c>] > complete+0x24/0x54 [ 231.694462] #1: (&p->pi_lock){-.-.-.}, at: > [<c0054184>] try_to_wake_up+0x34/0x4a0 [ 231.702193] > [ 231.702193] stack backtrace: > [ 231.706556] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G > O 4.3.3-dirty #1 [ 231.714116] Hardware name: Allwinner sun7i > (A20) Family [ 231.719357] [<c001854c>] (unwind_backtrace) from > [<c0014140>] (show_stack+0x20/0x24) [ 231.727104] [<c0014140>] > (show_stack) from [<c02d3c4c>] (dump_stack+0x84/0xb4) [ 231.734332] > [<c02d3c4c>] (dump_stack) from [<c0077128>] > (lockdep_rcu_suspicious+0xd8/0x114) [ 231.742685] [<c0077128>] > (lockdep_rcu_suspicious) from [<c0054260>] > (try_to_wake_up+0x110/0x4a0) [ 231.751472] [<c0054260>] > (try_to_wake_up) from [<c00546d4>] (default_wake_function+0x1c/0x20) > [ 231.759996] [<c00546d4>] (default_wake_function) from [<c006ec10>] > (__wake_up_common+0x58/0x84) [ 231.768691] [<c006ec10>] > (__wake_up_common) from [<c006ecbc>] (__wake_up_locked+0x24/0x2c) > [ 231.776953] [<c006ecbc>] (__wake_up_locked) from [<c006f48c>] > (complete+0x44/0x54) [ 231.784522] [<c006f48c>] (complete) from > [<c0016614>] (arch_cpu_idle_dead+0x3c/0x9c) [ 231.792265] > [<c0016614>] (arch_cpu_idle_dead) from [<c006f78c>] > (cpu_startup_entry+0x9c/0x358) [ 231.800875] [<c006f78c>] > (cpu_startup_entry) from [<c00167a0>] > (secondary_start_kernel+0x12c/0x14c) [ 231.809918] [<c00167a0>] > (secondary_start_kernel) from [<4000966c>] (0x4000966c) > [ 231.817387] CPU1: shutdown Adding virtual PCI device 00:00.0 to > cell "FreeRTOS" Shared memory connection established: "FreeRTOS" <--> > "Banana-Pi" Created cell "FreeRTOS" Page pool usage after cell > creation: mem 77/16360, remap 5/131072 [ 231.839804] Created > Jailhouse cell "FreeRTOS" root@bananapi ~ # Unhandled data read at > 0x1c2090c(4) FATAL: unhandled trap (exception class 0x24) > pc=0xc030c584 cpsr=0x60000193 hsr=0x93840007 r0=0x40000113 > r1=0x03940393 r2=0x00000000 r3=0xdf89a90c r4=0x00000001 r5=0x00000018 > r6=0x0000010c r7=0xde3a9fbc r8=0xde3a9f90 r9=0x40000113 > r10=0x00000001 r11=0xc087fd24 r12=0xc087fcc8 r13=0xc087fcf8 > r14=0xc05c9640 Parking CPU 0 (Cell: "Banana-Pi") > -- 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]. For more options, visit https://groups.google.com/d/optout.
