Bug 700989

Summary: NetworkManager 0.8.4 fails to bring up eth0 (r8169) after plugging cable
Product: [Fedora] Fedora Reporter: Dawid Lorenz <adlorenz>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 14CC: dcbw, jklimes, maurizio.antillon
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-03 06:45:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Output of /sbin/ethtool eth0 before and after plugging cable in
none
Output of tailf /var/log/messages when plugging and unplugging eth cable none

Description Dawid Lorenz 2011-04-30 10:00:10 UTC
Description of problem:
After upgrading NetworkManager from 0.8.3.998 to 0.8.4 (via regular Fedora updates) it fails to recognize Ethernet cable plugging therefore does not bring eth0 interface up nor display previously defined wired connections to allow user to connect manually.

Version-Release number of selected component (if applicable):
NetworkManager-0.8.4-1.fc14.i686

How reproducible:
100%

Steps to Reproduce:
1. Plug Ethernet cable in.
2. Wait until NetworkManager recognizes it.
  
Actual results:
Nothing happens nor any wired connection are displayed in NM's menu.

Expected results:
Network device is automatically brought up OR there are previously stored wired connections in NM's menu displayed to allow user to connect manually.

Additional info:
My hardware is Dell Vostro 3300 laptop with Realtek-based Ethernet adapter (r8169 driver):

[root@v3300 ~]# lspci | grep -i realtek
13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)

Once cable is plugged in, I can bring eth0 up by doing rmmod r8169 && modprobe r8169, however link speed of 10 Mbps is the best I can get by doing that and also NM doesn't seem to recognize cable unplugging later on.

Manually downgrading NetworkManager to 0.8.3.998 fixes the problem.

Comment 1 Jirka Klimes 2011-05-02 13:41:14 UTC
Hmm, are you sure that downgrading only NetworkManager package solves the issue.

It looks like more a driver problem to me. What kernel version are you running?
Could you run
#/sbin/ethtool eth0
when cable is plugged and unplugged.

And also:
# tail -f /var/log/messages
and plug/unplug cable.

This bug could be related to these bugs:
bug 695050
bug 462373
bug 621378

See also:
http://ubuntuforums.org/showthread.php?t=1022411&highlight=RTL8111%2F8168B

Comment 2 Dawid Lorenz 2011-05-02 19:01:30 UTC
Well well well, in order to get these outputs I've upgraded NM again to 0.8.4 (along with few other packages that came from updates repo) and guess what. Now it works fine! Doh! Seems like it's not an issue with NetworkManager after all. Sorry for the hassle.

Attaching outputs anyway.

Comment 3 Dawid Lorenz 2011-05-02 19:02:15 UTC
Created attachment 496336 [details]
Output of /sbin/ethtool eth0 before and after plugging cable in

Comment 4 Dawid Lorenz 2011-05-02 19:02:50 UTC
Created attachment 496338 [details]
Output of tailf /var/log/messages when plugging and unplugging eth cable

Comment 5 Jirka Klimes 2011-05-03 06:45:58 UTC
Probably kernel got updated.

Comment 6 Maurizio 2012-12-23 00:30:12 UTC
some is stealing info