Need help on Suspend on RAM

Francesco VIRLINZI
2008-09-30T07:26:10Z

Hi all
I'm working on Suspend on RAM on kernel 2.6.23.17 on a Sh4 based platform.
The suspend on RAM seems really working.
But it I suspend the board more then 3/4 times than the system doesn't
resume the user space
but via JTAG I see the kernel is running.

I enabled CONFIG_DETECT_SOFTLOCKUP and the kernel prints:

|BUG: soft lockup detected on CPU#0|

Moreover I installed the patch suggested in http://lwn.net/Articles/287024/
and it seems the kernel is running in:
- run_timer_softirq

and doing some other test I can confirm the kernel is really there...

In the board there is no real RTC... All the 'time' is based on the
system timer
and between suspend/resume the timer is really stopped.

Do you have some suggestion?

Regards
Ciao
Francesco