On 08.09.20 10:00, Jan-Marc Stranz wrote:
> Hello everyone!
> 
> Now I have build the BSP (Linux Kernel 5.4.61, Root-FS with hypervisor
> "jailhouse") with Yocto/Poky "dunfell".
> 
> I'm using an embedded PC with "Intel Core i7-8559U".
> This CPU supports "VT-x" and "VT-d".
> 
> Now I don't have the errors with "python" either.
> 
> However, I still cannot create a configuration for the root cell!
> 
> If I execute the command "jailhouse config create sysconfig.c", I get
> the following messages:
> 
> Traceback (most recent call last):
>   File "/usr/libexec/jailhouse/jailhouse-config-create", line 270, in
> <module>
>     (iommu_units, extra_memregs) = sysfs_parser.parse_dmar(pcidevices,
> ioapics,
>   File "/usr/lib/python3.8/site-packages/pyjailhouse/sysfs_parser.py",
> line 377, in parse_dmar
>     raise RuntimeError('DMAR region size cannot be identified.\n'
> RuntimeError: DMAR region size cannot be identified.
> Target Linux must run with Intel IOMMU enabled.
> 
> 
> These messages are similar to the messages when I run the "jailhouse
> hardware check" command.
> (I had already reported that.)
> 
> What can be the problem?
> What else could I explore or try out?
> 
> The kernel command line is:
> BOOT_IMAGE=/boot/bzImage
> root=PARTUUID=4f8941f9-aabf-4b0e-ae9f-5857dc993a3d rootwait
> net.ifnames=0 biosdevname=0 ro quiet loglevel=3 console=tty1
> consoleblank=0 intel_iommu=off
> 

During "jailhouse config create", intel_iommu needs to be on. Later on
during usage, it must be off.

Jan

> I've tried to read out "/sys/firmware/acpi/tables/DMAR", but this is
> probably a binary file.
> I suspect that I need to use the "Intel ASL compiler / decompiler".
> However, this is not included in the BSP.
> 
> I've tried a lot now, but so far without success.
> I really need help now!
> 
> Best regards
> Jan.
> 

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate 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/033bbd67-9d28-c615-2120-765f0a93ab00%40siemens.com.

Reply via email to