XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Upgrade to 7.6 but amd ryzan cpu always not support.

    Scheduled Pinned Locked Moved Development
    13 Posts 3 Posters 2.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      akong77
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • R Offline
        r1 XCP-ng Team
        last edited by

        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
        
        1 Reply Last reply Reply Quote 0
        • A Offline
          akong77
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • R Offline
            r1 XCP-ng Team
            last edited by

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

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

            1 Reply Last reply Reply Quote 0
            • A Offline
              akong77
              last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • R Offline
                r1 XCP-ng Team
                last edited by

                Do you see any error on VM start?

                And was that VM working when you were on 7.5?

                1 Reply Last reply Reply Quote 0
                • A Offline
                  akong77
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    akong77
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      r1 XCP-ng Team
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        akong77
                        last edited by

                        OK,whatever is all ok.

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

                        Could any solution?

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          r1 XCP-ng Team
                          last edited by

                          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
                          
                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            akong77
                            last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • olivierlambertO Offline
                              olivierlambert Vates 🪐 Co-Founder CEO
                              last edited by

                              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)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post