On 18.03.19 08:24, Burak Atalay wrote:
Hello everyone,

I am on a system with AMD EPYC 7551P 32-Core Processor. I am trying to install and run Jailhouse, however I am encountering the following error when I issue a “jailhouse hardware check” command:

Feature                         Availability

------------------------------  ------------------

Number of CPUs > 1              ok

Long mode                             ok

AMD-V (SVM)                         ok

   NPT                                      ok

   Decode assist                       ok

   AVIC                                     ok

   Flush by ASID                      ok

AMD-Vi (IOMMU #0)               ok

   Extended feature register     ok

   Valid base register                ok

   SMI filter                               ok

     Valid filter registers             ok

Traceback (most recent call last):

  File "/usr/local/libexec/jailhouse/jailhouse-hardware-check", line 313, in <module>

     he_feature = iommu[n].amd_features if iommu[n].amd_features != 0 \

IndexError: list index out of range

This error seems impossible with current master branch. I also tried to reproduce this with your data (and some local hacks to pick it up), but this didn't work, the line was passed successfully.

Could you confirm that you are using f743631213a1 without modifications? Then please instrument the python code to find out why something like

    for n in range(len(iommu)):
        [...]
        he_feature = iommu[n].amd_features [...]

could possibly raise this index error. TIA!

The good news is that the check should have succeeded, based on your data: hardware events are available, says the ACPI table.

Jan


I have enabled SVM mode and IOMMU on the BIOS settings. Also GRUB parameters had “amd_iommu=on” by default. I tried setting it to off as well, to see if anything would change. Attached you can find the system information collected by the “tools/jailhouse config collect data.tar” command.

Any help is much appreciated.

Thanks and best regards,

Burak Atalay

--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to