https://bugzilla.kernel.org/show_bug.cgi?id=36132





--- Comment #9 from Kamil Iskra <kamil.54...@iskra.name>  2012-01-14 05:19:03 
---
Mike, there is a better workaround.  I found that for me, the problem was
actually triggered by running powertop.  When you start powertop, at least the
old <1.99 version, it offers to enable "Runtime Power Management". What this
actually does is, essentially:

for dpcontrol in /sys/bus/{pci,spi,i2c}/devices/*/power/control; do
    echo auto > "$dpcontrol"
done

I found that if various /sys/bus/pci/devices/*/power/control values are set to
"auto" rather than the default "on", weird things happen at shutdown. So I
modified my shutdown sequence to set them back to "on", and that fixed several
weird problems I've been experiencing at shutdown. You can check how the values
are set for you by doing:

cat /sys/bus/pci/devices/*/power/control

I wonder if there is a connection between this problem and pcie_aspm problems
documented by Phoronix and recently fixed by Matthew Garrett?  Both started
occurring in the 2.6.38 kernel.  Matt's fixes are supposed to be in 3.3, if I
remember correctly.  Would be nice if they fixed this issue too...

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to