pci-stub not claiming radeon card, only the audio device, radeon driver claiming graphics instead











up vote
3
down vote

favorite












im trying to bind my spare radeon card to pci-stub on kubuntu 15.04, ive got this for my boot options



dmesg | grep pci-stub




[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic root=/dev/mapper/kubuntu--vg-root ro quiet splash pci-stub.ids=1002:6779,1002:aa98 vt.handoff=7




but later on in the output i get this




[ 4.349476] pci-stub: add 1002:6779 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349485] pci-stub: add 1002:AA98 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349504] pci-stub 0000:02:00.1: claimed by stub




i grepped for radeon in my dmesg output, and indeed its only claiming the sound output device and radeons taking the graphics device, anyone know what the hell is going on?



lspci | Radeon




01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]



01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]



02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]



02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]




lspci -n | grep 02:00.




02:00.0 0300: 1002:6779


02:00.1 0403: 1002:aa98









share|improve this question






















  • Did you solve the problem? Happens the same on my machine.
    – Marcus
    Sep 17 '15 at 22:40










  • sadly no, i cant find any information on how to actually go about fixing it, although in fedora you can use dracut to load pci-stub before radeon by making radeon depend on pci-stub. dracut is available in ubuntu, but when i tried installing it it threatened to uninstall a bunch of stuff that id really rather not be without.
    – anon
    Sep 19 '15 at 3:53















up vote
3
down vote

favorite












im trying to bind my spare radeon card to pci-stub on kubuntu 15.04, ive got this for my boot options



dmesg | grep pci-stub




[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic root=/dev/mapper/kubuntu--vg-root ro quiet splash pci-stub.ids=1002:6779,1002:aa98 vt.handoff=7




but later on in the output i get this




[ 4.349476] pci-stub: add 1002:6779 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349485] pci-stub: add 1002:AA98 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349504] pci-stub 0000:02:00.1: claimed by stub




i grepped for radeon in my dmesg output, and indeed its only claiming the sound output device and radeons taking the graphics device, anyone know what the hell is going on?



lspci | Radeon




01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]



01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]



02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]



02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]




lspci -n | grep 02:00.




02:00.0 0300: 1002:6779


02:00.1 0403: 1002:aa98









share|improve this question






















  • Did you solve the problem? Happens the same on my machine.
    – Marcus
    Sep 17 '15 at 22:40










  • sadly no, i cant find any information on how to actually go about fixing it, although in fedora you can use dracut to load pci-stub before radeon by making radeon depend on pci-stub. dracut is available in ubuntu, but when i tried installing it it threatened to uninstall a bunch of stuff that id really rather not be without.
    – anon
    Sep 19 '15 at 3:53













up vote
3
down vote

favorite









up vote
3
down vote

favorite











im trying to bind my spare radeon card to pci-stub on kubuntu 15.04, ive got this for my boot options



dmesg | grep pci-stub




[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic root=/dev/mapper/kubuntu--vg-root ro quiet splash pci-stub.ids=1002:6779,1002:aa98 vt.handoff=7




but later on in the output i get this




[ 4.349476] pci-stub: add 1002:6779 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349485] pci-stub: add 1002:AA98 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349504] pci-stub 0000:02:00.1: claimed by stub




i grepped for radeon in my dmesg output, and indeed its only claiming the sound output device and radeons taking the graphics device, anyone know what the hell is going on?



lspci | Radeon




01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]



01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]



02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]



02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]




lspci -n | grep 02:00.




02:00.0 0300: 1002:6779


02:00.1 0403: 1002:aa98









share|improve this question













im trying to bind my spare radeon card to pci-stub on kubuntu 15.04, ive got this for my boot options



dmesg | grep pci-stub




[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic root=/dev/mapper/kubuntu--vg-root ro quiet splash pci-stub.ids=1002:6779,1002:aa98 vt.handoff=7




but later on in the output i get this




[ 4.349476] pci-stub: add 1002:6779 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349485] pci-stub: add 1002:AA98 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349504] pci-stub 0000:02:00.1: claimed by stub




i grepped for radeon in my dmesg output, and indeed its only claiming the sound output device and radeons taking the graphics device, anyone know what the hell is going on?



lspci | Radeon




01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]



01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]



02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]



02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]




lspci -n | grep 02:00.




02:00.0 0300: 1002:6779


02:00.1 0403: 1002:aa98






drivers kernel ati radeon






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 20 '15 at 20:57









anon

1612




1612












  • Did you solve the problem? Happens the same on my machine.
    – Marcus
    Sep 17 '15 at 22:40










  • sadly no, i cant find any information on how to actually go about fixing it, although in fedora you can use dracut to load pci-stub before radeon by making radeon depend on pci-stub. dracut is available in ubuntu, but when i tried installing it it threatened to uninstall a bunch of stuff that id really rather not be without.
    – anon
    Sep 19 '15 at 3:53


















  • Did you solve the problem? Happens the same on my machine.
    – Marcus
    Sep 17 '15 at 22:40










  • sadly no, i cant find any information on how to actually go about fixing it, although in fedora you can use dracut to load pci-stub before radeon by making radeon depend on pci-stub. dracut is available in ubuntu, but when i tried installing it it threatened to uninstall a bunch of stuff that id really rather not be without.
    – anon
    Sep 19 '15 at 3:53
















Did you solve the problem? Happens the same on my machine.
– Marcus
Sep 17 '15 at 22:40




Did you solve the problem? Happens the same on my machine.
– Marcus
Sep 17 '15 at 22:40












sadly no, i cant find any information on how to actually go about fixing it, although in fedora you can use dracut to load pci-stub before radeon by making radeon depend on pci-stub. dracut is available in ubuntu, but when i tried installing it it threatened to uninstall a bunch of stuff that id really rather not be without.
– anon
Sep 19 '15 at 3:53




sadly no, i cant find any information on how to actually go about fixing it, although in fedora you can use dracut to load pci-stub before radeon by making radeon depend on pci-stub. dracut is available in ubuntu, but when i tried installing it it threatened to uninstall a bunch of stuff that id really rather not be without.
– anon
Sep 19 '15 at 3:53










2 Answers
2






active

oldest

votes

















up vote
2
down vote













This is happening because the radeon module is taking control of the device before pci-stub, so you need to reverse the load order.



Blacklist the radeon module:



$ echo blacklist radeon | sudo tee -a /etc/modprobe.d/blacklist.conf


And add the module to initramfs:



$ echo radeon | sudo tee -a /etc/initramfs-tools/modules
$ sudo update-initramfs -u


After, reboot. Problem solved!






share|improve this answer























  • ive got 2 AMD cards, and one of them needs to go to ubuntu, so blacklisting radeon isnt an option. as i mentioned above, dracut seems to be the answer to my problems, but it means ditching ubuntu, and thats a pain.
    – anon
    Sep 19 '15 at 3:54










  • I have two AMD cards too, but it works; blacklisting a module doesn't mean that the module can't be loaded at all - it means that it's not loaded automatically. The initrafms addition will load it.
    – Marcus
    Sep 20 '15 at 7:50












  • This worked for me, thank you. Also, is update update-initramfs a typo?
    – MatrixManAtYrService
    Dec 23 '15 at 22:01










  • If you refer to the update, yes, it was a typo! Thanks, I've fixed it!
    – Marcus
    Dec 24 '15 at 22:46


















up vote
0
down vote













My fix to this was the steps indicated by Marcus but with the following changes:



Blacklist the radeon (amdgpu) module:



echo "blacklist amdgpu" | sudo tee -a /etc/modprobe.d/blacklist.conf


And then add the module to initramfs:



echo amdgpu | sudo tee -a /etc/initramfs-tools/modules





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',
    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%2f650707%2fpci-stub-not-claiming-radeon-card-only-the-audio-device-radeon-driver-claiming%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








    up vote
    2
    down vote













    This is happening because the radeon module is taking control of the device before pci-stub, so you need to reverse the load order.



    Blacklist the radeon module:



    $ echo blacklist radeon | sudo tee -a /etc/modprobe.d/blacklist.conf


    And add the module to initramfs:



    $ echo radeon | sudo tee -a /etc/initramfs-tools/modules
    $ sudo update-initramfs -u


    After, reboot. Problem solved!






    share|improve this answer























    • ive got 2 AMD cards, and one of them needs to go to ubuntu, so blacklisting radeon isnt an option. as i mentioned above, dracut seems to be the answer to my problems, but it means ditching ubuntu, and thats a pain.
      – anon
      Sep 19 '15 at 3:54










    • I have two AMD cards too, but it works; blacklisting a module doesn't mean that the module can't be loaded at all - it means that it's not loaded automatically. The initrafms addition will load it.
      – Marcus
      Sep 20 '15 at 7:50












    • This worked for me, thank you. Also, is update update-initramfs a typo?
      – MatrixManAtYrService
      Dec 23 '15 at 22:01










    • If you refer to the update, yes, it was a typo! Thanks, I've fixed it!
      – Marcus
      Dec 24 '15 at 22:46















    up vote
    2
    down vote













    This is happening because the radeon module is taking control of the device before pci-stub, so you need to reverse the load order.



    Blacklist the radeon module:



    $ echo blacklist radeon | sudo tee -a /etc/modprobe.d/blacklist.conf


    And add the module to initramfs:



    $ echo radeon | sudo tee -a /etc/initramfs-tools/modules
    $ sudo update-initramfs -u


    After, reboot. Problem solved!






    share|improve this answer























    • ive got 2 AMD cards, and one of them needs to go to ubuntu, so blacklisting radeon isnt an option. as i mentioned above, dracut seems to be the answer to my problems, but it means ditching ubuntu, and thats a pain.
      – anon
      Sep 19 '15 at 3:54










    • I have two AMD cards too, but it works; blacklisting a module doesn't mean that the module can't be loaded at all - it means that it's not loaded automatically. The initrafms addition will load it.
      – Marcus
      Sep 20 '15 at 7:50












    • This worked for me, thank you. Also, is update update-initramfs a typo?
      – MatrixManAtYrService
      Dec 23 '15 at 22:01










    • If you refer to the update, yes, it was a typo! Thanks, I've fixed it!
      – Marcus
      Dec 24 '15 at 22:46













    up vote
    2
    down vote










    up vote
    2
    down vote









    This is happening because the radeon module is taking control of the device before pci-stub, so you need to reverse the load order.



    Blacklist the radeon module:



    $ echo blacklist radeon | sudo tee -a /etc/modprobe.d/blacklist.conf


    And add the module to initramfs:



    $ echo radeon | sudo tee -a /etc/initramfs-tools/modules
    $ sudo update-initramfs -u


    After, reboot. Problem solved!






    share|improve this answer














    This is happening because the radeon module is taking control of the device before pci-stub, so you need to reverse the load order.



    Blacklist the radeon module:



    $ echo blacklist radeon | sudo tee -a /etc/modprobe.d/blacklist.conf


    And add the module to initramfs:



    $ echo radeon | sudo tee -a /etc/initramfs-tools/modules
    $ sudo update-initramfs -u


    After, reboot. Problem solved!







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 17 '16 at 10:21

























    answered Sep 17 '15 at 22:57









    Marcus

    7352922




    7352922












    • ive got 2 AMD cards, and one of them needs to go to ubuntu, so blacklisting radeon isnt an option. as i mentioned above, dracut seems to be the answer to my problems, but it means ditching ubuntu, and thats a pain.
      – anon
      Sep 19 '15 at 3:54










    • I have two AMD cards too, but it works; blacklisting a module doesn't mean that the module can't be loaded at all - it means that it's not loaded automatically. The initrafms addition will load it.
      – Marcus
      Sep 20 '15 at 7:50












    • This worked for me, thank you. Also, is update update-initramfs a typo?
      – MatrixManAtYrService
      Dec 23 '15 at 22:01










    • If you refer to the update, yes, it was a typo! Thanks, I've fixed it!
      – Marcus
      Dec 24 '15 at 22:46


















    • ive got 2 AMD cards, and one of them needs to go to ubuntu, so blacklisting radeon isnt an option. as i mentioned above, dracut seems to be the answer to my problems, but it means ditching ubuntu, and thats a pain.
      – anon
      Sep 19 '15 at 3:54










    • I have two AMD cards too, but it works; blacklisting a module doesn't mean that the module can't be loaded at all - it means that it's not loaded automatically. The initrafms addition will load it.
      – Marcus
      Sep 20 '15 at 7:50












    • This worked for me, thank you. Also, is update update-initramfs a typo?
      – MatrixManAtYrService
      Dec 23 '15 at 22:01










    • If you refer to the update, yes, it was a typo! Thanks, I've fixed it!
      – Marcus
      Dec 24 '15 at 22:46
















    ive got 2 AMD cards, and one of them needs to go to ubuntu, so blacklisting radeon isnt an option. as i mentioned above, dracut seems to be the answer to my problems, but it means ditching ubuntu, and thats a pain.
    – anon
    Sep 19 '15 at 3:54




    ive got 2 AMD cards, and one of them needs to go to ubuntu, so blacklisting radeon isnt an option. as i mentioned above, dracut seems to be the answer to my problems, but it means ditching ubuntu, and thats a pain.
    – anon
    Sep 19 '15 at 3:54












    I have two AMD cards too, but it works; blacklisting a module doesn't mean that the module can't be loaded at all - it means that it's not loaded automatically. The initrafms addition will load it.
    – Marcus
    Sep 20 '15 at 7:50






    I have two AMD cards too, but it works; blacklisting a module doesn't mean that the module can't be loaded at all - it means that it's not loaded automatically. The initrafms addition will load it.
    – Marcus
    Sep 20 '15 at 7:50














    This worked for me, thank you. Also, is update update-initramfs a typo?
    – MatrixManAtYrService
    Dec 23 '15 at 22:01




    This worked for me, thank you. Also, is update update-initramfs a typo?
    – MatrixManAtYrService
    Dec 23 '15 at 22:01












    If you refer to the update, yes, it was a typo! Thanks, I've fixed it!
    – Marcus
    Dec 24 '15 at 22:46




    If you refer to the update, yes, it was a typo! Thanks, I've fixed it!
    – Marcus
    Dec 24 '15 at 22:46












    up vote
    0
    down vote













    My fix to this was the steps indicated by Marcus but with the following changes:



    Blacklist the radeon (amdgpu) module:



    echo "blacklist amdgpu" | sudo tee -a /etc/modprobe.d/blacklist.conf


    And then add the module to initramfs:



    echo amdgpu | sudo tee -a /etc/initramfs-tools/modules





    share|improve this answer



























      up vote
      0
      down vote













      My fix to this was the steps indicated by Marcus but with the following changes:



      Blacklist the radeon (amdgpu) module:



      echo "blacklist amdgpu" | sudo tee -a /etc/modprobe.d/blacklist.conf


      And then add the module to initramfs:



      echo amdgpu | sudo tee -a /etc/initramfs-tools/modules





      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        My fix to this was the steps indicated by Marcus but with the following changes:



        Blacklist the radeon (amdgpu) module:



        echo "blacklist amdgpu" | sudo tee -a /etc/modprobe.d/blacklist.conf


        And then add the module to initramfs:



        echo amdgpu | sudo tee -a /etc/initramfs-tools/modules





        share|improve this answer














        My fix to this was the steps indicated by Marcus but with the following changes:



        Blacklist the radeon (amdgpu) module:



        echo "blacklist amdgpu" | sudo tee -a /etc/modprobe.d/blacklist.conf


        And then add the module to initramfs:



        echo amdgpu | sudo tee -a /etc/initramfs-tools/modules






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 2 at 8:30









        Zanna

        49.4k13128236




        49.4k13128236










        answered Feb 21 at 22:40









        Daniel

        1




        1






























            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%2f650707%2fpci-stub-not-claiming-radeon-card-only-the-audio-device-radeon-driver-claiming%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

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei