On 14/11/2023 07:31, xin zhang wrote:
What is the reason for the following error printed when using Jailhouse
to start Linux in Linux? Replacing the image is also not feasible
the error log as follows:
[ 0.092570][ 0] Unable to handle kernel paging request at virtual
address 0000400000000008
Two things: Did you reserve the memory area for jailhouse via
device-tree/cmdline? Second, did you apply jailhouse patches to the
kernel? Please apply those patches:
https://git.kiszka.org/?p=linux.git;a=shortlog;h=refs/heads/queues/jailhouse-5.14
Thanks,
Ralf
[ 0.101012][ 0] Mem abort info:
[ 0.104266][ 0] ESR = 0x96000005
[ 0.107785][ 0] Exception class = DABT (current EL), IL = 32 bits
[ 0.114204][ 0] SET = 0, FnV = 0
[ 0.117723][ 0] EA = 0, S1PTW = 0
[ 0.121328][ 0] Data abort info:
[ 0.124671][ 0] ISV = 0, ISS = 0x00000005
[ 0.128980][ 0] CM = 0, WnR = 0
[ 0.132410][ 0] [0000400000000008] user address but active_mm is swapper
[ 0.139270][ 0] Internal error: Oops: 96000005 [#1] SMP
[ 0.144636][ 0] Modules linked in:
[ 0.148156][ 0] Process kthreadd (pid: 2, stack limit =
0x(____ptrval____))
[ 0.155281][ 0] CPU: 0 PID: 2 Comm: kthreadd Not tainted 4.19.90-69+ #3
[ 0.162052][ 0] Source Version: a22085976f26303c72a6bc7cc0d4ee20ff890cf9
[ 0.168912][ 0] Hardware name: FT-2000/4-D4-DSK Development Board (DT)
[ 0.175596][ 0] pstate: 60000085 (nZCv daIf -PAN -UAO)
[ 0.180876][ 0] pc : get_partial_node.isra.24+0x38/0x298
[ 0.186330][ 0] lr : ___slab_alloc+0x3b8/0x528
[ 0.190903][ 0] sp : ffff80000a143b10
[ 0.194685][ 0] x29: ffff80000a143b10 x28: 0000400000000000
[ 0.200490][ 0] x27: ffff80000a0fbc00 x26: ffff800023e55de0
[ 0.206294][ 0] x25: 0000000000000000 x24: 0000000000000035
[ 0.212099][ 0] x23: ffff0000080edc34 x22: ffff000009539b08
[ 0.217903][ 0] x21: 0000000000000000 x20: 0000000000000001
[ 0.223707][ 0] x19: 00000000007080c0 x18: 0000000000000001
[ 0.229511][ 0] x17: 0000000000000000 x16: 0000000000000000
[ 0.235315][ 0] x15: ffff000089b4cbb7 x14: 0000000000000003
[ 0.241120][ 0] x13: ffff000009b4cbca x12: 0000000000000000
[ 0.246924][ 0] x11: ffff00000990e2a8 x10: ffff7fe000028520
[ 0.252728][ 0] x9 : ffff80000a143d90 x8 : ffff80000a126e20
[ 0.258532][ 0] x7 : 0000000000000000 x6 : 0000000080080008
[ 0.264337][ 0] x5 : 0000000000000000 x4 : ffff7fe000028520
[ 0.270141][ 0] x3 : 00000000007080c0 x2 : ffff800023e55df0
[ 0.275945][ 0] x1 : 0000400000000000 x0 : ffff000008315028
[ 0.281749][ 0] Call trace:
[ 0.284654][ 0] get_partial_node.isra.24+0x38/0x298
[ 0.289755][ 0] ___slab_alloc+0x3b8/0x528
[ 0.293978][ 0] __slab_alloc+0x5c/0x78
[ 0.297937][ 0] kmem_cache_alloc_node+0xd8/0x220
[ 0.302774][ 0] copy_process.isra.8+0x1dc/0x1308
[ 0.307611][ 0] _do_fork+0x78/0x370
[ 0.311306][ 0] kernel_thread+0x48/0x58
[ 0.315352][ 0] kthreadd+0x1c8/0x268
[ 0.319135][ 0] ret_from_fork+0x10/0x18
[ 0.323182][ 0] Code: b90067a3 f90037a2 d503201f b400117c (f9400780)
[ 0.329784][ 0] ---[ end trace df01b2bd811dec5e ]---
[ 0.334885][ 0] Kernel panic - not syncing: Fatal exception
[ 0.340604][ 0] Rebooting in 30 seconds..
[ 30.346222][ 0] Reboot failed -- System halted
thanks.
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/8b7c90c6-73bb-4e57-b705-ec1f1b692ee4n%40googlegroups.com <https://groups.google.com/d/msgid/jailhouse-dev/8b7c90c6-73bb-4e57-b705-ec1f1b692ee4n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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/adc02e82-933c-463f-9372-56f43945a2de%40oth-regensburg.de.