Random hangs during resume on 4.1.15 kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Random hangs during resume on 4.1.15 kernel

1,143 Views
dougjene
Contributor I

Hi All,

I am using 4.1.15 freescale kernel on iMX6DL board. I tried using suspend to disk feature on this board and suspend worked fine.

But when I resume there are random hangs observed i.e., sometimes it hangs very early and sometimes at the last stage of resume.

Also I see that problem maybe with timers. When I enabled "CONFIG_DEBUG_TIMEKEEPING" , I received below error messages during resume. I suspect hang may be because of improper timer resume. Please correct me if I am wrong

[ 0.005027] INFO: timekeeping: Cycle offset (4281355128) is larger than the the 'mxc_timer1' clock's 50% safety margin (2147483647)
[ 0.005034] timekeeping: Your kernel is still fine, but is feeling a bit nervous
[ 0.005039] WARNING: Underflow in clocksource 'mxc_timer1' observed, time update ignored.
[ 0.005041] Please report this, consider using a different clocksource, if possible.
[ 0.005045] Your kernel is probably still fine.

I tried 3.14 kernel and everything worked fine.

I have also tried disabling CPU freq and Bus freq but same issue occurs.

AnsonHuangigorpadykov‌ 

Guys please let me know your opinions

Regards

Labels (5)
0 Kudos
Reply
2 Replies

874 Views
igorpadykov
NXP Employee
NXP Employee

Hi Doug

please refer to Chapter 21 Low-level Power Management (PM) Driver

attached Linux Manual for low power functionality supported in

nxp linux bsps. Seems suspend to disk is not supported, this may

be posted on kernel mail list.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

874 Views
dougjene
Contributor I

Hi Igor,

Thank you for the reference. But I see no problem in 3.14 freescale kernel so I posted it here. And also pm related commits are done by AnsonHuang‌ , so maybe he can help

Thanks

0 Kudos
Reply