Bug 617936
Summary: | "pcie_aspm=off" option required for stable operation of R8169 Driver Under Load | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jrickman |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | anton, bugzilla, dougsland, gansalmon, itamar, jonathan, jrickman, kernel-maint, lsof, madhu.chinakonda, martinrssf, tom |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-06-06 08:24:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
jrickman
2010-07-25 06:02:37 UTC
Try adding "pcie_aspm=off" to the kernel boot options. Also, try kernel-2.6.34.1-29 from koji, which has a fix that should work on some machines without needing that option. Adding "pcie_aspm=off" corrects this problem for this motherboard and the R8169 NIC combination. I have a different machine with a PCIe-connected RTL 8111/8169B chipset that does not experience this issue at all; "lspci" shows that PCIe_ASPM is enabled on it. [root@fw ~]# lspci -s 01:00.0 -vvv 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 25 Region 0: I/O ports at ce00 [size=256] Region 2: Memory at fdbff000 (64-bit, non-prefetchable) [size=4K] Region 4: Memory at fdcf0000 (64-bit, prefetchable) [size=64K] [virtual] Expansion ROM at fdc00000 [disabled] [size=128K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- [snip] LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us ClockPM+ Surprise- LLActRep- BwNot- LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- [snip] This other machine uses a different motherboard (Jetway NC92-330) and runs FC 12 2.6.32.14-127.fc12.i686.PAE. I have run this machine for over a year and routinely run 16~18 Mbps data streams through it but never to it. Any thoughts why do I not see the issue on this other machine? (In reply to comment #2) > This other machine uses a different motherboard (Jetway NC92-330) and runs FC > 12 2.6.32.14-127.fc12.i686.PAE. I have run this machine for over a year and > routinely run 16~18 Mbps data streams through it but never to it. Any thoughts > why do I not see the issue on this other machine? There are many variants of the r8169 cards. It may be that some can work with ASPM and some cannot. Also, the code in our 2.6.33 kernel enables ASPM even when the motherboard claims not to support it. 2.6.34.1-29 has a fix for the latter issue. I would accept "pcie_aspm=off" as a Fedora installation default when R8169 chipsets are recognized and until improvements are made in identifying R8169 chipset revisions and ASPM support within those revisions. The end user can always enable ASPM ("pcie_aspm=on") later. Based on the web searching that I have done regarding "pcie_aspm", setting "pcie_aspm=on" seems to cause problems rather than provide benefit. When benefit is noted it appears to be marginal at best; one post stated 0.5W power savings. Perhaps in the future we will see the "pcie_aspm" technology evolve into something really valuable. Chuck, thank you very much for your assistance. I am looking forward to the next public release and/or update to Fedora. I had a similar issue with Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) with r8169 and pcie_aspm=off seems to help with 2.6.34.7-61.fc13.x86_64 kernel. Just as a note, I also have Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) on a different motherboard (the only difference being rev 01 rather than rev 02) and that one has no problem whatsoever with r8169. I'm guessing 2.6.34.1-29 fix mentioned in comment 3 worked for rev 01 but not rev 02. Anyway, bug#538920 and bug#620047 seem all related to this. This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Retested this issue on same hardware. Unable to duplicate in Fedora Core 14 kernels: 2.6.35.13-91.fc14.i686 2.6.35.13-91.fc14.i686.PAE OK to close. i'm still seeing issues in fedora 15, but pcie_aspm=off is not fixing it. I suspect pcie_aspm=off not working being responsible for an installation failing (bug 707702). |