-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel 4.2 fix #6
Comments
Please try branch |
Hey, thanks for replying. On Tue, Aug 11, 2015, 2:22 AM Simon Eisenmann notifications@github.com
|
I guess you mean
You can workaround this, by changing the module license to GPL in https://github.com/longsleep/bcmwl-ubuntu/blob/master/debian/patches/0001-MODULE_LICENSE.patch before you build the debian package. No need to compile the Kernel. Just make sure to report this to the Kernel developers so they can make the symbol available for non-GPL modules. |
Yes. Sudhanshu On Tue, Aug 11, 2015 at 2:12 PM, Simon Eisenmann notifications@github.com
|
The following Kernel commit causes the GPL problem. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/kernel/workqueue.c?id=37b1ef31a568fc02e53587620226e5f3c66454c8 - I do not see any easy way to make this work again. |
They were supposed to fix it in 4.2rc6 : But somehow it wasn't working. I did not dig much though. I hope it will be fixed in the next releases though. Sudhanshu On Wed, Aug 12, 2015 at 12:49 AM, Simon Eisenmann notifications@github.com
|
Hi, running on MacBookAir7,1 the shutdown always crashes the kernel with null pointer dereference error. |
@s7dhansh - well that fix is in the ubuntu mainline builds, but has not been merged into the 4.2 kernel tree (see https://lkml.org/lkml/2015/8/4/802) |
Should that patch be applied to the 4.2 tree, the bcmwl will need another fix at bcmwl-ubuntu/src/src/include/linuxver.h Line 94 in 80acd16
|
Hello, the linux-4.2 branch compile successfully (after installing dh-modaliases and debhelper packages). however, i can't install the deb package : Building initial module for 4.2.0-040200-generic any idea ? |
Well look into /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log - that should have all the ugly details. |
FATAL: modpost: GPL-incompatible module wl.ko uses GPL-only symbol 'flush_workqueue' I see in the preview link you posted that is supposed to be done in 4.3 ? |
@jbtrystram Well - if you compile yourself you can fix it by declaring this module a GPL module - see #6 (comment) |
changed to +MODULE_LICENSE("GPL"); in debian/patches/0001-MODULE-LISCENCE.patch |
@jbtrystram: Well then you did something wrong. Note that you need to rebuild the debian package and then install the newly built one. Check your change and make sure the changed file is in your installed Debian package. |
Works indeed :) |
as per this issue in parent repo... longsleep#6
Added support for Kernel 4.2 fixing #6 - Even if Kernel 4.2 does not have https://lkml.org/lkml/2015/8/4/775 - the Ubuntu Kernel has a local fix, so merging the 4.2 branch.
I merged the 4.2 support. Note that the mainline kernel still has not allowed flush_workqueue to be used from non GPL Kernels. The Ubuntu 4.2 Kernel has the patch locally though. |
If you use Ubuntu 15.10 with Kernel 4.2 you no longer need my patched version. For older Ubuntu versions you can install the Ubuntu mainline Kernel (http://kernel.ubuntu.com/~kernel-ppa/mainline/) and use my ppa (https://launchpad.net/~longsleep/+archive/ubuntu/bcmwl) which i just updated for 15.04 and 14.04. |
I just saw that the fix for the license problem was merged to mainline kernel tree (see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/kernel/workqueue.c?id=7d3e2eb1786fafa186eb8bc276edef75ba69e023) - so we can expect to have this resolved eventually. |
I saw that this issue is the same of mine here #10. |
@brunano21 I compiled the patch changing the licence to "GPL" and then hosted it on my git: https://github.com/edcarter/bcmwl-ubuntu/tree/master. The compiled binary is in the root so you can just download that and try it out. |
Also cherry-pick a licensing fix from torvalds/linux@7d3e2eb1786 necessary for building broadcom-sta on kernel 4.2. For more details, see: longsleep/bcmwl-ubuntu#6 Closes NixOS#9948
Also cherry-pick a licensing fix from torvalds/linux@7d3e2eb1786 necessary for building broadcom-sta on kernel 4.2. For more details, see: longsleep/bcmwl-ubuntu#6 Fixes #9948.
Also cherry-pick a licensing fix from torvalds/linux@7d3e2eb1786 necessary for building broadcom-sta on kernel 4.2. For more details, see: longsleep/bcmwl-ubuntu#6 Fixes #9948. (cherry picked from commit f08fb6e)
Also cherry-pick a licensing fix from torvalds/linux@7d3e2eb1786 necessary for building broadcom-sta on kernel 4.2. For more details, see: longsleep/bcmwl-ubuntu#6 Fixes NixOS#9948. (cherry picked from commit f08fb6e)
Can you please add this fix?
https://gist.github.com/boesing/ae0777c0095a1d8d317f
Thank you.
The text was updated successfully, but these errors were encountered: