can't disable wi-fi and system hangs on shutdown

Bug #1721880 reported by Lorenzo
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If I try to turn off wi-fi the system freezes for few seconds and after that internet is not working and I can't open settings anymore, even if the wi-fi tray icon still shows a connection.
When I shutdown the system it says that "A stop job for network-manager and wpa supplicant is running" and I have to wait for 10-11 minutes. Suspension doesn't work neither.
Everything was working just fine on 17.10 daily builds.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: network-manager 1.8.4-1ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 6 23:18:01 2017
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2017-09-22 (14 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170917)
IpRoute:
 default via 192.168.1.254 dev wlp3s0 proto static metric 600
 169.254.0.0/16 dev wlp3s0 scope link metric 1000
 192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.105 metric 600
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlp3s0 wifi connected /org/freedesktop/NetworkManager/Devices/3 Alice_BO 2f15ab74-48df-437b-b0a1-83bf31708fea /org/freedesktop/NetworkManager/ActiveConnection/1
 enp2s0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- -- --
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.8.4 connected started full enabled enabled enabled enabled enabled

Revision history for this message
Lorenzo (lurens) wrote :
Revision history for this message
Pasquale Pompeo (pasquale-pompeo) wrote :

Hi, I can confirm this bug affects my notepad too. System hangs on shutdown/reboot with the "A stop job for network-manager and wpa supplicant is running" message.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Lorenzo (lurens) wrote :

Hi again,
I've got an interesting piece of news: I've recently discovered that the problem only appears when I'm connected to the optical fiber network in the flat where I live during the week; when I use ubuntu with the wi-fi at my home (much slower, at 7 Mbps) everything is working just fine.
I don't know if there is a problem with the management of the fiber network in Ubuntu or if the issue is caused by a wrong configuration of the router.

Revision history for this message
Pasquale Pompeo (pasquale-pompeo) wrote :

Hi, for me it happens everytime. But it happens also with other distros running kernel 4.13 so I think it's a kernel-related problem.
For example, on my Opensuse Leap with upstream kernels, the problem went away with the upgrade to 4.13.6 version.

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

Yea, all ath10k devices are affected. Linux kernel based on 4.13.6 should land in Artful soon.

no longer affects: network-manager (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1721880

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
Revision history for this message
Keerthi (kpkeerthi) wrote :

I'm confirming this bug. System hangs on shutdown/reboot with the "A stop job for network-manager and wpa supplicant is running" message.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Keerthi (kpkeerthi) wrote :
Revision history for this message
Keerthi (kpkeerthi) wrote :
Revision history for this message
Lorenzo (lurens) wrote :

So we just have to wait for the kernel update, I hope it will arrive soon

Revision history for this message
Lorenzo (lurens) wrote :

I can confirm that after upgrading the kernel to 4.13.6 the problem is solved

Revision history for this message
Pasquale Pompeo (pasquale-pompeo) wrote :

Hi Lorenzo, where did you get the 4.13.6 kernel? In the official repositories I see only version 4.13.0.16.
Thanks.

Revision history for this message
Lorenzo (lurens) wrote :

It's not in the official repositories yet, but I've manually installed it from here:
http://kernel.ubuntu.com/~kernel-ppa/mainline/

I haven't experienced any bug so far.

Revision history for this message
Pasquale Pompeo (pasquale-pompeo) wrote :

Thank you very much!

Revision history for this message
Lorenzo (lurens) wrote :

You're welcome.

Revision history for this message
Dirk-Jan van Vliet (dirkjanvanvliet) wrote :

I had the same problem, but installing a new kernel (I went for 4.13.6) fixed the problem. I can now turn of my wifi or shutdown my pc without any problems :).

Revision history for this message
Chris Mayo (chris-mayo) wrote :

Working with linux: 4.13.0-21.24

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
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.