Comment 4 for bug 1408385

Revision history for this message
thingy (jchoksi) wrote :

Hi,

I encountered the same dkms build issue reported in this LP bug.

The following patch fixes the issue described in the bug: https://github.com/longsleep/bcmwl-ubuntu/blob/master/debian/patches/0015-add-support-for-Linux-3.18.patch

However, you also have the option of NOT using the broadcom-sta-dkms package and instead use the bcmwl-kernel-source package.

That package already has the patches to make the "same" broadcom driver work with linux kernels up to 4.x. The patches are available here: https://github.com/longsleep/bcmwl-ubuntu/tree/master/debian/patches

Output showing successfull installation of WL driver using the bcmwl-kernel-source package:

--snip--
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 115466 files and directories currently installed.)
Preparing to unpack .../bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu2) ...
Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu2) ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.19.0-11-generic
Building for architecture x86_64
Building initial module for 3.19.0-11-generic
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.19.0-11-generic/updates/dkms/

depmod......

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-11-generic
--snip--

uname -a : Linux kdevm 3.19.0-11-generic #11-Ubuntu SMP Tue Mar 31 22:17:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/os-release:

NAME="Ubuntu"
VERSION="15.04 (Vivid Vervet)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Vivid Vervet (development branch)"
VERSION_ID="15.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Hope this helps.

Regards,
Jinesh