WLan not working after Kernel update (HWE)

Bug #1681904 reported by davidak
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bcmwl (Ubuntu)
Confirmed
Undecided
Unassigned
linux (Ubuntu)
Incomplete
High
Unassigned

Bug Description

After the update from 4.8.0.44 to newer versions, wifi stopped working.

The controller is still found with `lshw -class network`, but wifi is not displayed in Network Manager.

Hardware is Broadcom BCM4331 802.11a/b/g/n.

What additional informations do you need to resolve this?

-----

Apple MacBookPro10,2 from ~2012
elementary OS 0.4 Loki (based on Ubuntu 16.04 LTS) with HWE-Stack
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: davidak 2186 F.... pulseaudio
DistroRelease: elementary 0.4
HibernationDevice: RESUME=UUID=f8624e3d-378a-4777-8889-1f2f01f83989
InstallationDate: Installed on 2016-10-26 (188 days ago)
InstallationMedia: elementary OS 0.4 "Loki" - Stable amd64 (20160909)
IwConfig:
 ens9 no wireless extensions.

 docker0 no wireless extensions.

 lo no wireless extensions.
MachineType: Apple Inc. MacBookPro10,2
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-20-generic root=/dev/mapper/elementary--vg-root ro splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-20-generic N/A
 linux-backports-modules-4.10.0-20-generic N/A
 linux-firmware 1.157.8
RfKill:
 0: hci0: Bluetooth
  Soft blocked: yes
  Hard blocked: no
Tags: loki loki
Uname: Linux 4.10.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: docker
_MarkForUpload: True
dmi.bios.date: 09/13/2015
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP102.88Z.0106.B0A.1509130955
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-AFD8A9D944EA4843
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro10,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-AFD8A9D944EA4843
dmi.modalias: dmi:bvnAppleInc.:bvrMBP102.88Z.0106.B0A.1509130955:bd09/13/2015:svnAppleInc.:pnMacBookPro10,2:pvr1.0:rvnAppleInc.:rnMac-AFD8A9D944EA4843:rvrMacBookPro10,2:cvnAppleInc.:ct10:cvrMac-AFD8A9D944EA4843:
dmi.product.name: MacBookPro10,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Does this regression happen with the Ubuntu 4.8.0-45 and newer kernels? If so we can bisect between 4.8.0-44 and 4.8.0-45.

Changed in linux (Ubuntu):
importance: Undecided → High
Changed in linux (Ubuntu Yakkety):
importance: Undecided → High
tags: added: kernel-da-key regression-update yakkety
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1681904

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: performing-bisect
Brad Figg (brad-figg)
Changed in linux (Ubuntu Yakkety):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

There are not may commits between 4.8.0-44 and 4.8.0-45, so knowing the exact kernel when the regression started would be very helpful.

Revision history for this message
davidak (davidak) wrote :

>Does this regression happen with the Ubuntu 4.8.0-45 and newer kernels?

@Joseph: yes, i have the issue with .45 and .46 while .44 is OK. i can boot all versions from grub.

should i do the apport-collect and if so with what version booted?

thanks for the very fast reply!

Changed in linux (Ubuntu):
status: Incomplete → In Progress
Changed in linux (Ubuntu Yakkety):
status: Incomplete → In Progress
Changed in linux (Ubuntu):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Yakkety):
assignee: nobody → Joseph Salisbury (jsalisbury)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I started a kernel bisect between v4.8.0-44 and v4.8.0-45.

I built the first test kernel, up to the following commit:
ac48b37537fd6218731af4108666239b2a578397

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1681904

Can you test that kernel and report back if it has the bug or not? I will build the next test kernel based on your test results.

Note, with this test kernel, you need to install both the linux-image and linux-image-extra .deb packages.

Thanks in advance

Revision history for this message
davidak (davidak) wrote :

That version has the bug.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, up to the following commit:
3105082594ea260feb8c95893a0597b87c7cfe30

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1681904

Can you test that kernel and report back if it has the bug or not? I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
davidak (davidak) wrote :

The issue also appear with the kernel 4.8.0-45-generic #48~lp1681904Commit3105082594ea.

I see you have a prepared text for that comments, very good.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

The bisect reported that commit 3105082594 introduced the regression, which is strange since that commit is just the "Start new release".

Just to be sure the bisect was started with the proper range, I built a 4.8.0-44 kernel by hand.

This kernel can also be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1681904

Can you test that kernel and see if it also has the bug?

Revision history for this message
davidak (davidak) wrote :

Kernel 4.8.0-44-generic #47~lp1681904StockKernel don't have the issue.

In what repo can i find that commit?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

That commit is in the Yakkety repo:
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/yakkety

Can you see if this bug is also happening in the Zesty kernel:
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/12405875

You need to install both the linux-image and linux-image-extra .deb packages for this kernel as well.

Revision history for this message
davidak (davidak) wrote :

I can reproduce the issue with Linux kernel 4.10.0-19-generic.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you test the following kernel next? It is -44 with a pick of 3105082594e on top:
http://kernel.ubuntu.com/~jsalisbury/lp1681904

Revision history for this message
davidak (davidak) wrote :

I can reproduce the issue with Linux kernel 4.8.0-45-generic #48~lp1681904Commit3105082594OntopOfStock44.

Revision history for this message
davidak (davidak) wrote :

How is it going on?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Sorry for the delay. Can you see if this bug is still happening with the Artful kernel? It is available from:

https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/12451317

A review of commit 3105082594 does not indicate any changes that could have caused this, but I'll investigate further.

Revision history for this message
davidak (davidak) wrote :

Thanks.

I can still reproduce the issue with Linux kernel 4.10.0-20-generic.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

When testing 4.10.0-20-generic, can you confirm that you installed both the linux-image and the linux-image-extra .deb packages?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

We would like to collect some additional information about your system. From a terminal, please run the following:

apport-collect 1681904

Can you run this while booted into the kernel exhibiting the bug?

Revision history for this message
davidak (davidak) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected loki
description: updated
Revision history for this message
davidak (davidak) wrote : CRDA.txt

apport information

Revision history for this message
davidak (davidak) wrote : CurrentDmesg.txt

apport information

Revision history for this message
davidak (davidak) wrote : JournalErrors.txt

apport information

Revision history for this message
davidak (davidak) wrote :

I can confirm that i installed both packages.

root@unibook:/home/davidak/Downloads# ls linux-image-*
linux-image-4.10.0-20-generic_4.10.0-20.22_amd64.deb linux-image-extra-4.10.0-20-generic_4.10.0-20.22_amd64.deb
root@unibook:/home/davidak/Downloads# dpkg -i linux-image-*

I collected the additional information.

Revision history for this message
davidak (davidak) wrote : Lspci.txt

apport information

Revision history for this message
davidak (davidak) wrote : Lsusb.txt

apport information

Revision history for this message
davidak (davidak) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
davidak (davidak) wrote : ProcEnviron.txt

apport information

Revision history for this message
davidak (davidak) wrote : ProcInterrupts.txt

apport information

Revision history for this message
davidak (davidak) wrote : ProcModules.txt

apport information

Revision history for this message
davidak (davidak) wrote : UdevDb.txt

apport information

Revision history for this message
davidak (davidak) wrote : WifiSyslog.txt

apport information

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a test kernel with the two commits that came in with -45.

This kernel can also be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1681904

Can you test that kernel and see if it also has the bug?

Revision history for this message
davidak (davidak) wrote :

I can reproduce the issue with Linux kernel 4.8.0-51-generic #54~lp1681904CommitsReverted.

Revision history for this message
davidak (davidak) wrote :

Any progress?

Revision history for this message
davidak (davidak) wrote :

I can still reproduce the issue after an update to the latest kernel 4.10.0-20-generic #22-Ubuntu.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I think 4331 should be supported by wl driver.

Please attach the output of `dkms status`.

Revision history for this message
Andy Whitcroft (apw) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie yakkety. The bug task representing the yakkety nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Yakkety):
status: In Progress → Won't Fix
Revision history for this message
davidak (davidak) wrote :

root@unibook:/home/davidak# dkms status
bcmwl, 6.30.223.271+bdcom, 4.8.0-44-generic, x86_64: installed
virtualbox, 5.0.40, 4.8.0-44-generic, x86_64: installed
root@unibook:/home/davidak# uname -a
Linux unibook 4.8.0-44-generic #47~lp1681904StockKernel SMP Wed Apr 12 17:28:21 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Should i also attach the output with current HWE kernel where i have the issue?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Sure. I think the current HWE stack is tracking 4.10 series.

Revision history for this message
davidak (davidak) wrote :

I have done the latest updates.

root@unibook:/home/davidak# dkms status
bcmwl, 6.30.223.271+bdcom, 4.8.0-44-generic, x86_64: installed
virtualbox, 5.0.40, 4.8.0-44-generic, x86_64: installed
root@unibook:/home/davidak# uname -a
Linux unibook 4.10.0-20-generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

and removed the manually installed bcmwl from source.

root@unibook:/home/davidak# dkms status
virtualbox, 5.0.40, 4.8.0-44-generic, x86_64: installed
root@unibook:/home/davidak# uname -a
Linux unibook 4.10.0-20-generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Now it also don't work with 4.8.0-44. Isn't the driver in the mainline kernel?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I think your chip needs to use bcmwl.

Please try to reinstall it:
$ sudo apt purge bcmwl-kernel-source
$ sudo apt install bcmwl-kernel-source

Revision history for this message
davidak (davidak) wrote :

the install seams to be succesfull.

root@unibook:/home/davidak# apt install bcmwl-kernel-source
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
  bcmwl-kernel-source
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
Es müssen 1.544 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 8.059 kB Plattenplatz zusätzlich benutzt.
Holen:1 http://de.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 bcmwl-kernel-source amd64 6.30.223.271+bdcom-0ubuntu1~1.1 [1.544 kB]
Es wurden 1.544 kB in 0 s geholt (1.987 kB/s).
Vormals nicht ausgewähltes Paket bcmwl-kernel-source wird gewählt.
(Lese Datenbank ... 266558 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu1~1.1_amd64.deb ...
Entpacken von bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.1) ...
bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.1) wird eingerichtet ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
First Installation: checking all kernels...
Building for 4.8.0-44-generic and 4.10.0-20-generic
Building for architecture x86_64
Building initial module for 4.8.0-44-generic
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-44-generic/extra/

depmod....

DKMS: install completed.
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
update-initramfs: deferring update (trigger activated)
Trigger für shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) werden verarbeitet ...
Secure Boot not enabled on this system.
Trigger für initramfs-tools (0.122ubuntu8.8) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-4.10.0-20-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915

but again wifi only works with kernel 4.8.0-44 bootet.

root@unibook:/home/davidak# dkms status
bcmwl, 6.30.223.271+bdcom, 4.8.0-44-generic, x86_64: installed
virtualbox, 5.0.40, 4.8.0-44-generic, x86_64: installed
root@unibook:/home/davidak# uname -a
Linux unibook 4.10.0-20-generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Can i provide any further details that help to solve this?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please boot using kernel 4.10.0-20, and run
"sudo dkms install bcmwl/6.30.223.271+bdcom -k `uname -r`"
And see what really happens.

no longer affects: bcmwl (Ubuntu Yakkety)
no longer affects: linux (Ubuntu Yakkety)
Revision history for this message
davidak (davidak) wrote :

davidak@unibook:~$ sudo dkms install bcmwl/6.30.223.271+bdcom -k `uname -r`
[sudo] Passwort für davidak:
Error! echo
Your kernel headers for kernel 4.10.0-20-generic cannot be found at
/lib/modules/4.10.0-20-generic/build or /lib/modules/4.10.0-20-generic/source.

I had to install the kernel headers.

davidak@unibook:~$ sudo apt install linux-headers-$(uname -r)
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden Installiert
  linux-headers-4.10.0-20
Die folgenden NEUEN Pakete werden installiert:
  linux-headers-4.10.0-20 linux-headers-4.10.0-20-generic
0 aktualisiert, 2 neu installiert, 0 zu entfernen und 19 nicht aktualisiert.
Es müssen 11,2 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 81,8 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n]
Holen:1 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.10.0-20 all 4.10.0-20.22~16.04.1 [10,5 MB]
Holen:2 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.10.0-20-generic amd64 4.10.0-20.22~16.04.1 [683 kB]
Es wurden 11,2 MB in 13 s geholt (846 kB/s).
Vormals nicht ausgewähltes Paket linux-headers-4.10.0-20 wird gewählt.
(Lese Datenbank ... 266640 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../linux-headers-4.10.0-20_4.10.0-20.22~16.04.1_all.deb ...
Entpacken von linux-headers-4.10.0-20 (4.10.0-20.22~16.04.1) ...
Vormals nicht ausgewähltes Paket linux-headers-4.10.0-20-generic wird gewählt.
Vorbereitung zum Entpacken von .../linux-headers-4.10.0-20-generic_4.10.0-20.22~16.04.1_amd64.deb ...
Entpacken von linux-headers-4.10.0-20-generic (4.10.0-20.22~16.04.1) ...
linux-headers-4.10.0-20 (4.10.0-20.22~16.04.1) wird eingerichtet ...
linux-headers-4.10.0-20-generic (4.10.0-20.22~16.04.1) wird eingerichtet ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.10.0-20-generic /boot/vmlinuz-4.10.0-20-generic

davidak@unibook:~$ sudo dkms install bcmwl/6.30.223.271+bdcom -k `uname -r`
Module bcmwl/6.30.223.271+bdcom already installed on kernel 4.10.0-20-generic/x86_64

What does it say about the issue? How can we achieve that it just work and is usable for normal people?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

No idea why the header package is not installed - it should be automatically pulled by meta package.

I guess something went wrong in the upgrade process?

Revision history for this message
davidak (davidak) wrote :

Maybe there was "no space left on device" on /boot once, but i don't know exactly.

My workaround is to use a Dell device now to be able to work.

Changed in linux (Ubuntu):
status: In Progress → Incomplete
assignee: Joseph Salisbury (jsalisbury) → nobody
Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bcmwl (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.