Bug 22412 - No link on RTL8111D on boot - also breaks link on Windows
Summary: No link on RTL8111D on boot - also breaks link on Windows
Status: RESOLVED WILL_NOT_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network@kernel-bugs.osdl.org
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 05:18 UTC by Loïc Minier
Modified: 2012-08-14 11:45 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.37-rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Loïc Minier 2010-11-08 05:18:14 UTC
Hi

On boot, I would get no link on a Realtek RTL8111D ethernet adapter supported by r8169 which otherwise works from Windows 7; upon reboot, Windows can't get a link either.

Workaround for Windows: power off, turn off the power supply (or remove the power cable) and wait 5 minutes

Workaround for Linux: modprobe -r r8169 && modprobe r8169 after boot -- but please read below

The motherboard is a Gigabyte GA-P55-UD3 motherboard which comes with a builtin Realtek RTL8111D onboard ethernet:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
        Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
        Flags: bus master, fast devsel, latency 0, IRQ 49
        I/O ports at be00 [size=256]
        Memory at fbeff000 (64-bit, prefetchable) [size=4K]
        Memory at fbef8000 (64-bit, prefetchable) [size=16K]
        [virtual] Expansion ROM at fbe00000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

This is not a regression, also occurred with 2.6.35; in fact this problem was originally reported as https://bugs.launchpad.net/ubuntu/+source/linux/+bug/672387


This problem was 100% reproducible on every boot, but now that I did a modprobe -r r8169 && modprobe 8169 once, I can't reproduce it at all anymore, even after power off/power on.  I also tried turning off the power supply for 5 minutes, but can't trigger the bug anymore.

I figured you might be interested in the bug report nonetheless as it affects new Linux users.

Thanks,
Comment 1 Loïc Minier 2010-11-08 05:19:56 UTC
Also reported by other people at:
http://ubuntuforums.org/showthread.php?t=1548422
Comment 2 Loïc Minier 2010-11-08 07:20:52 UTC
I did manage to reproduce the bug after a 64-bits reinstall; modprobe worked around the problem again, but I'm not sure how to reset the system in the state where I can systematically reproduce the bug.

Note You need to log in before you can comment on or make changes to this bug.