Closed warped-rudi closed 8 years ago
Do you have runtime pm enabled in the kernel config?
Yes.
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM_RUNTIME=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
# CONFIG_APM_EMULATION is not set
CONFIG_ARCH_HAS_OPP=y
CONFIG_PM_OPP=y
CONFIG_PM_CLK=y
CONFIG_PM_GENERIC_DOMAINS=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
CONFIG_PM_GENERIC_DOMAINS_RUNTIME=y
CONFIG_PM_GENERIC_DOMAINS_OF=y
CONFIG_CPU_PM=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
The crash happens randomly, but usually after the CuBox/Kodi is idle for a while.
This is with an up to date kernel? There were some bugs in the fec ethernet driver that forced me to revert some PM_RUNTIME changes I had made. They sometimes caused errors like this depending on the switch it was connected to.
On Sat, Sep 12, 2015 at 1:02 PM, Rudi Ihle notifications@github.com wrote:
Yes.
CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y CONFIG_PM_SLEEP=y CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_AUTOSLEEP is not set
CONFIG_PM_WAKELOCKS is not set
CONFIG_PM_RUNTIME=y CONFIG_PM=y
CONFIG_PM_DEBUG is not set
CONFIG_APM_EMULATION is not set
CONFIG_ARCH_HAS_OPP=y CONFIG_PM_OPP=y CONFIG_PM_CLK=y CONFIG_PM_GENERIC_DOMAINS=y
CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_PM_GENERIC_DOMAINS_SLEEP=y CONFIG_PM_GENERIC_DOMAINS_RUNTIME=y CONFIG_PM_GENERIC_DOMAINS_OF=y CONFIG_CPU_PM=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARM_CPU_SUSPEND=y
The crash happens randomly, but usually after the CuBox/Kodi is idle for a while.
— Reply to this email directly or view it on GitHub https://github.com/SolidRun/linux-fslc/issues/17#issuecomment-139745320.
Yes, had it right now with the latest 3.14.51. The wired ethernet is not connected at all. However, some geexbox-specific patches are in place. Will remove them to rule that out...
O.K., this particular crash only happens on my "special" CuBox-i that has a broken PHY. It is not related to power management, but to the fact that the fec driver will not shutdown it's timer callback even though the device is not instantiated.
Starting about tree weeks ago I experience crashes like this:
It seems to be related to power management, but I have no idea how to track this down. Any ideas ?