when enter_hypervisor on rk3568, system reboot without oops

98 views
Skip to first unread message

Zhan Zheng

unread,
Sep 5, 2023, 4:00:57 AM9/5/23
to Jailhouse
hello, everyone. I'm porting jailhouse to rk3568 which running open harmony. 
jailhouse.ko, jailhouse.bin, jailhouse were ready, and i wrote a basic root cell to test it.
but when i `jailhouse enable rk3568.cell`, the system reboot. can someone help me pls?
thanks
rk3568.c

Zhan Zheng

unread,
Sep 5, 2023, 4:52:30 AM9/5/23
to Jailhouse
dmesg in `screen-exchange`
screen-exchange

Ralf Ramsauer

unread,
Sep 5, 2023, 6:26:26 AM9/5/23
to Zhan Zheng, Jailhouse
Hi,

What does jailhouse config-check report on your system configuration?

Ralf
> --
> 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-de...@googlegroups.com
> <mailto:jailhouse-de...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jailhouse-dev/a5a7147d-750d-4000-87f5-6ca0cc93fcb2n%40googlegroups.com <https://groups.google.com/d/msgid/jailhouse-dev/a5a7147d-750d-4000-87f5-6ca0cc93fcb2n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Mit freundlichen Grüßen

Dr. Ralf Ramsauer
Labor für Digitalisierung
Fakultät für Informatik und Mathematik

Ostbayerische Technische Hochschule Regensburg
Galgenbergstrasse 32
93053 Regensburg

Tel.: +49 (0)941 943-9267
E-Mail: ralf.r...@oth-regensburg.de
http://www.oth-regensburg.de

Zhan Zheng

unread,
Sep 5, 2023, 8:44:46 PM9/5/23
to Jailhouse

%% ./jailhouse-config-check ~/works/jailhouse/configs/arm64/rk3568.cell
Reading configuration set:
  Architecture:  arm64
  Root cell:     RK3568 (/home/zyz/works/jailhouse/configs/arm64/rk3568.cell)
Overlapping memory regions inside cell: None
Overlapping memory regions with hypervisor: None
Missing PCI MMCONFIG interceptions: None
Missing resource interceptions for architecture arm64: None

Zhan Zheng

unread,
Sep 5, 2023, 11:18:25 PM9/5/23
to Jailhouse
i tracked the codes, and found out the 'hypervisor/arch/arm64/entry.S: hvc #0' turn the machine reboot, can anyone point out the reason for me?
thanks

bot crack

unread,
Sep 5, 2023, 11:41:11 PM9/5/23
to Jailhouse
Does linux enable CONFIG_VIRTUALIZATION? What about KVM?

Zhan Zheng

unread,
Sep 6, 2023, 2:00:53 AM9/6/23
to Jailhouse

I tried to enable CONFIG_VIRTUALIZATION & CONFIG_KVM. dmesg (the attachment below) shows KVM inited successfully, but `jailhouse enable rk3568.cell` still rebooting system 
screen-exchange
Reply all
Reply to author
Forward
0 new messages