Upgrade to 7.6 but amd ryzan cpu always not support.



  • Hello,
    I has upgrade xcp-ng to 7.6 rc version.The IOMMU has support it.But the amd ryzan cpu always not support it.It's may need kernel 4.11 version.Could upgrade new kernel in the feature?



  • @akong77 We have an alternate kernel 4.9 available https://github.com/xcp-ng/xcp/wiki/Alternate-kernel

    However, is there a specific kernel config that you want from 4.11?

    # grep IOMMU /boot/config-4.4.0+10  | grep -v \#
    CONFIG_GART_IOMMU=y
    CONFIG_CALGARY_IOMMU=y
    CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
    CONFIG_IOMMU_HELPER=y
    CONFIG_IOMMU_API=y
    CONFIG_IOMMU_SUPPORT=y
    CONFIG_IOMMU_IOVA=y
    CONFIG_AMD_IOMMU=y
    CONFIG_AMD_IOMMU_V2=m
    CONFIG_INTEL_IOMMU=y
    CONFIG_INTEL_IOMMU_FLOPPY_WA=y
    

    and

    # grep IOMMU /boot/config-4.9.0+0 | grep -v \#
    CONFIG_GART_IOMMU=y
    CONFIG_CALGARY_IOMMU=y
    CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
    CONFIG_IOMMU_HELPER=y
    CONFIG_IOMMU_API=y
    CONFIG_IOMMU_SUPPORT=y
    CONFIG_IOMMU_IOVA=y
    CONFIG_AMD_IOMMU=y
    CONFIG_AMD_IOMMU_V2=m
    CONFIG_INTEL_IOMMU=y
    CONFIG_INTEL_IOMMU_FLOPPY_WA=y
    


  • Thanks a lot.
    I use xl dmesg this command I found this message.

    (XEN) [    0.478742] AMD-Vi: IOMMU 0 Enabled.
    (XEN) [    1.670562] xenoprof: Initialization failed. AMD processor family 23 is not supported
    

    I know IOMMU is support at XCP-ng 7.6.But cpu not support it.



  • @akong77 The error seems to point out that "xenoprof Initialization failed".

    Do you have issue in creating or bringing your VMs online?



  • @r1 I has update from 7.5 to 7.6.It's only one VM has virtual disk problem.Another Vm is all ok.I don't know what's this problem?



  • Do you see any error on VM start?

    And was that VM working when you were on 7.5?



  • @r1 Only one can't start is show "virtual disk could not be found".I deattach disk and delete this vm.And re-create new vm then attach orig disk.It's all ok.
    This VM can running on 7.5 because I first xcp-ng version is 7.5. I use import to xcp-ng from virtualbox.



  • I want upgrade to 7.6 because it's will restart system when use xcp-ng 7.5. But I don't know what problem.I think maybe AMD CPU support problem or IOMMU.So, I upgrade it.



  • I don't think its related to AMD CPU Support.

    You just have to attach the disk correctly and mark it bootable via xe.

    If it still fails, check your /var/log/SMlog



  • OK,whatever is all ok.

    xenoprof: Initialization failed. AMD processor family 23 is not supported
    

    Could any solution?



  • I have that on my Intel processor too. Everything works fine.

    (XEN) [    2.213196] xenoprof: Initialization failed. Intel processor family 6 model 158is not supported
    


  • Ohh....OK,I will test it.Thanks a lot.



  • Just got a Ryzen 2700X in the lab. Everything works fine (I just lost 10min to find the "VMX" option to enable it in the BIOS)