[Bugme-new] [Bug 11375] New: R8169 will not negotiate 1000BaseT

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Tue Aug 19 19:18:27 PDT 2008


http://bugzilla.kernel.org/show_bug.cgi?id=11375

           Summary: R8169 will not negotiate 1000BaseT
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.26.2
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Network
        AssignedTo: jgarzik at pobox.com
        ReportedBy: ben_roberts at terpalum.umd.edu


Latest working kernel version: 2.6.15.6 (AFAIK)
Earliest failing kernel version: 2.6.26.2 (AFAIK)
Distribution: Debian Etch, custom kernels
Hardware Environment: AMD Athlon Thunderbird, VIA 82C686 chipset, Realtek 8169
gigabit ethernet (NetGear GA311)
Problem Description:

I just upgraded to 2.6.26.2 from 2.6.15.6 and my Realtek 8169 gigabit card will
not automatically enter 1000BaseT mode. If it makes any difference, I made a
couple changes to the config between these two but the only major changes I
remember making were changing from the old to new MegaRAID driver and enabling
a tickless system.

lspci -v:
00:11.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit
Ethernet (rev 10)
        Subsystem: Netgear Unknown device 311a
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
        I/O ports at e800 [size=256]
        Memory at f7017000 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 30000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

dmesg:
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKA] -> GSI 11 (level, low) ->
IRQ
 11
eth0: RTL8110s at 0xe080a000, 00:1e:2a:49:66:a1, XID 04000000 IRQ 11
[...]
r8169: eth0: link up
eth0: no IPv6 routers present

mii-tool -vv eth0:
Using SIOCGMIIPHY=0x8947
eth0: negotiated 100baseTx-FD flow-control, link ok
  registers for MII PHY 32: 
    1000 796d 001c c910 0de1 cde1 000d 2001
    4035 0300 7800 1000 1007 f880 0000 3000
    0060 ac80 0000 6c40 0060 0000 f284 0108
    2740 2222 0000 01fd 0990 0000 0000 9860
  product info: vendor 00:07:32, model 17 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

If I run "ethtool -s eth0 speed 1000" the link stays at 100BaseTx-FD.

Now, here's the output under 2.6.15.6:

dmesg:
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKA] -> GSI 11 (level, low) ->
IRQ
 11
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xe0808000, 00:1e:2a:49:66:a1, IRQ 11
[snip]
r8169: eth0: link up
eth0: no IPv6 routers present

[For some reason mii-tool won't work under my 2.6.15.6 kernel...]
ethtool eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Current message level: 0x00000033 (51)
        Link detected: yes

I confirmed via file transfers that under 2.6.26 I'm definitely not getting
anywhere near the network performance I had on 2.6.15.

Let me know if there's anything else you would like me to provide.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list