kfd: error getting iommu info












2














I got this error during boot process.



[15.757121] kfd kfd: error getting iommu info. is the iommu enabled?
[15.757182] kfd kfd: Error initializing iommuv2 for device (1002:1318)
[15.757245] Creating topology SYSFS entries
[15.757376] kfd kfd: device (1002:1318) NOT added due to errors


How can I fix it?










share|improve this question





























    2














    I got this error during boot process.



    [15.757121] kfd kfd: error getting iommu info. is the iommu enabled?
    [15.757182] kfd kfd: Error initializing iommuv2 for device (1002:1318)
    [15.757245] Creating topology SYSFS entries
    [15.757376] kfd kfd: device (1002:1318) NOT added due to errors


    How can I fix it?










    share|improve this question



























      2












      2








      2







      I got this error during boot process.



      [15.757121] kfd kfd: error getting iommu info. is the iommu enabled?
      [15.757182] kfd kfd: Error initializing iommuv2 for device (1002:1318)
      [15.757245] Creating topology SYSFS entries
      [15.757376] kfd kfd: device (1002:1318) NOT added due to errors


      How can I fix it?










      share|improve this question















      I got this error during boot process.



      [15.757121] kfd kfd: error getting iommu info. is the iommu enabled?
      [15.757182] kfd kfd: Error initializing iommuv2 for device (1002:1318)
      [15.757245] Creating topology SYSFS entries
      [15.757376] kfd kfd: device (1002:1318) NOT added due to errors


      How can I fix it?







      linux boot






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 31 '18 at 9:59









      galoget

      36319




      36319










      asked Feb 17 '16 at 18:11









      mlibre

      564615




      564615






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Found this from a Google Search:



          UEFI boot was a red herring. The real problem was that you need a kfd.rules file in /etc/udev/rules.d. The file must say:



          KERNEL=="kfd", MODE="0666"


          Installing mainline 3.19 in Ubuntu 14.10 created this file during package installation (we think?), but Ubuntu 15.04 does not create this file by default. You must do it by hand. Then the HSA software stack works!



          Problem solved.






          share|improve this answer























          • Welcome to Unix.stackexchange! I recommend you take the tour.
            – Stephen Rauch
            Jan 23 '17 at 1:04



















          0














          Bad BIOS UEFI tables are a common problem, which yield a non funtional iommu.



          If on X86 or AMD64 try:



          Edit the file /etc/default/grub:



          Change the line



          GRUB_CMDLINE_LINUX=""


          To:



          GRUB_CMDLINE_LINUX="iommu=pt"


          Run:



          sudo update-grub


          Reboot.





          In many cases the "pass through" function of the kernel will provide iommu funtionality also the BIOS is foobar. The HSA software stack will run on a system with a working iommu funtionality without tiggering the iommu error message.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f263901%2fkfd-error-getting-iommu-info%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Found this from a Google Search:



            UEFI boot was a red herring. The real problem was that you need a kfd.rules file in /etc/udev/rules.d. The file must say:



            KERNEL=="kfd", MODE="0666"


            Installing mainline 3.19 in Ubuntu 14.10 created this file during package installation (we think?), but Ubuntu 15.04 does not create this file by default. You must do it by hand. Then the HSA software stack works!



            Problem solved.






            share|improve this answer























            • Welcome to Unix.stackexchange! I recommend you take the tour.
              – Stephen Rauch
              Jan 23 '17 at 1:04
















            0














            Found this from a Google Search:



            UEFI boot was a red herring. The real problem was that you need a kfd.rules file in /etc/udev/rules.d. The file must say:



            KERNEL=="kfd", MODE="0666"


            Installing mainline 3.19 in Ubuntu 14.10 created this file during package installation (we think?), but Ubuntu 15.04 does not create this file by default. You must do it by hand. Then the HSA software stack works!



            Problem solved.






            share|improve this answer























            • Welcome to Unix.stackexchange! I recommend you take the tour.
              – Stephen Rauch
              Jan 23 '17 at 1:04














            0












            0








            0






            Found this from a Google Search:



            UEFI boot was a red herring. The real problem was that you need a kfd.rules file in /etc/udev/rules.d. The file must say:



            KERNEL=="kfd", MODE="0666"


            Installing mainline 3.19 in Ubuntu 14.10 created this file during package installation (we think?), but Ubuntu 15.04 does not create this file by default. You must do it by hand. Then the HSA software stack works!



            Problem solved.






            share|improve this answer














            Found this from a Google Search:



            UEFI boot was a red herring. The real problem was that you need a kfd.rules file in /etc/udev/rules.d. The file must say:



            KERNEL=="kfd", MODE="0666"


            Installing mainline 3.19 in Ubuntu 14.10 created this file during package installation (we think?), but Ubuntu 15.04 does not create this file by default. You must do it by hand. Then the HSA software stack works!



            Problem solved.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 31 '18 at 10:10









            galoget

            36319




            36319










            answered Jan 23 '17 at 0:58









            Mohd Ridzuan Isa

            1




            1












            • Welcome to Unix.stackexchange! I recommend you take the tour.
              – Stephen Rauch
              Jan 23 '17 at 1:04


















            • Welcome to Unix.stackexchange! I recommend you take the tour.
              – Stephen Rauch
              Jan 23 '17 at 1:04
















            Welcome to Unix.stackexchange! I recommend you take the tour.
            – Stephen Rauch
            Jan 23 '17 at 1:04




            Welcome to Unix.stackexchange! I recommend you take the tour.
            – Stephen Rauch
            Jan 23 '17 at 1:04













            0














            Bad BIOS UEFI tables are a common problem, which yield a non funtional iommu.



            If on X86 or AMD64 try:



            Edit the file /etc/default/grub:



            Change the line



            GRUB_CMDLINE_LINUX=""


            To:



            GRUB_CMDLINE_LINUX="iommu=pt"


            Run:



            sudo update-grub


            Reboot.





            In many cases the "pass through" function of the kernel will provide iommu funtionality also the BIOS is foobar. The HSA software stack will run on a system with a working iommu funtionality without tiggering the iommu error message.






            share|improve this answer




























              0














              Bad BIOS UEFI tables are a common problem, which yield a non funtional iommu.



              If on X86 or AMD64 try:



              Edit the file /etc/default/grub:



              Change the line



              GRUB_CMDLINE_LINUX=""


              To:



              GRUB_CMDLINE_LINUX="iommu=pt"


              Run:



              sudo update-grub


              Reboot.





              In many cases the "pass through" function of the kernel will provide iommu funtionality also the BIOS is foobar. The HSA software stack will run on a system with a working iommu funtionality without tiggering the iommu error message.






              share|improve this answer


























                0












                0








                0






                Bad BIOS UEFI tables are a common problem, which yield a non funtional iommu.



                If on X86 or AMD64 try:



                Edit the file /etc/default/grub:



                Change the line



                GRUB_CMDLINE_LINUX=""


                To:



                GRUB_CMDLINE_LINUX="iommu=pt"


                Run:



                sudo update-grub


                Reboot.





                In many cases the "pass through" function of the kernel will provide iommu funtionality also the BIOS is foobar. The HSA software stack will run on a system with a working iommu funtionality without tiggering the iommu error message.






                share|improve this answer














                Bad BIOS UEFI tables are a common problem, which yield a non funtional iommu.



                If on X86 or AMD64 try:



                Edit the file /etc/default/grub:



                Change the line



                GRUB_CMDLINE_LINUX=""


                To:



                GRUB_CMDLINE_LINUX="iommu=pt"


                Run:



                sudo update-grub


                Reboot.





                In many cases the "pass through" function of the kernel will provide iommu funtionality also the BIOS is foobar. The HSA software stack will run on a system with a working iommu funtionality without tiggering the iommu error message.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 31 '18 at 10:10









                galoget

                36319




                36319










                answered Dec 25 '17 at 18:47









                Jan

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f263901%2fkfd-error-getting-iommu-info%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Morgemoulin

                    Scott Moir

                    Souastre