Fix Ubuntu 16.04 issue with Gigabyte GA-AB350 motherboard and AMD Ryzen CPU












1














I recently bought a fully new PC with Gigabyte GA-AB350-GAMING 3 and AMD Ryzen 5 1500X 3.5GHZ.



My intent was to have dual boot with Win10 for games and Ubuntu for work. So, I installed Win10 - a smooth process - and then proceeded to install Ubuntu. And all hell broke loose.



It all began with IRQ messages:




⁠⁠⁠Unexpected irq trap at vector 07




I googled around and noticed that precisely this motherboard had issues with ubuntu (or is it the other way around?) and that there was a workaround using kernel parameter acpi=off. That worked, i got to install it, but now it runs on only one core and the system locks up during shutdown (i have to press the power button to power it off).



By the way, currently I'm on



lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial


I read about it being an issue with the kernel, that you needed at least 4.10 for the motherboard to work, so I installed Ukuu and got myself the latest stable kernel




$ uname -a



Linux funkybox 4.12.10-041210-generic #201708300614 SMP Wed Aug 30 10:16:40 TC 2017 x86_64 x86_64 x86_64 GNU/Linux




However, it still shows a single CPU core



my cat /proc/cpuinfo results: https://pastebin.com/E5fhFDLj



I also notice the lack of CPU cores because sometimes the system will slow down even more than my previous several-years-old PC with tasks as simple as streaming.



If the motherboard windows app does what I think, the BIOS should be up-to-date, since I tend to pay attention to the notifications. I wish there was something of that kind for linux, a native app to update/manage BIOS.
UPDATE: I just updated BIOS from F7 to F8, so now it IS up-to-date.



Any help would be appreciated.










share|improve this question
























  • Graphics card?...
    – user692175
    Aug 31 '17 at 17:33










  • Geforce Gtx 1060. Does it have something to do with the "lack" of CPU cores? 0o
    – Frank
    Aug 31 '17 at 17:54






  • 2




    No, but it explains why you and the UF thread you quoted had been approaching it the wrong way. Instead of disabling ACPI features (which causes it to use only one core) the boot parameter you need is nomodeset (forces generic VESA graphics instead of relying on the default open source nouveaudriver) to boot the live session, install and then again to boot the installed OS and install the recommended Nvidia drivers. Only then you can remove nomodeset from Grub.
    – user692175
    Aug 31 '17 at 18:08










  • Ok, I just changed the parameters in grub and now I do see my 4 (+ 4 from HT) CPU cores. Thanks! If you could put it as an answer so you get the credit for closing the question it'd be great! ;)
    – Frank
    Aug 31 '17 at 18:36


















1














I recently bought a fully new PC with Gigabyte GA-AB350-GAMING 3 and AMD Ryzen 5 1500X 3.5GHZ.



My intent was to have dual boot with Win10 for games and Ubuntu for work. So, I installed Win10 - a smooth process - and then proceeded to install Ubuntu. And all hell broke loose.



It all began with IRQ messages:




⁠⁠⁠Unexpected irq trap at vector 07




I googled around and noticed that precisely this motherboard had issues with ubuntu (or is it the other way around?) and that there was a workaround using kernel parameter acpi=off. That worked, i got to install it, but now it runs on only one core and the system locks up during shutdown (i have to press the power button to power it off).



By the way, currently I'm on



lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial


I read about it being an issue with the kernel, that you needed at least 4.10 for the motherboard to work, so I installed Ukuu and got myself the latest stable kernel




$ uname -a



Linux funkybox 4.12.10-041210-generic #201708300614 SMP Wed Aug 30 10:16:40 TC 2017 x86_64 x86_64 x86_64 GNU/Linux




However, it still shows a single CPU core



my cat /proc/cpuinfo results: https://pastebin.com/E5fhFDLj



I also notice the lack of CPU cores because sometimes the system will slow down even more than my previous several-years-old PC with tasks as simple as streaming.



If the motherboard windows app does what I think, the BIOS should be up-to-date, since I tend to pay attention to the notifications. I wish there was something of that kind for linux, a native app to update/manage BIOS.
UPDATE: I just updated BIOS from F7 to F8, so now it IS up-to-date.



Any help would be appreciated.










share|improve this question
























  • Graphics card?...
    – user692175
    Aug 31 '17 at 17:33










  • Geforce Gtx 1060. Does it have something to do with the "lack" of CPU cores? 0o
    – Frank
    Aug 31 '17 at 17:54






  • 2




    No, but it explains why you and the UF thread you quoted had been approaching it the wrong way. Instead of disabling ACPI features (which causes it to use only one core) the boot parameter you need is nomodeset (forces generic VESA graphics instead of relying on the default open source nouveaudriver) to boot the live session, install and then again to boot the installed OS and install the recommended Nvidia drivers. Only then you can remove nomodeset from Grub.
    – user692175
    Aug 31 '17 at 18:08










  • Ok, I just changed the parameters in grub and now I do see my 4 (+ 4 from HT) CPU cores. Thanks! If you could put it as an answer so you get the credit for closing the question it'd be great! ;)
    – Frank
    Aug 31 '17 at 18:36
















1












1








1


1





I recently bought a fully new PC with Gigabyte GA-AB350-GAMING 3 and AMD Ryzen 5 1500X 3.5GHZ.



My intent was to have dual boot with Win10 for games and Ubuntu for work. So, I installed Win10 - a smooth process - and then proceeded to install Ubuntu. And all hell broke loose.



It all began with IRQ messages:




⁠⁠⁠Unexpected irq trap at vector 07




I googled around and noticed that precisely this motherboard had issues with ubuntu (or is it the other way around?) and that there was a workaround using kernel parameter acpi=off. That worked, i got to install it, but now it runs on only one core and the system locks up during shutdown (i have to press the power button to power it off).



By the way, currently I'm on



lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial


I read about it being an issue with the kernel, that you needed at least 4.10 for the motherboard to work, so I installed Ukuu and got myself the latest stable kernel




$ uname -a



Linux funkybox 4.12.10-041210-generic #201708300614 SMP Wed Aug 30 10:16:40 TC 2017 x86_64 x86_64 x86_64 GNU/Linux




However, it still shows a single CPU core



my cat /proc/cpuinfo results: https://pastebin.com/E5fhFDLj



I also notice the lack of CPU cores because sometimes the system will slow down even more than my previous several-years-old PC with tasks as simple as streaming.



If the motherboard windows app does what I think, the BIOS should be up-to-date, since I tend to pay attention to the notifications. I wish there was something of that kind for linux, a native app to update/manage BIOS.
UPDATE: I just updated BIOS from F7 to F8, so now it IS up-to-date.



Any help would be appreciated.










share|improve this question















I recently bought a fully new PC with Gigabyte GA-AB350-GAMING 3 and AMD Ryzen 5 1500X 3.5GHZ.



My intent was to have dual boot with Win10 for games and Ubuntu for work. So, I installed Win10 - a smooth process - and then proceeded to install Ubuntu. And all hell broke loose.



It all began with IRQ messages:




⁠⁠⁠Unexpected irq trap at vector 07




I googled around and noticed that precisely this motherboard had issues with ubuntu (or is it the other way around?) and that there was a workaround using kernel parameter acpi=off. That worked, i got to install it, but now it runs on only one core and the system locks up during shutdown (i have to press the power button to power it off).



By the way, currently I'm on



lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial


I read about it being an issue with the kernel, that you needed at least 4.10 for the motherboard to work, so I installed Ukuu and got myself the latest stable kernel




$ uname -a



Linux funkybox 4.12.10-041210-generic #201708300614 SMP Wed Aug 30 10:16:40 TC 2017 x86_64 x86_64 x86_64 GNU/Linux




However, it still shows a single CPU core



my cat /proc/cpuinfo results: https://pastebin.com/E5fhFDLj



I also notice the lack of CPU cores because sometimes the system will slow down even more than my previous several-years-old PC with tasks as simple as streaming.



If the motherboard windows app does what I think, the BIOS should be up-to-date, since I tend to pay attention to the notifications. I wish there was something of that kind for linux, a native app to update/manage BIOS.
UPDATE: I just updated BIOS from F7 to F8, so now it IS up-to-date.



Any help would be appreciated.







kernel cpu motherboard






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 31 '17 at 18:35

























asked Aug 31 '17 at 12:19









Frank

10616




10616












  • Graphics card?...
    – user692175
    Aug 31 '17 at 17:33










  • Geforce Gtx 1060. Does it have something to do with the "lack" of CPU cores? 0o
    – Frank
    Aug 31 '17 at 17:54






  • 2




    No, but it explains why you and the UF thread you quoted had been approaching it the wrong way. Instead of disabling ACPI features (which causes it to use only one core) the boot parameter you need is nomodeset (forces generic VESA graphics instead of relying on the default open source nouveaudriver) to boot the live session, install and then again to boot the installed OS and install the recommended Nvidia drivers. Only then you can remove nomodeset from Grub.
    – user692175
    Aug 31 '17 at 18:08










  • Ok, I just changed the parameters in grub and now I do see my 4 (+ 4 from HT) CPU cores. Thanks! If you could put it as an answer so you get the credit for closing the question it'd be great! ;)
    – Frank
    Aug 31 '17 at 18:36




















  • Graphics card?...
    – user692175
    Aug 31 '17 at 17:33










  • Geforce Gtx 1060. Does it have something to do with the "lack" of CPU cores? 0o
    – Frank
    Aug 31 '17 at 17:54






  • 2




    No, but it explains why you and the UF thread you quoted had been approaching it the wrong way. Instead of disabling ACPI features (which causes it to use only one core) the boot parameter you need is nomodeset (forces generic VESA graphics instead of relying on the default open source nouveaudriver) to boot the live session, install and then again to boot the installed OS and install the recommended Nvidia drivers. Only then you can remove nomodeset from Grub.
    – user692175
    Aug 31 '17 at 18:08










  • Ok, I just changed the parameters in grub and now I do see my 4 (+ 4 from HT) CPU cores. Thanks! If you could put it as an answer so you get the credit for closing the question it'd be great! ;)
    – Frank
    Aug 31 '17 at 18:36


















Graphics card?...
– user692175
Aug 31 '17 at 17:33




Graphics card?...
– user692175
Aug 31 '17 at 17:33












Geforce Gtx 1060. Does it have something to do with the "lack" of CPU cores? 0o
– Frank
Aug 31 '17 at 17:54




Geforce Gtx 1060. Does it have something to do with the "lack" of CPU cores? 0o
– Frank
Aug 31 '17 at 17:54




2




2




No, but it explains why you and the UF thread you quoted had been approaching it the wrong way. Instead of disabling ACPI features (which causes it to use only one core) the boot parameter you need is nomodeset (forces generic VESA graphics instead of relying on the default open source nouveaudriver) to boot the live session, install and then again to boot the installed OS and install the recommended Nvidia drivers. Only then you can remove nomodeset from Grub.
– user692175
Aug 31 '17 at 18:08




No, but it explains why you and the UF thread you quoted had been approaching it the wrong way. Instead of disabling ACPI features (which causes it to use only one core) the boot parameter you need is nomodeset (forces generic VESA graphics instead of relying on the default open source nouveaudriver) to boot the live session, install and then again to boot the installed OS and install the recommended Nvidia drivers. Only then you can remove nomodeset from Grub.
– user692175
Aug 31 '17 at 18:08












Ok, I just changed the parameters in grub and now I do see my 4 (+ 4 from HT) CPU cores. Thanks! If you could put it as an answer so you get the credit for closing the question it'd be great! ;)
– Frank
Aug 31 '17 at 18:36






Ok, I just changed the parameters in grub and now I do see my 4 (+ 4 from HT) CPU cores. Thanks! If you could put it as an answer so you get the credit for closing the question it'd be great! ;)
– Frank
Aug 31 '17 at 18:36












1 Answer
1






active

oldest

votes


















0














So credits go to @MichaelBay




  • Set the kernel parameter acpi=nomodeset so you can boot the live session and install the OS

  • Boot the installed OS and install Nvidia drivers

  • Remove nomodeset from Grub


With that you should be set.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f951630%2ffix-ubuntu-16-04-issue-with-gigabyte-ga-ab350-motherboard-and-amd-ryzen-cpu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    So credits go to @MichaelBay




    • Set the kernel parameter acpi=nomodeset so you can boot the live session and install the OS

    • Boot the installed OS and install Nvidia drivers

    • Remove nomodeset from Grub


    With that you should be set.






    share|improve this answer


























      0














      So credits go to @MichaelBay




      • Set the kernel parameter acpi=nomodeset so you can boot the live session and install the OS

      • Boot the installed OS and install Nvidia drivers

      • Remove nomodeset from Grub


      With that you should be set.






      share|improve this answer
























        0












        0








        0






        So credits go to @MichaelBay




        • Set the kernel parameter acpi=nomodeset so you can boot the live session and install the OS

        • Boot the installed OS and install Nvidia drivers

        • Remove nomodeset from Grub


        With that you should be set.






        share|improve this answer












        So credits go to @MichaelBay




        • Set the kernel parameter acpi=nomodeset so you can boot the live session and install the OS

        • Boot the installed OS and install Nvidia drivers

        • Remove nomodeset from Grub


        With that you should be set.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 11 '17 at 20:06









        Frank

        10616




        10616






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f951630%2ffix-ubuntu-16-04-issue-with-gigabyte-ga-ab350-motherboard-and-amd-ryzen-cpu%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

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局