On 03.09.20 19:28, Jan-Marc Stranz wrote:
> Thanks! 
> 
> Is the entry "intel_iommu=off" still needed for x86_64 targets?

Yes, that applies to "running Jailhouse", just not to "checking hardware
compatibility".

Jan

> 
> Best regards
> Jan.
> 
> 
> Jan Kiszka <[email protected] <mailto:[email protected]>>
> schrieb am Do., 3. Sep. 2020, 19:01:
> 
>     On 03.09.20 15:07, Jan-Marc Stranz wrote:
>     > Hi Jan!
>     >
>     > I've moved to another target with "Intel Core i7-8559U".
>     > This CPU supports "VT-x" and "VT-d".
>     >
>     > Doing a hardware check I get the following messages:
>     >
>     > Feature                         Availability
>     > ------------------------------  ------------------
>     > Number of CPUs > 1              ok
>     > Long mode                       ok
>     > Traceback (most recent call last):
>     >   File "/usr/libexec/jailhouse/jailhouse-hardware-check", line 147, in
>     > <module>
>     >     iommu, _ = sysfs_parser.parse_dmar(pci_devices, ioapics,
>     dmar_regions)
>     >   File "/usr/lib/python3.7/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.
>     >
>     > I'm using Linux Kernel 5.4.61 with the patches and config options from
>     > "jailhouse.cfg".
>     >
>     > The kernel command line contains "intel_iommu=off" (as specified under
>     > "Software requirements" at https://github.com/siemens/jailhouse).
>     > I've also tried "intel_iommu=on" but without success.
>     >
>     > What is the reason for this again?
> 
>     I could be that your kernel does not support what is needed to check the
>     hardware. It may still be fine to run Jailhouse. Do not invest too much
>     into the checker - or use a regular distro kernel for the check (which
>     may also partially fail these days due to CONFIG_STRICT_DEVMEM).
> 
>     > It's very difficult (at least for me) to get jailhouse up and running.
> 
>     Focus on the configuration, not the checking. In fact, the checker has a
>     decreasing value because (x86) hardware shipped in 2020 has all features
>     we need, practically always.
> 
>     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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jailhouse-dev/CAOOGbpg5t1ykh1OaS_rKXMzfL2u9F%2BigLuoA3wSg4boAhxtuWQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jailhouse-dev/CAOOGbpg5t1ykh1OaS_rKXMzfL2u9F%2BigLuoA3wSg4boAhxtuWQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.


-- 
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/9ff0b838-a854-3ef0-6487-dbda6d488184%40siemens.com.

Reply via email to