Bug 711197 - runtime PM wreaks havoc with r8169
Summary: runtime PM wreaks havoc with r8169
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-06 19:24 UTC by Tomasz Torcz
Modified: 2011-09-13 08:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-13 08:59:14 UTC
Type: ---


Attachments (Terms of Use)

Description Tomasz Torcz 2011-06-06 19:24:11 UTC
Description of problem:
Shortly after enabling in powertop runtime-PM for network cards, they start up/down dance, rendering any communication impossible:

[86896.554579] r8169 0000:04:00.0: p19p1: link up
[86896.565384] r8169 0000:04:00.0: PME# disabled
[86896.566275] r8169 0000:04:00.0: p19p1: link down
[86896.573281] r8169 0000:04:00.0: p19p1: link down
[86896.666300] r8169 0000:04:00.0: PME# enabled
[86898.231927] r8169 0000:04:00.0: p19p1: link up
[86898.242215] r8169 0000:04:00.0: PME# disabled
[86898.243106] r8169 0000:04:00.0: p19p1: link down
[86898.250119] r8169 0000:04:00.0: p19p1: link down
[86898.343127] r8169 0000:04:00.0: PME# enabled
[86899.990690] r8169 0000:05:00.0: p20p1: link up
[86899.990808] ADDRCONF(NETDEV_CHANGE): p20p1: link becomes ready
[86900.004958] r8169 0000:05:00.0: PME# enabled
[86900.026917] r8169 0000:05:00.0: PME# disabled
[86900.030854] r8169 0000:05:00.0: p20p1: link down
[86900.030889] r8169 0000:05:00.0: p20p1: link down
[86900.030941] ADDRCONF(NETDEV_UP): p20p1: link is not ready
[86900.035414] ADDRCONF(NETDEV_UP): p20p1: link is not ready

Disabling runtime pm for r8169 fixes thats.

Version-Release number of selected component (if applicable):
2.6.38.7-30.fc15.i686.PAE

How reproducible:
Always.

Steps to Reproduce:
1. Run powertop
2. Enable runtime PM foe r1869 network cards.
3.
  

Additional info:
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

May be related to bug #538920

Comment 1 Dave Jones 2011-08-04 18:22:58 UTC
does this still happen with the 2.6.40 update ?

Comment 2 Tomasz Torcz 2011-08-05 08:01:19 UTC
12 hours after enabling runtime PM problem did not appear. Previously it took few seconds.  It seems fixed with 2.6.40 (knock on wood).

Comment 3 Tomasz Torcz 2011-09-13 08:59:14 UTC
Fixed in kernel 3.0/2.6.40.


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