[Bug 1766993] Re: dpkg-reconfigure bcmwl-kernel-source : modprobe: ERROR: could not insert 'wl': Exec format error

2018-09-06 Thread Seb Bonnard
I was building the kernel module with the wrong gcc version. I was using gcc version 4.9 instead of the original gcc-4.8 from Ubuntu LTS Trusty 14.04.5 Sorry for this bug which wasn't one. ** Changed in: bcmwl (Ubuntu) Status: New => Invalid -- You received this bug notification

[Bug 1766993] Re: dpkg-reconfigure bcmwl-kernel-source : modprobe: ERROR: could not insert 'wl': Exec format error

2018-04-28 Thread Seb Bonnard
Found the solution here, I was building the kernel module with the wrong gcc version. I was using gcc version 4.9 instead of the original gcc-4.8 from Ubuntu LTS Trusty 14.04.5 : $ sudo update-alternatives --config gcc Il existe 5 choix pour l'alternative gcc (qui fournit /usr/bin/gcc).

[Bug 1766993] Re: dpkg-reconfigure bcmwl-kernel-source : modprobe: ERROR: could not insert 'wl': Exec format error

2018-04-28 Thread Seb Bonnard
And these lines appear in dmesg log : $ dmesg | grep -w wl | tail [ 5704.013452] wl: version magic '4.4.0-121-generic SMP mod_unload modversions ' should be '4.4.0-121-generic SMP mod_unload modversions retpoline ' [ 5797.237082] wl: version magic '4.4.0-121-generic SMP mod_unload modversions

[Bug 1766993] Re: dpkg-reconfigure bcmwl-kernel-source : modprobe: ERROR: could not insert 'wl': Exec format error

2018-04-28 Thread Seb Bonnard
A little more info. to help : $ sudo modprobe -v wl insmod /lib/modules/4.4.0-121-generic/updates/dkms/wl.ko modprobe: ERROR: could not insert 'wl': Exec format error $ echo $? 1 $ sudo insmod /lib/modules/$(uname -r)/updates/dkms/wl.ko insmod: ERROR: could not insert module