On 1 Feb 2011, Bruce W. Allan spake thusly: >>-----Original Message----- >>From: Nix [mailto:n...@esperi.org.uk] >>I am... confuzzled, but am happy to try turning L0s/L1 off (if I can >>figure out how to do it: setpci is... not the most friendly of tools >>and I've never even looked at its manpage before). > > ASPM is enabled/disabled via bits 1:0 of byte 16 in the Express Endpoint > capability register. First see what is in this byte with the following: > > # setpci -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] CAP_EXP+10.b > > where [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] is the slot information > for your 82574. I'm guessing that command will return 43 (hex) to indicate > ASPM L0s (bit 0) and ASPM L1 (bit 1) are both enabled based on your previous
Quite so. More confusingly, they are both enabled on every kernel I have access to, from 2.6.37 right back to 2.6.35.4 (which does not freeze with in-tree nor out-of-tree drivers). Possibly something else is keeping it active enough to stay awake in that kernel? > lspci output. Now, re-write the byte with bits 1:0 set to 10b (or 42 hex) > to disable ASPM L0s: > > # setpci -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] CAP_EXP+10.b=42 > > or 00b (40 hex) to disable both ASPM L0s and L1: > > # setpci -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] CAP_EXP+10.b=40 > > and verify with 'lspci -vvv' that ASPM L0s [and L1] are disabled. LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- So, lspci is not lying to us. (It looks to me like I can still get the benefits of ASPM on the NIC that is only running at 100Mb/s: it's never once frozen. So for now I've left it on on that NIC, and turned it off on the gigabit one.) Let us see if the NIC freezes in the next week or so. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired