NetworkManager service fails to secure Ethernet connection when using kernel 5.4

Bug #1855297 reported by Owen Savill
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 20.04

network-manager:
  Installed: 1.20.4-2ubuntu2
  Candidate: 1.20.4-2ubuntu2
  Version table:
 *** 1.20.4-2ubuntu2 500
        500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

After going to kernel 5.4, from 5.3, I noticed the network systray roundel going 'round and 'round. On closer examination I could see that the Wi-fi had connected but the Ethernet connection was "obtaining IP address" --> fail --> back to "obtaining IP address" and continually going around and around.

Doing a "service NetworkManager stop" and quickly following up with "service NetworkManager start" fixes the situation. However, if you leave any kind of a gap between the stop and start the issue described above starts up again.

I also left a freshly booted system for quite a while and went back to it but the issue was still there, until the workaround described above was performed.

Booting up in to kernel 5.3 the issue is not seen and all network interfaces connect as expected.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: network-manager 1.20.4-2ubuntu2
Uname: Linux 5.4.2-050402-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu9
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Dec 5 15:24:51 2019
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2017-12-06 (729 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
SourcePackage: network-manager
UpgradeStatus: Upgraded to focal on 2019-11-13 (21 days ago)
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.20.4 connected started full enabled enabled enabled enabled enabled
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu13
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2017-12-06 (734 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
NonfreeKernelModules: nvidia_modeset nvidia
Package: network-manager 1.20.4-2ubuntu3
PackageArchitecture: amd64
Tags: focal
Uname: Linux 5.4.2-050402-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: Upgraded to focal on 2019-11-13 (26 days ago)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu13
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2017-12-06 (734 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
NonfreeKernelModules: nvidia_modeset nvidia
Package: network-manager 1.20.4-2ubuntu3
PackageArchitecture: amd64
Tags: focal
Uname: Linux 5.4.2-050402-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: Upgraded to focal on 2019-11-13 (26 days ago)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True

Revision history for this message
Owen Savill (osavill) wrote :
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 1855297

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
Owen Savill (osavill) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Owen Savill (osavill) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Owen Savill (osavill) wrote : ProcEnviron.txt

apport information

description: updated
Revision history for this message
Owen Savill (osavill) wrote : Dependencies.txt

apport information

Revision history for this message
Owen Savill (osavill) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Owen Savill (osavill) wrote : ProcEnviron.txt

apport information

Revision history for this message
Owen (osavill-z) wrote :

Command run and status set to Confirmed as requested

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Hmm, there are no dmesg attached.

Can you please perform a kernel bisection?

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.