The root cause is missed some memory region in the configuration file. I 
added these regions, the crash went away.

On Wednesday, April 27, 2022 at 2:24:19 PM UTC+8 [email protected] 
wrote:

> On 13.04.22 13:44, manliang tang wrote:
> > Based on Kernel 4.19, I tried to run Jailhouse on real ARM board. I
> > build the driver/firmware/tool/configuration file successfully, copy all
> > these files to ARM board, then set the bootargs(mem=) and inert the
> > driver module. I saw the Kernel crash when run the "jailhouse enable"
> > command.
> > 1. command
> > /data # insmod jailhouse.ko
> > /data # cp jailhouse.bin /lib/firmware/
> > /data # ./jailhouse enable aml-c2.cell
> > 
> > 2. Attached is the detailed log
> > 
>
> The crash does not directly point to Jailhouse on first sight. Seems
> like some callback in ipv6_dev_get_saddr() is pointing to NULL, and the
> kernel tries to invoke it. Or do you have CONFIG_CRASH_CELL_ON_PANIC
> defined? I'm missing the output of Jailhouse itself. If it detects a
> violation and injects such a crash, that may explain the NULL as well.
>
> Jan
>
> -- 
> Siemens AG, Technology
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/a2f75d1a-f1da-42ee-84b8-fb244106448fn%40googlegroups.com.

Reply via email to