* r8169 not advertising 1000mbit after suspend anymore
@ 2009-07-19 17:09 Benjamin S.
2009-07-21 22:37 ` Francois Romieu
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin S. @ 2009-07-19 17:09 UTC (permalink / raw)
To: romieu; +Cc: netdev
Hello,
I have a Gigabyte GA-MA78G-DS3H mainboard with a RTL8111/8168B Realtek
Gigabit Ethernet Controller. Until first suspend everything works as
expected, but after suspend only 100mbit are used instead of 1000.
Interesting part of lspci -v:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Giga-byte Technology Device e000
Flags: bus master, fast devsel, latency 0, IRQ 26
I/O ports at de00 [size=256]
Memory at fdaff000 (64-bit, prefetchable) [size=4K]
Memory at fdae0000 (64-bit, prefetchable) [size=64K]
[virtual] Expansion ROM at fda00000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
Capabilities: [d0] Vital Product Data <?>
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 78-56-34-12-78-56-34-12
Kernel driver in use: r8169
Kernel modules: r8169
mii-tool after suspend:
eth0: negotiated 100baseTx-FD flow-control, link ok
product info: vendor 00:07:32, model 17 rev 2
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
mii-tool after setting speed to 1000 with "ethtool -s eth0 speed 1000":
eth0: negotiated 1000baseT-FD flow-control, link ok
product info: vendor 00:07:32, model 17 rev 2
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
I did not knew if the Switch could be the problem and thus I connected the
card to my laptop which also has a gigabit controller, but the result was
the same as above.
regards,
Benjamin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: r8169 not advertising 1000mbit after suspend anymore
2009-07-19 17:09 r8169 not advertising 1000mbit after suspend anymore Benjamin S.
@ 2009-07-21 22:37 ` Francois Romieu
2009-07-22 9:41 ` sbenni
0 siblings, 1 reply; 3+ messages in thread
From: Francois Romieu @ 2009-07-21 22:37 UTC (permalink / raw)
To: Benjamin S.; +Cc: netdev
Benjamin S. <sbenni@gmx.de> :
[...]
> I have a Gigabyte GA-MA78G-DS3H mainboard with a RTL8111/8168B Realtek
> Gigabit Ethernet Controller. Until first suspend everything works as
> expected, but after suspend only 100mbit are used instead of 1000.
Which kernel do you use ?
[...]
> mii-tool after suspend:
> eth0: negotiated 100baseTx-FD flow-control, link ok
> product info: vendor 00:07:32, model 17 rev 2
> 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
>
> mii-tool after setting speed to 1000 with "ethtool -s eth0 speed 1000":
> eth0: negotiated 1000baseT-FD flow-control, link ok
[snip]
At which point it works correctly again, right ?
[...]
> I did not knew if the Switch could be the problem and thus I connected the
> card to my laptop which also has a gigabit controller, but the result was
> the same as above.
At least some 8168 appear to lose the link settings :o/
Please send the XID line of the offender taken from dmesg.
--
Ueimor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: r8169 not advertising 1000mbit after suspend anymore
2009-07-21 22:37 ` Francois Romieu
@ 2009-07-22 9:41 ` sbenni
0 siblings, 0 replies; 3+ messages in thread
From: sbenni @ 2009-07-22 9:41 UTC (permalink / raw)
To: Francois Romieu; +Cc: netdev
On Wed, 22 Jul 2009 00:37:41 +0200
Francois Romieu <romieu@fr.zoreil.com> wrote:
> Benjamin S. <sbenni@gmx.de> :
> [...]
> > I have a Gigabyte GA-MA78G-DS3H mainboard with a RTL8111/8168B Realtek
> > Gigabit Ethernet Controller. Until first suspend everything works as
> > expected, but after suspend only 100mbit are used instead of 1000.
>
> Which kernel do you use ?
2.6.30
> > mii-tool after setting speed to 1000 with "ethtool -s eth0 speed 1000":
> > eth0: negotiated 1000baseT-FD flow-control, link ok
> [snip]
>
> At which point it works correctly again, right ?
Yes. After resetting speed with ethtool file transfers with 25MB/s
between my router and my computer are possible again.
>
> At least some 8168 appear to lose the link settings :o/
>
> Please send the XID line of the offender taken from dmesg.
[ 2.802073] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 2.802132] r8169 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 2.802186] r8169 0000:02:00.0: setting latency timer to 64
[ 2.802255] r8169 0000:02:00.0: irq 26 for MSI/MSI-X
[ 2.802334] PM: Adding info for No Bus:eth0
[ 2.802620] eth0: RTL8168c/8111c at 0xffffc20000668000, 00:1f:d0:53:f6:89, XID 3c4000c0 IRQ 26
Benjamin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-22 9:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-19 17:09 r8169 not advertising 1000mbit after suspend anymore Benjamin S.
2009-07-21 22:37 ` Francois Romieu
2009-07-22 9:41 ` sbenni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox