Created attachment 1069306 [details] flush.patch I test the F23 release and with that akmod-nvidia don't work and don't build kmod-nvidia. I have this error : 2015/09/01 18:26:08 akmodsbuild: FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'flush_workqueue' I search on web and find this : https://forums.geforce.com/default/topic/849487/geforce-drivers/linux-v4-2-uses-gpl-only-symbol-flush_workqueue-/ I rebuild kernel 4.2.0-1.fc23.x86_64 with the patch and that work. Can you add the patch to the next kernel ?
Please backport this commit to the f23 and rawhide branches http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ad7b1f841f8a54c6d61ff181451f55b68175e15a
(In reply to leigh scott from comment #1) > Please backport this commit to the f23 and rawhide branches > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ > ?id=ad7b1f841f8a54c6d61ff181451f55b68175e15a That commit is: 1) Over two years old 2) Contained in Linux v3.10 3) Already in all Fedora releases 4) Doesn't have anything to do with the symbol the original reporter noticed.
(In reply to dominique from comment #0) > Created attachment 1069306 [details] > flush.patch > > I test the F23 release and with that akmod-nvidia don't work and don't build > kmod-nvidia. > I have this error : > > 2015/09/01 18:26:08 akmodsbuild: FATAL: modpost: GPL-incompatible module > nvidia.ko uses GPL-only symbol 'flush_workqueue' > > I search on web and find this : > https://forums.geforce.com/default/topic/849487/geforce-drivers/linux-v4-2- > uses-gpl-only-symbol-flush_workqueue-/ > > I rebuild kernel 4.2.0-1.fc23.x86_64 with the patch and that work. > > Can you add the patch to the next kernel ? No. For the following reasons: 1) It has no signed-off-by line. 2) It is entirely counter to upstream. 3) The flush_workqueue function has been EXPORT_SYMBOL_GPL since 2006. This is not a new change in the upstream kernel. So either the nvidia module started using this function recently, or some other function the nvidia module uses calls this instead. Since we can't tell because the nvidia module is proprietary, the best you can do is report this to nvidia and possibly upstream. Fedora is not going to change anything here.
(In reply to Josh Boyer from comment #3) > (In reply to dominique from comment #0) > > Created attachment 1069306 [details] > > flush.patch > > > > I test the F23 release and with that akmod-nvidia don't work and don't build > > kmod-nvidia. > > I have this error : > > > > 2015/09/01 18:26:08 akmodsbuild: FATAL: modpost: GPL-incompatible module > > nvidia.ko uses GPL-only symbol 'flush_workqueue' > > > > I search on web and find this : > > https://forums.geforce.com/default/topic/849487/geforce-drivers/linux-v4-2- > > uses-gpl-only-symbol-flush_workqueue-/ > > > > I rebuild kernel 4.2.0-1.fc23.x86_64 with the patch and that work. > > > > Can you add the patch to the next kernel ? > > No. For the following reasons: > > 1) It has no signed-off-by line. > 2) It is entirely counter to upstream. > 3) The flush_workqueue function has been EXPORT_SYMBOL_GPL since 2006. This > is not a new change in the upstream kernel. > Yes it is! http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/kernel/workqueue.c?id=37b1ef31a568fc02e53587620226e5f3c66454c8 > So either the nvidia module started using this function recently, or some > other function the nvidia module uses calls this instead. Since we can't > tell because the nvidia module is proprietary, the best you can do is report > this to nvidia and possibly upstream. > Nvidia changed nothing! > Fedora is not going to change anything here. No change there then!
https://git.kernel.org/cgit/linux/kernel/git/tj/wq.git/commit/?h=for-4.3&id=1dadafa86a779884f14a6e7a3ddde1a57b0a0a65 is the queued solution. I've kindly poked them to see if it can be included in the stable 4.2 kernel. If they do, then Fedora will inherit it naturally.
(In reply to Josh Boyer from comment #5) > https://git.kernel.org/cgit/linux/kernel/git/tj/wq.git/commit/?h=for-4. > 3&id=1dadafa86a779884f14a6e7a3ddde1a57b0a0a65 is the queued solution. I've > kindly poked them to see if it can be included in the stable 4.2 kernel. If > they do, then Fedora will inherit it naturally. Thank you for looking into this issue.
*** Bug 1259947 has been marked as a duplicate of this bug. ***
kernel-4.2.0-300.fc23 from koji : https://koji.fedoraproject.org/koji/buildinfo?buildID=682842 solve for me the problem. Thank.
kernel-4.2.0-300.fc23, linux-firmware-20150904-56.git6ebf5d57.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update kernel linux-firmware'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15131
kernel-4.2.0-300.fc23, linux-firmware-20150904-56.git6ebf5d57.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.