Hi,
On 23/11/2023 05:25, xin zhang wrote:
In none root cell, start command is :
jailhouse cell linux -i /home/file/rootfs.cpio -d
configs/arm64/dts/AMA0.dtb configs/arm64/linux.cell /home/file/Image -c
"console=ttyAMA0,115200 root=/dev/ram0 ramdisk_size=0x1000000
earlycon=pl011,0x28000000"
Okay. Are you absolutely sure, that the device tree matches with the
cell configuration? I wonder why the kernel tries to access virtual (!)
address 0x1388, which apparently has no mapping. In case everything is
configured correctly, then we have here some issue with the kernel, and
you should debug in this direction.
Ralf
在2023年11月22日星期三 UTC+8 21:15:15<Ralf Ramsauer> 写道:
On 22/11/2023 07:25, xin zhang wrote:
> when I run linux image on jailhouse, guset serial port print follow
> errors: where I can get ways to sovle it?
Please provide more context. Does this happen in the root or
non-root cell?
Ralf
>
>
> [ 0.069576][ 0] [ T0] Mount-cache hash table entries: 1024
(order:
> 1, 8192 bytes, linear)
> [ 0.078110][ 0] [ T0] Mountpoint-cache hash table entries:
1024
> (order: 1, 8192 bytes, linear)
> [ 0.087451][ 0] [ T2] Unable to handle kernel paging
request at
> virtual address 0000000000001388
> [ 0.096606][ 0] [ T2] Mem abort info:
> [ 0.100564][ 0] [ T2] ESR = 0x96000005
> [ 0.104789][ 0] [ T2] EC = 0x25: DABT (current EL), IL =
32 bits
> [ 0.111299][ 0] [ T2] SET = 0, FnV = 0
> [ 0.115522][ 0] [ T2] EA = 0, S1PTW = 0
> [ 0.119834][ 0] [ T2] Data abort info:
> [ 0.123883][ 0] [ T2] ISV = 0, ISS = 0x00000005
> [ 0.128898][ 0] [ T2] CM = 0, WnR = 0
> [ 0.133034][ 0] [ T2] [0000000000001388] user address but
> active_mm is swapper
> [ 0.140600][ 0] [ T2] Internal error: Oops: 96000005 [#1] SMP
> [ 0.146667][ 0] [ T2] Modules linked in:
> [ 0.150892][ 0] [ T2] CPU: 0 PID: 2 Comm: kthreadd Not tainted
> 5.4.18-101+ #2
> [ 0.158367][ 0] [ T2] Source Version:
> e7f24793ad667e777f2cf6dab620d082517f6075
> [ 0.165929][ 0] [ T2] Hardware name: FT-2000/4-D4-DSK
Development
> Board (DT)
> [ 0.173317][ 0] [ T2] pstate: 80000005 (Nzcv daif -PAN -UAO)
> [ 0.179302][ 0] [ T2] pc : __alloc_pages_nodemask+0xf8/0x308
> [ 0.185283][ 0] [ T2] lr : __alloc_pages_nodemask+0xe0/0x308
> [ 0.191263][ 0] [ T2] sp : ffffff8031867c30
> [ 0.195749][ 0] [ T2] x29: ffffff8031867c30 x28:
0000000000800700
> [ 0.202258][ 0] [ T2] x27: ffffff8031823a80 x26:
00000000ffffffff
> [ 0.208766][ 0] [ T2] x25: 0000000000400dc0 x24:
0000000000000001
> [ 0.215273][ 0] [ T2] x23: 0000000000000000 x22:
ffffffc0113fa000
> [ 0.221781][ 0] [ T2] x21: 0000000000000002 x20:
ffffffc0113f9000
> [ 0.228289][ 0] [ T2] x19: 0000000000400dc0 x18:
0000000000000014
> [ 0.234797][ 0] [ T2] x17: 000000009242c113 x16:
00000000b8b3e41b
> [ 0.241305][ 0] [ T2] x15: 00000000b31b39bd x14:
0000000000000000
> [ 0.247817][ 0] [ T2] x13: 0000000000000001 x12:
0000000000000001
> [ 0.254325][ 0] [ T2] x11: 0000000002e03c00 x10:
0000000005c05800
> [ 0.260833][ 0] [ T2] x9 : 0000000000000191 x8 :
0000000000000004
> [ 0.267340][ 0] [ T2] x7 : ffffff8032fe0378 x6 :
0000000000000000
> [ 0.273848][ 0] [ T2] x5 : 0000000000000003 x4 :
0000000000000000
> [ 0.280355][ 0] [ T2] x3 : 0000000000001380 x2 :
0000000000000000
> [ 0.286863][ 0] [ T2] x1 : 0000000000000001 x0 :
0000000000000000
> [ 0.293370][ 0] [ T2] Call trace:
> [ 0.296978][ 0] [ T2] __alloc_pages_nodemask+0xf8/0x308
> [ 0.302609][ 0] [ T2] copy_process+0x1a4/0x1340
> [ 0.307536][ 0] [ T2] _do_fork+0x80/0x370
> [ 0.311934][ 0] [ T2] kernel_thread+0x6c/0x90
> [ 0.316686][ 0] [ T2] kthreadd+0x1e0/0x270
> [ 0.321173][ 0] [ T2] ret_from_fork+0x10/0x18
> [ 0.325924][ 0] [ T2] Code: 3901c3a0 a9450ba3 b9406fa1
b5000b62
> (b9400860)
> [ 0.333224][ 0] [ T2] ---[ end trace 7e9dcf3f049b9227 ]---
>
> --
> 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/a3ea29e3-da4c-4352-a328-9a04c86b8b1en%40googlegroups.com
<https://groups.google.com/d/msgid/jailhouse-dev/a3ea29e3-da4c-4352-a328-9a04c86b8b1en%40googlegroups.com>
<https://groups.google.com/d/msgid/jailhouse-dev/a3ea29e3-da4c-4352-a328-9a04c86b8b1en%40googlegroups.com?utm_medium=email&utm_source=footer
<https://groups.google.com/d/msgid/jailhouse-dev/a3ea29e3-da4c-4352-a328-9a04c86b8b1en%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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/dfb71410-9ebc-4c01-87a2-4cd8e9f22308n%40googlegroups.com <https://groups.google.com/d/msgid/jailhouse-dev/dfb71410-9ebc-4c01-87a2-4cd8e9f22308n%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/d55b7419-79f5-4c37-aaa4-d78fef2c26fa%40oth-regensburg.de.