Wired disconnects due to add_object(): Netlink error adding

Bug #1461015 reported by Ville Ranki on 2015-06-02
This bug affects 3 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)

Bug Description

I have a Lenovo Thinkpad E540 with r8169 wired onboard networking. After 15-30 minutes use the network stops working. There are no messages in dmesg, link stays up etc.

This is output to journal:

kesä 02 12:59:42 villenthinkpad avahi-daemon[925]: Withdrawing address record for on eth0.
kesä 02 12:59:42 villenthinkpad avahi-daemon[925]: Leaving mDNS multicast group on interface eth0.IPv4 with address
kesä 02 12:59:42 villenthinkpad avahi-daemon[925]: Interface eth0.IPv4 no longer relevant for mDNS.
kesä 02 12:59:42 villenthinkpad NetworkManager[921]: <error> [1433239182.454827] [platform/nm-linux-platform.c:1714] add_object(): Netlink error adding via dev eth0 metric 1024 mss 0 src
kesä 02 12:59:42 villenthinkpad NetworkManager[921]: inet default table main
kesä 02 12:59:42 villenthinkpad NetworkManager[921]: priority 0x400 protocol static
kesä 02 12:59:42 villenthinkpad NetworkManager[921]: nexthop via dev 2

Disconnecting and reconnecting the cable solves the issue until next reboot, so I don't think it's a DHCP configuration issue. Other PC's on the network work fine.

This has also been reported as kernel bug #1459985 as it's still unknown what causes the issue.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Tue Jun 2 13:09:36 2015
EcryptfsInUse: Yes
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2015-02-12 (109 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
 default via dev eth0 proto static metric 1024 dev eth0 scope link metric 1000 dev eth0 proto kernel scope link src dev wlan0 proto static scope link metric 1024
SourcePackage: network-manager
UpgradeStatus: Upgraded to vivid on 2015-05-12 (20 days ago)
 eth0 ethernet connected /org/freedesktop/NetworkManager/Devices/1 Wired connection 1 2ef5399f-13a6-4337-9f55-d0d2e44cc43b /org/freedesktop/NetworkManager/ActiveConnection/2
 wlan0 wifi connected /org/freedesktop/NetworkManager/Devices/2 T2 a59517ed-1d2b-4c2e-99a5-ee1f3afdc311 /org/freedesktop/NetworkManager/ActiveConnection/1
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/0 -- -- --
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

Ville Ranki (ville-ranki) wrote :
Launchpad Janitor (janitor) wrote :

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

Changed in network-manager (Ubuntu):
status: New → Confirmed
Changed in network-manager (Ubuntu):
importance: Undecided → High
Chris Peschke (hoosierpeschke) wrote :

I have experienced the same bug on multiple brands of NIC hardware both wired and wireless. Observing the live log, it always occurs 30 minutes after boot. My DHCP server renews leases after an hour so I did not see a correlation with the network configuration.

Googling this error reveals similar issues across several major distros so this may be an upstream bug.

My early Virtualbox tests did not show an issue with a bridged adapter. Re-running those tests again to verify.

I also disabled Avahi-daemon in a troubleshooting attempt and NM still failed with the same error.

Chris Peschke (hoosierpeschke) wrote :

Quick update, commenting out "dns=dnsmasq" in /etc/NetworkManager/NetworkManager.conf has kept me up for a couple of hours now without the issue.

Jo Ried (ried-h) wrote :

I have the same problem on two independent systems with Ubuntu 15.04. 32bit and 64bit

The NetworkManager.service dies after switching from WLAN to Wired Lan, with the following message:

NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Mo 2015-09-21 21:15:19 CEST; 17min ago

Sep 21 21:09:59 NOTEBOOK NetworkManager[658]: <error> [1442862599.112057] [platform/nm-linux-platform.c:1714] add_object(): Netlink error adding ff11:1111:2222:3333:444:5555:6666:affe/64 lft 3645se...address family

My solution:
restart the service with: systemctl restart NetworkManager

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers