[Ubuntu-x-swat] [Bug 1483390] Re: ubuntu 14.04.3. fglrx-core 2:15.200-0ubuntu0.4: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1479913, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find. ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1483390 Title: ubuntu 14.04.3. fglrx-core 2:15.200-0ubuntu0.4: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1483390/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1482308] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1482308 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1482308/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1482194] Re: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1482194 Title: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1482194/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1479913] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug']
Thank you Dan Ștefan Stroe (stroestefan) and Somberlain (somberlain218) for cleaning up my patch and giving more instructions. However, since this is a patch to a dkms module, I believe the proper way is to add it to dkms patches directory and modify dkms.conf.in. This way the original, proprietary code is distributed unchanged, and the patch is applied when the dkms module is built on install. I am not a dpkg expert, though... You can use the attached patch thus: sudo apt-get build-dep fglrx-installer-updates apt-get source fglrx-installer-updates cd fglrx-installer-updates-15.200 patch -p1 < ../fglrx_ignore_hotplug.diff dpkg-buildpackage -rfakeroot -uc -us -b sudo dpkg -i ../fglrx-updates-core_15.200-0ubuntu0.3_amd64.deb This should generate a new fglrx-updates-core package in the parent directory. When installed, it will call dkms build, which will apply the patch and build the kernel module. You can check dkms with sudo dkms status and to rebuild (should have been done by the above install) sudo dkms remove fglrx-updates-core/15.200 -k 3.19.0-26-generic sudo dkms build fglrx-updates-core/15.200 -k 3.19.0-26-generic sudo dkms install fglrx-updates-core/15.200 -k 3.19.0-26-generic sudo update-initramfs -k 3.19.0-26-generic -u Disclaimer: This is patching kernel modules. Here Be Dragons. This may make your computer unbootable. This may blow up your computer and all your files. This may kill your cat. Make sure you have adequate backups, time, and access to a linux expert (yourself or friend) before attempting ** Patch added: "patch for fglrx-installer-updates debian source package" https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913/+attachment/4438431/+files/fglrx_ignore_hotplug.diff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1479913 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1479913] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug']
I apologize. You want to downgrade to linux-image-generic 3.19.0.25.24. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1479913 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1479913] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug']
For those looking for a fix without having to patch and recompile: revert your kernel to 3.19.0.25. The problem is caused by linux-image- generic version 3.19.0.26-25. Please downgrade to 3.19.0.25-26. (pay very careful attention to the last two sets of numbers) This may help: http://askubuntu.com/questions/138284/how-to-downgrade-a -package-via-apt-get Also note, this kernel seems to only available if you have the "proposed" repository selected. This repository is only for pre- releases and may contain problems such as this bug and may not be appropriate. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1479913 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1480924] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1480924 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1480924/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1480725] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1480725 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1480725/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1480727] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1480727 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1480727/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1480632] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1480632 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1480632/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1480436] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build
*** This bug is a duplicate of bug 1479913 *** https://bugs.launchpad.net/bugs/1479913 ** This bug has been marked a duplicate of bug 1479913 fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1480436 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1480436/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1479913] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug']
Caused by kernel patch: PCI: Propagate the "ignore hotplug" setting to parent -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1479913 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1479913] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug']
Caused by kernel changing export of function pci_ignore_hotplug to a GPL export in drivers/pci/pci.c. Also affects kernel 4.1.3. The fix requires working around calling pci_ignore_hotplug in kcl_acpi.c, line 864. --- kcl_acpi.c 2015-07-31 11:29:12.258116934 -0600 +++ /var/lib/dkms/fglrx-core/15.200/source/kcl_acpi.c 2015-07-31 11:33:43.582122028 -0600 @@ -861,7 +861,10 @@ #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) if(pdev) { - pci_ignore_hotplug(pdev); + pdev->ignore_hotplug = 1; + if ( pdev->bus->self) + pdev->bus->self->ignore_hotplug = 1; } #endif } -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1479913 Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp