Bug 96831 - WIFI not working after updating to kernel 4.0
Summary: WIFI not working after updating to kernel 4.0
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Wireless (show other bugs)
Hardware: Intel Linux
: P1 high
Assignee: networking_wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-18 05:48 UTC by harry.softer
Modified: 2016-02-15 15:12 UTC (History)
5 users (show)

See Also:
Kernel Version: 4.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description harry.softer 2015-04-18 05:48:54 UTC
I have ubuntu 14.04. I have thinkpad t450s.
updated my kernel to 4.0.

My wifi stopped working. the device is not even detected. 

Wifi device:  	Intel 7265 BT ACBGN.

Any suggestions on how i can fix this?
Comment 1 Sushovan Mandal 2015-05-03 04:03:25 UTC
I have an Archlinux-rolling-release system on my HP pavilion dv6-6119tx laptop.
After upgrading to linux-4.0.1 my wifi stopped working.

After downgrading to linux 3.19.3-3 again, wifi's working again as it always did.

The output of 'lspci -vnn | grep 14e4' (my braodcom wifi device):

0d:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

The output of lsusb is same in both linux 3.19.3-3 and linux 4.0.1 :

Bus 004 Device 003: ID 0a5c:21b4 Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 5986:02ac Acer, Inc 
Bus 001 Device 003: ID 138a:0018 Validity Sensors, Inc. Fingerprint scanner
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

In my gnome DE, the network-applet doesn't show any option for wifi when using the 4.0.1 kernel, even gnome system settings -> network shows no option for wifi.
But in kernel 3.19.3 and below, wifi option is available in both gnome-network-applet and gnome-system-settings->network.
Comment 2 David López 2015-05-05 07:41:52 UTC
I use 64bits archlinux, and after updating linux kernel from 3.18.6 to 4.0.1 my wifi card is not able to connect to my net, network manager asks me for my password (although the password is obviously well typed). Downgrading linux to 3.18.6 solves the problem and internet connection works

I've compared dmesg and journalctl between both, 3.18.6 and 4.0.1 kernels.

dmesg-4.0.1: http://pastebin.com/ZyMvnmKm
journalctl-4.0.1: http://pastebin.com/r0r5Hd4z

dmesg-3.18.6: http://pastebin.com/1f18z9rh
journalctl-3.18.6: http://pastebin.com/HZkFASGw

I've found a warning in journalctl in 4.0.1 kernel that could be related with my problem

abr 30 14:58:53 surface NetworkManager[276]: <info>  (mlan0): Activation: Stage 2 of 5 (Device Configure) complete.
abr 30 14:58:53 surface NetworkManager[276]: <warn>  Couldn't disconnect supplicant interface: This interface is not connected.
abr 30 14:58:53 surface NetworkManager[276]: <info>  Config: set interface ap_scan to 1
abr 30 14:58:55 surface NetworkManager[276]: <info>  (mlan0): supplicant interface state: scanning -> associating
abr 30 14:58:55 surface NetworkManager[276]: <info>  (mlan0): supplicant interface state: associating -> 4-way handshake
abr 30 14:59:01 surface NetworkManager[276]: <warn>  Connection disconnected (reason 15)

PD: my machine is a Surface Pro and its wifi card has TONS of problems in linux, see https://bugs.archlinux.org/task/44269 and https://bugzilla.kernel.org/show_bug.cgi?id=69661 . However I believe that this problem is not related with those bugs
Comment 3 Sushovan Mandal 2015-05-06 05:58:50 UTC
There is no 'reason 15' in my journalctl.

However, for linux 3.19.3, there is 4-way handshake completed messages:

May 02 14:42:58 Archenlighter NetworkManager[340]: <info>  (wlo1): supplicant interface state: associating -> 4-way handshake
May 02 14:42:58 Archenlighter NetworkManager[340]: <info>  (wlo1): supplicant interface state: 4-way handshake -> completed
May 02 14:58:51 Archenlighter NetworkManager[354]: <info>  (wlo1): supplicant interface state: associating -> 4-way handshake
May 02 14:58:51 Archenlighter NetworkManager[354]: <info>  (wlo1): supplicant interface state: 4-way handshake -> completed
May 02 18:20:12 Archenlighter NetworkManager[354]: <info>  (wlo1): supplicant interface state: associated -> 4-way handshake
May 02 18:20:13 Archenlighter NetworkManager[354]: <info>  (wlo1): supplicant interface state: 4-way handshake -> completed

But during the time linux 4.0.1 kernel was active there is no 4-way handshake message, however I found the following messages in journalctl during the time linux 4.0.1 kernel was in play:

May 02 14:52:49 Archenlighter avahi-daemon[336]: Leaving mDNS multicast group on interface wlo1.IPv4 with address 192.168.137.100.
May 02 14:52:49 Archenlighter wpa_supplicant[381]: wlo1: CTRL-EVENT-DISCONNECTED bssid=ec:f3:5b:3b:14:4a reason=3 locally_generated=1
May 02 14:52:49 Archenlighter kernel: wl0: link down (wlo1)
May 02 14:52:49 Archenlighter wpa_supplicant[381]: nl80211: deinit ifname=wlo1 disabled_11b_rates=0
May 02 14:52:49 Archenlighter wpa_supplicant[381]: wlo1: CTRL-EVENT-TERMINATING
May 02 14:52:49 Archenlighter NetworkManager[340]: <info>  (wlo1): device state change: activated -> deactivating (reason 'removed') [100 110 36]
May 02 14:52:50 Archenlighter NetworkManager[340]: <info>  (wlo1): device state change: deactivating -> unmanaged (reason 'removed') [110 10 36]
May 02 14:52:50 Archenlighter NetworkManager[340]: <info>  (wlo1): deactivating device (reason 'removed') [36]
May 02 14:52:50 Archenlighter NetworkManager[340]: <info>  (wlo1): canceled DHCP transaction, DHCP client pid 396
May 02 14:52:50 Archenlighter NetworkManager[340]: <info>  (wlo1): DHCPv4 state changed bound -> done
May 02 14:52:50 Archenlighter kernel: IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
May 02 14:58:38 Archenlighter kernel: wl 0000:0d:00.0 wlo1: renamed from wlan0
Comment 4 Sushovan Mandal 2015-05-06 10:14:23 UTC
Solved for me!

Apparently the problem in my system was arising due to some conflict because of the 'broadcom-wl' package being installed.

It came to notice when the broadcom-wl package was upgraded and then the same problem arose as that due to upgrade to linux-4.0.1 kernel.

I have now removed the 'broadcom-wl' package and upgraded the system to linux-4.0.1 kernel and my wifi is working again.
Comment 5 Carlos R 2015-05-10 01:12:52 UTC
I've experienced the same problem
After updating the wifi stop working

Im using a dell mini10
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) 

I tried to remove 'broadcom-wl' package' but didnt work for me
probably Im doing something wrong.

Can you post the terminal screenshot?
Comment 6 Sushovan Mandal 2015-05-10 03:16:20 UTC
You can check whether broadcon-wl is installed by:
pacman -Q broadcom-wl
if its installed, above command will show the installed version
Do:
sudo pacman -Rns broadcon-wl
This will do a complete uninstall of broadcom-wl and its dependencies

sudo pacman -S linux linux-firmware wpa_supplicant
-> upgrade the linux, linux-firmware and wpa_supplicant
Restart and check if wifi is working now
Comment 7 Sushovan Mandal 2015-05-10 03:21:08 UTC
N.B. There are other related packages to broadcom-wl like 
brodcom-wl-dkms, you should remove any such packages if they exist
Comment 8 Clint Liddick 2015-05-17 17:13:27 UTC
I'm running Ubuntu 15.04 on a Lenovo Carbon X1 3rd gen. After I updated to kernel 4.0.3 my wifi constantly drops, and iwlist wlan0 scan only shows the network I was last connected to, none of the other networks visible when wifi is working. Booting with default 3.19 seems to resolve the problem.

04:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095b] (rev 59)
	Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5210]
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at f1000000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 34-02-86-ff-ff-1f-fb-5d
	Capabilities: [14c] Latency Tolerance Reporting
	Capabilities: [154] L1 PM Substates
	Kernel driver in use: iwlwifi
Comment 9 Clint Liddick 2015-05-17 17:39:47 UTC
(In reply to Clint Liddick from comment #8)
> I'm running Ubuntu 15.04 on a Lenovo Carbon X1 3rd gen. After I updated to
> kernel 4.0.3 my wifi constantly drops, and iwlist wlan0 scan only shows the
> network I was last connected to, none of the other networks visible when
> wifi is working. Booting with default 3.19 seems to resolve the problem.
> 
> 04:00.0 Network controller [0280]: Intel Corporation Wireless 7265
> [8086:095b] (rev 59)
>       Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5210]
>       Flags: bus master, fast devsel, latency 0, IRQ 46
>       Memory at f1000000 (64-bit, non-prefetchable) [size=8K]
>       Capabilities: [c8] Power Management version 3
>       Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>       Capabilities: [40] Express Endpoint, MSI 00
>       Capabilities: [100] Advanced Error Reporting
>       Capabilities: [140] Device Serial Number 34-02-86-ff-ff-1f-fb-5d
>       Capabilities: [14c] Latency Tolerance Reporting
>       Capabilities: [154] L1 PM Substates
>       Kernel driver in use: iwlwifi

Sorry, the frequency has decreased but the problem persists. The issue must be elsewhere.
Comment 10 Emmanuel Grumbach 2015-06-25 20:01:56 UTC
Whoever has issues with iwlwifi (Intel card), please open a separate bug and CC ilw@linux.intel.com.
You can also send an email to that address (not through bugzilla).

Note You need to log in before you can comment on or make changes to this bug.