Hibernation/suspend to disk support in RZ/G1E starter kit.

23 views
Skip to first unread message

TUSHAR NIMJE

unread,
Nov 12, 2016, 2:41:00 AM11/12/16
to inside...@googlegroups.com
Hi Anil/Pradeep,

I am trying to add hibernation support in renesas R1/G1E starter kit.

1. I followed steps given in http://elinux.org/RZ-G/Boards/SK-RZG1E for running yocto on RZ/G1E for kernel 3.10.

2. On top of this applied patch https://lists.linaro.org/pipermail/linaro-kernel/2014-March/012112.html on kernel to enable hibernation support. 

With this changes I am able to create hibernation image on external sdcard swap partition.

While resume board hangs in copy_page call after looping for 13287 iterations.  {Reference on 3.18 kernel: http://androidxref.com/kernel_3.18/xref/arch/arm/kernel/hibernate.c#87}

Can you please guide me on possible cause for this.

PFA  txt file for full log during resume.



Regards,
Tushar

resume_logs.txt

Anil Kumar Pugalia

unread,
Nov 12, 2016, 10:31:17 PM11/12/16
to inside...@googlegroups.com

The log doesn't seem to have anything interesting to debug the issue. Try enabling hacking options like "oops on hang" in your kernel, to trace where is it hanging.

Regards
Anil
Passion: http://sysplay.in (Playing with Systems)
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TUSHAR NIMJE

unread,
Nov 16, 2016, 2:25:56 AM11/16/16
to inside...@googlegroups.com
Hi Anil,

Thanks for the reply.

PFA resume logs after enabling kernel hacking options.

From logs it looks like it hangs in sh_pm_runtime_late_init  call. Please let me know your views on this.



Regards,
Tushar

To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux+unsubscribe@googlegroups.com.
resume_error_logs.txt

Anil Kumar Pugalia

unread,
Nov 18, 2016, 12:49:28 AM11/18/16
to inside...@googlegroups.com

Assuming there are no further log, that seems to be the culprit. Dive into it & check out.

Regards
Anil
Passion: http://sysplay.in (Playing with Systems)
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages