NetworkManager/wicd hang, might be driver issue

Bug #1723644 reported by Mihai Bojescu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned
systemd (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Recently I had issues with NetworkManager. When I try to restart or close
NetworkManager, the process hangs. First it sends a SIGTERM to the
NetworkManager process, and after a while it sends SIGKILL, yet nothing
happens. After the attempt to restart/close NetworkManager, the OS behaves
badly:
- journalctl doesn't work, doesn't output anything, SIGTERMing/SIGABRTing/
SIGKILLing it causes the kill command to hang (no matter how many times I try
it), it also hangs the terminal
- 'sudo dmesg' hangs (killing it with SIGKILL/SIGTERM/SIGABRT hangs the kill
command, can't close the terminal)
- the OS won't reboot/suspend/shutdown (it does only after holding the restart
button)

Suspending/rebooting normally/shutdowning normally the laptop hangs the OS
(because of NetworkManager).

What I've tried:
- reinstalling NetworkManager (uninstalling it using --purge, installing it clean)
- deleting ~/.config
- deleting ~/.cache
- installing a version from NetworkManager from Debian (version: 1.8.4.2),
reinstalling NetworkManager from Ubuntu back

 affects ubuntu
 affects ubuntu/network-manager
 affects ubuntu/systemd
---
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: michael 1259 F.... pulseaudio
DistroRelease: Ubuntu 17.10
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2017-10-15 (1 days ago)
InstallationMedia: Kubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
IpRoute:
 default via 192.168.100.1 dev wlp3s0 proto static metric 600
 169.254.0.0/16 dev wlp3s0 scope link metric 1000
 192.168.100.0/24 dev wlp3s0 proto kernel scope link src 192.168.100.6 metric 600
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0bda:57f3 Realtek Semiconductor Corp.
 Bus 001 Device 002: ID 0489:e0a3 Foxconn / Hon Hai
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer Aspire E5-575G
Package: systemd
PackageArchitecture: amd64
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic.efi.signed root=UUID=1df26300-dc4d-42b3-bf5f-0c77c8df7667 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-16-generic N/A
 linux-backports-modules-4.13.0-16-generic N/A
 linux-firmware 1.169
Tags: artful
Uname: Linux 4.13.0-16-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 07/21/2017
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.29
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Ironman_SK
dmi.board.vendor: Acer
dmi.board.version: V1.29
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.29:bd07/21/2017:svnAcer:pnAspireE5-575G:pvrV1.29:rvnAcer:rnIronman_SK:rvrV1.29:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.family: KBL
dmi.product.name: Aspire E5-575G
dmi.product.version: V1.29
dmi.sys.vendor: Acer
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlp3s0 wifi connected /org/freedesktop/NetworkManager/Devices/3 Bojescu 2278c0fb-6947-469e-a8fc-7bbbafb10cf2 /org/freedesktop/NetworkManager/ActiveConnection/1
 enp4s0f1 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
Mihai Bojescu (mihaibojescu) wrote : NetworkManager hang
description: updated
description: updated
Revision history for this message
Mihai Bojescu (mihaibojescu) wrote :

Update: this also happens using wicd, but only after connecting to a network.

 affects: ubuntu/wicd

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote :

Update: also affects Ubuntu 17.04.

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

So it's more likely to be a driver issue.

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 1723644

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
Mihai Bojescu (mihaibojescu) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected artful
description: updated
Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : CRDA.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : Dependencies.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : IpAddr.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : IwConfig.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : JournalErrors.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : Lspci.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : NetDevice.enp4s0f1.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : NetDevice.lo.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : NetDevice.wlp3s0.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : NetworkManager.conf.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : PciNetwork.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : ProcEnviron.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : ProcModules.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : RfKill.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : UdevDb.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : WifiSyslog.txt

apport information

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote : nmcli-con.txt

apport information

summary: - NetworkManager hang
+ NetworkManager/wicd hang, might be driver issue
Revision history for this message
Mihai Bojescu (mihaibojescu) wrote :

It truly might be a driver issue. Maybe an Qualcomm Atheros driver issue.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Mihai Bojescu (mihaibojescu) wrote :

A few days have passed but my installation still has issues. It didn't occur in Debian 9 or Debian Testing but it does in Ubuntu 17.10 and Ubuntu 17.04. Strange.

As a workaround I'll use my phone as an external wireless network adapter (connected through USB) so I can at least suspend/reboot/shutdown my device normally.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Changed in systemd (Ubuntu):
status: New → Confirmed
Revision history for this message
Mihai Bojescu (mihaibojescu) wrote :

Hopefully it won't take long to fix...

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

It should be fixed with next Artful kernel release.

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote :

Ok. I'll report back when the next kernel release launches.

Revision history for this message
Mihai Bojescu (mihaibojescu) wrote :

Ok, kernel version 4.13.9 fixed my issues. Hopefully the fix will land in the ubuntu kernel (currently using ukuu for doing this).

Changed in linux (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in network-manager (Ubuntu):
status: Confirmed → Fix Committed
Changed in systemd (Ubuntu):
status: Confirmed → Fix Committed
Changed in network-manager (Ubuntu):
status: Fix Committed → Fix Released
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: Fix Committed → Won't Fix
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.