Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02) not working in 14.04 and 15.04

Bug #1491761 reported by filip
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

<info> (eth0): carrier is OFF
Sep 2 20:00:32 cq71 NetworkManager[579]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Sep 2 20:00:32 cq71 NetworkManager[579]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/1
Sep 2 20:00:32 cq71 NetworkManager[579]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Sep 2 20:00:32 cq71 NetworkManager[579]: <error> [1441216832.927980] [platform/nm-linux-platform.c:2250] link_change(): Netlink error changing link 2: <UP> mtu 0 (1) driver 'r8169' udi '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0': Invalid address for specified address family
Sep 2 20:00:32 cq71 NetworkManager[579]: <info> (eth0): preparing device

r8169 0000:03:00.0 eth0: RTL8102e at 0xffffc90004778000, 00:00:00:00:00:00, XID 04c00000 IRQ 27

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
 Subsystem: Hewlett-Packard Company Device 306c
 Kernel driver in use: r8169

  *-network DISABLED
       description: Ethernet interface
       product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 02
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full latency=0 link=no multicast=yes port=MII speed=100Mbit/s
       resources: irq:27 ioport:2000(size=256) memory:d4010000-d4010fff memory:d4000000-d400ffff memory:d5000000-d500ffff

i compiled the r8101 module from here:
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=7&Level=5&Conn=4&DownTypeID=3&GetDown=false

after i put in a "cloned mac adress" the card is functional.
there is also an old bug report of this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/256331
---
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: filip 1084 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 15.04
HibernationDevice: RESUME=UUID=6f27858b-0ba5-46f9-b656-36f652d32cb0
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-16-generic root=UUID=c8c26d44-1f21-4878-8430-8e0fe79ffcc4 ro quiet splash
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-16-generic N/A
 linux-backports-modules-3.19.0-16-generic N/A
 linux-firmware 1.143.3
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: vivid
UdevLog: Error: [Errno 2] Bestand of map bestaat niet: '/var/log/udev'
Uname: Linux 3.19.0-16-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/22/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.14
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 306C
dmi.board.vendor: Quanta
dmi.board.version: 21.12
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.14:bd09/22/2009:svnHewlett-Packard:pn:pvrRev1:rvnQuanta:rn306C:rvr21.12:cvnQuanta:ct10:cvrN/A:
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1491761

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
tags: added: trusty
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.2 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
filip (bandit-s-fw) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected vivid
description: updated
Revision history for this message
filip (bandit-s-fw) wrote : CRDA.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : CurrentDmesg.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : IwConfig.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : JournalErrors.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : Lspci.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : Lsusb.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : ProcEnviron.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : ProcInterrupts.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : ProcModules.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : PulseList.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : UdevDb.txt

apport information

Revision history for this message
filip (bandit-s-fw) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
filip (bandit-s-fw) wrote :

tested with latest kernel but x crashed. probably due to nvidia blob.
But in lightdm i was able to see that the wired connections were grayed out.

Revision history for this message
penalvch (penalvch) wrote :

filip, could you please provide the full computer model as noted on the sticker of the computer itself (not from the Bug Description)?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
filip (bandit-s-fw) wrote :

compaq presario cq71
CQ71-350SB
VL002EA#UUG

With the r8101 module the card works but i have the feeling that it doesn't work 100 %
sometimes it is very slow. Other times it works normal but still slower than on my other laptop who is even older.

penalvch (penalvch)
tags: added: bios-outdated-f.23
Revision history for this message
filip (bandit-s-fw) wrote :

i have the original hdd in a box so i can use it as an external drive.
If i update grub with the drive attached i will probably have the windows 7 entry?
Will i be able to boot the windows?
And if that works, can i safely run the bios upgrade or will it for some reason fail and brick the laptop?

Revision history for this message
filip (bandit-s-fw) wrote :

booting to windows from usb hdd didn't work.
So i swapped the disks internally and flashed from windows.
sadly it didn't help.

filip@cq71:~$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
[sudo] password for filip:
F.23
12/21/2010
filip@cq71:~$

Sep 18 21:47:38 cq71 NetworkManager[635]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (lo): link connected
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (lo): carrier is ON
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (lo): new Generic device (driver: 'unknown' ifindex: 1)
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (lo): exported as /org/freedesktop/NetworkManager/Devices/0
Sep 18 21:47:38 cq71 NetworkManager[635]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (eth0): carrier is OFF
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/1
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Sep 18 21:47:38 cq71 NetworkManager[635]: <error> [1442605658.635194] [platform/nm-linux-platform.c:2250] link_change(): Netlink error changing link 2: <UP> mtu 0 (1) driver 'r8169' udi '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0': Invalid address for specified address family
Sep 18 21:47:38 cq71 NetworkManager[635]: <info> (eth0): preparing device

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

filip, could you please test the latest upstream kernel available from the very top line at the top of the page from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D (the release names are irrelevant for testing, and please do not test the daily folder)? Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds . This will allow additional upstream developers to examine the issue.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, Y, and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-f.23
removed: bios-outdated-f.23
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
filip (bandit-s-fw) wrote :
Download full text (5.3 KiB)

switched to nouveau driver

filip@cq71:~$ uname -r
4.3.0-040300rc1-generic

bug still exist.
networkmanager doesn't find any cabled network.
i suspect that my card isn't supported by the r8169 driver module or that the specific hw adress needs to be added.

Sep 20 15:36:59 cq71 NetworkManager[619]: <info> SCPlugin-Ofono: Acquired D-Bus service com.canonical.NMOfono
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> SCPlugin-Ofono: init!
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> SCPlugin-Ofono: end _init.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> Loaded plugin ofono: (C) 2013 Canonical Ltd. To report bugs please use the NetworkManager mailing list.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> (15569248) ... get_connections.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> (15569248) ... get_connections (managed=false): return empty list.
Sep 20 15:36:59 cq71 NetworkManager[619]: (NetworkManager:619): GLib-CRITICAL **: g_dir_read_name: assertion 'dir != NULL' failed
Sep 20 15:36:59 cq71 dbus[695]: [system] Successfully activated service 'org.freedesktop.ColorManager'
Sep 20 15:36:59 cq71 systemd[1]: Started Manage, Install and Generate Color Profiles.
Sep 20 15:36:59 cq71 systemd[1]: Started Modem Manager.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> new connection /etc/NetworkManager/system-connections/Ethernetverbinding 1
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> new connection /etc/NetworkManager/system-connections/telenet-0593D
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> SCPlugin-Ofono: (15373840) ... get_connections.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> SCPlugin-Ofono: (15373840) connections count: 0
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> get unmanaged devices count: 0
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> monitoring kernel firmware directory '/lib/firmware'.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> monitoring ifupdown state file '/run/network/ifstate'.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/ieee80211/phy0/rfkill0) (driver iwlwifi)
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/platform/hp-wmi/rfkill/rfkill1) (platform driver hp-wmi)
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> Loaded device plugin: /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> Loaded device plugin: /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-adsl.so
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> Loaded device plugin: /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wwan.so
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> Loaded device plugin: /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so
Sep 20 15:36:59 cq71 systemd[1]: Started Network Manager.
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> WiFi enabled by radio killswitch; enabled by state file
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> WWAN enabled by radio killswitch; enabled by state file
Sep 20 15:36:59 cq71 NetworkManager[619]: <info> WiMAX enabled...

Read more...

tags: added: kernel-bug-exists-upstream-4.3.0-040300rc1
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

filip, the issue you are reporting is an upstream one. Could you please report this problem following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel to the appropriate mailing list (netdev CC Realtek linux nic maintainers)?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked via http://vger.kernel.org/vger-lists.html . It can take a day for the new e-mail to show up in the respective archive.

Thank you for your understanding.

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.3-rc1
removed: kernel-bug-exists-upstream-4.3.0-040300rc1
Changed in linux (Ubuntu):
status: Confirmed → Triaged
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.