Proprietary FGLRX module fails to compile due to GPL only code












5















(Ubuntu 15.04) After latest round of updates fglrx failed to compile dkms module on both of my laptops. 1 laptop has switchable graphics and the other does not. The laptop with switchable graphics works fine with the integrated intel chipset while the other laptop boots to a black screen. The error log is below.



FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1397: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-26-generic'


I've looked around on askubuntu.com and noticed allot of new Ubuntu users upset with broken Ubuntu desktops using FGLRX without any answers to whats going on. If someone comes up with an answer we could respond to some of these users questions.



Fixed thanks to Pilot6 and Vladimir



Disable pre-released updates in software manager.



Drop to terminal and type this in



sudo apt-get purge linux-headers-3.19.0-26 linux-headers-3.19.0-26-generic linux-image-3.19.0-26-generic 

sudo apt-get install linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic linux-image-3.19.0-25-generic









share|improve this question




















  • 1





    Same problem here and I guess it's bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913

    – Vladimir Yavorskiy
    Aug 3 '15 at 21:17






  • 2





    You have an unsupported kernel installed. Probably proposed repository is on. That's the reason. Try to boot with 3.19.0-25 using grub menu.

    – Pilot6
    Aug 3 '15 at 21:42













  • Reverted back to 3.19.0-25 and this did fix the problem.

    – Mad Man
    Aug 4 '15 at 2:15











  • off how I wasted my time on this :(. Thanks for looking into this

    – Bogdan
    Aug 18 '15 at 3:36


















5















(Ubuntu 15.04) After latest round of updates fglrx failed to compile dkms module on both of my laptops. 1 laptop has switchable graphics and the other does not. The laptop with switchable graphics works fine with the integrated intel chipset while the other laptop boots to a black screen. The error log is below.



FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1397: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-26-generic'


I've looked around on askubuntu.com and noticed allot of new Ubuntu users upset with broken Ubuntu desktops using FGLRX without any answers to whats going on. If someone comes up with an answer we could respond to some of these users questions.



Fixed thanks to Pilot6 and Vladimir



Disable pre-released updates in software manager.



Drop to terminal and type this in



sudo apt-get purge linux-headers-3.19.0-26 linux-headers-3.19.0-26-generic linux-image-3.19.0-26-generic 

sudo apt-get install linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic linux-image-3.19.0-25-generic









share|improve this question




















  • 1





    Same problem here and I guess it's bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913

    – Vladimir Yavorskiy
    Aug 3 '15 at 21:17






  • 2





    You have an unsupported kernel installed. Probably proposed repository is on. That's the reason. Try to boot with 3.19.0-25 using grub menu.

    – Pilot6
    Aug 3 '15 at 21:42













  • Reverted back to 3.19.0-25 and this did fix the problem.

    – Mad Man
    Aug 4 '15 at 2:15











  • off how I wasted my time on this :(. Thanks for looking into this

    – Bogdan
    Aug 18 '15 at 3:36
















5












5








5


1






(Ubuntu 15.04) After latest round of updates fglrx failed to compile dkms module on both of my laptops. 1 laptop has switchable graphics and the other does not. The laptop with switchable graphics works fine with the integrated intel chipset while the other laptop boots to a black screen. The error log is below.



FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1397: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-26-generic'


I've looked around on askubuntu.com and noticed allot of new Ubuntu users upset with broken Ubuntu desktops using FGLRX without any answers to whats going on. If someone comes up with an answer we could respond to some of these users questions.



Fixed thanks to Pilot6 and Vladimir



Disable pre-released updates in software manager.



Drop to terminal and type this in



sudo apt-get purge linux-headers-3.19.0-26 linux-headers-3.19.0-26-generic linux-image-3.19.0-26-generic 

sudo apt-get install linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic linux-image-3.19.0-25-generic









share|improve this question
















(Ubuntu 15.04) After latest round of updates fglrx failed to compile dkms module on both of my laptops. 1 laptop has switchable graphics and the other does not. The laptop with switchable graphics works fine with the integrated intel chipset while the other laptop boots to a black screen. The error log is below.



FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1397: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-26-generic'


I've looked around on askubuntu.com and noticed allot of new Ubuntu users upset with broken Ubuntu desktops using FGLRX without any answers to whats going on. If someone comes up with an answer we could respond to some of these users questions.



Fixed thanks to Pilot6 and Vladimir



Disable pre-released updates in software manager.



Drop to terminal and type this in



sudo apt-get purge linux-headers-3.19.0-26 linux-headers-3.19.0-26-generic linux-image-3.19.0-26-generic 

sudo apt-get install linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic linux-image-3.19.0-25-generic






graphics ati fglrx






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 3 '15 at 14:49









kevinf

670511




670511










asked Aug 3 '15 at 5:30









Mad ManMad Man

361512




361512








  • 1





    Same problem here and I guess it's bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913

    – Vladimir Yavorskiy
    Aug 3 '15 at 21:17






  • 2





    You have an unsupported kernel installed. Probably proposed repository is on. That's the reason. Try to boot with 3.19.0-25 using grub menu.

    – Pilot6
    Aug 3 '15 at 21:42













  • Reverted back to 3.19.0-25 and this did fix the problem.

    – Mad Man
    Aug 4 '15 at 2:15











  • off how I wasted my time on this :(. Thanks for looking into this

    – Bogdan
    Aug 18 '15 at 3:36
















  • 1





    Same problem here and I guess it's bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913

    – Vladimir Yavorskiy
    Aug 3 '15 at 21:17






  • 2





    You have an unsupported kernel installed. Probably proposed repository is on. That's the reason. Try to boot with 3.19.0-25 using grub menu.

    – Pilot6
    Aug 3 '15 at 21:42













  • Reverted back to 3.19.0-25 and this did fix the problem.

    – Mad Man
    Aug 4 '15 at 2:15











  • off how I wasted my time on this :(. Thanks for looking into this

    – Bogdan
    Aug 18 '15 at 3:36










1




1





Same problem here and I guess it's bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913

– Vladimir Yavorskiy
Aug 3 '15 at 21:17





Same problem here and I guess it's bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913

– Vladimir Yavorskiy
Aug 3 '15 at 21:17




2




2





You have an unsupported kernel installed. Probably proposed repository is on. That's the reason. Try to boot with 3.19.0-25 using grub menu.

– Pilot6
Aug 3 '15 at 21:42







You have an unsupported kernel installed. Probably proposed repository is on. That's the reason. Try to boot with 3.19.0-25 using grub menu.

– Pilot6
Aug 3 '15 at 21:42















Reverted back to 3.19.0-25 and this did fix the problem.

– Mad Man
Aug 4 '15 at 2:15





Reverted back to 3.19.0-25 and this did fix the problem.

– Mad Man
Aug 4 '15 at 2:15













off how I wasted my time on this :(. Thanks for looking into this

– Bogdan
Aug 18 '15 at 3:36







off how I wasted my time on this :(. Thanks for looking into this

– Bogdan
Aug 18 '15 at 3:36












1 Answer
1






active

oldest

votes


















0














The real problem, is that the kernel has a function that is exported as gpl only. Two possible solutions:




  1. Driver update to use non-gpl function instead

  2. Kernel update to export function as non-gpl


The FGLRX, NVIDIA, and custom modules with MODULE_LICENSE("Proprietary") will all fail until then.



In my situation using trace_printk in 3.19 kernel, for a proprietary in-house module, generates the error for '__trace_bputs'



I worked around the issue (for internal testing only, due to obvious legal reasons), by changing the MODULE_LICENSE to "GPL".






share|improve this answer






















    protected by Community Aug 19 '15 at 21:54



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The real problem, is that the kernel has a function that is exported as gpl only. Two possible solutions:




    1. Driver update to use non-gpl function instead

    2. Kernel update to export function as non-gpl


    The FGLRX, NVIDIA, and custom modules with MODULE_LICENSE("Proprietary") will all fail until then.



    In my situation using trace_printk in 3.19 kernel, for a proprietary in-house module, generates the error for '__trace_bputs'



    I worked around the issue (for internal testing only, due to obvious legal reasons), by changing the MODULE_LICENSE to "GPL".






    share|improve this answer




























      0














      The real problem, is that the kernel has a function that is exported as gpl only. Two possible solutions:




      1. Driver update to use non-gpl function instead

      2. Kernel update to export function as non-gpl


      The FGLRX, NVIDIA, and custom modules with MODULE_LICENSE("Proprietary") will all fail until then.



      In my situation using trace_printk in 3.19 kernel, for a proprietary in-house module, generates the error for '__trace_bputs'



      I worked around the issue (for internal testing only, due to obvious legal reasons), by changing the MODULE_LICENSE to "GPL".






      share|improve this answer


























        0












        0








        0







        The real problem, is that the kernel has a function that is exported as gpl only. Two possible solutions:




        1. Driver update to use non-gpl function instead

        2. Kernel update to export function as non-gpl


        The FGLRX, NVIDIA, and custom modules with MODULE_LICENSE("Proprietary") will all fail until then.



        In my situation using trace_printk in 3.19 kernel, for a proprietary in-house module, generates the error for '__trace_bputs'



        I worked around the issue (for internal testing only, due to obvious legal reasons), by changing the MODULE_LICENSE to "GPL".






        share|improve this answer













        The real problem, is that the kernel has a function that is exported as gpl only. Two possible solutions:




        1. Driver update to use non-gpl function instead

        2. Kernel update to export function as non-gpl


        The FGLRX, NVIDIA, and custom modules with MODULE_LICENSE("Proprietary") will all fail until then.



        In my situation using trace_printk in 3.19 kernel, for a proprietary in-house module, generates the error for '__trace_bputs'



        I worked around the issue (for internal testing only, due to obvious legal reasons), by changing the MODULE_LICENSE to "GPL".







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 1 '15 at 18:33









        kevinfkevinf

        670511




        670511

















            protected by Community Aug 19 '15 at 21:54



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido