resume woes on jornada (2.6.25)
Greetings,
Been bugtracking this for ages. This is what I get :
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. Suspending console(s)
When trying to resume it gives out a cold exception and shows the HP screen. Ive removed almost all components of the kernel. Only stuff left is hd64461 chip (which really should be in suspend mode) and APM code.
I've gone through the arch/sh/boards/hp6xx/pm.c & pm_wakeup code and both seem fine. Nothing changed and everything is resonable.
What Im uncertain of is the arch/sh/kernel/pm.c code. It hasn't changed any since v2.6.17 (which had working suspend) but it feels like the most resonable solution. It does some fly stuff trying to add itself as handle for the power button (0x600?).
Anyhow, suggestions are really appreciated as its bugging the hell out of me. Ive used same compiler on both 2.6.17 & 2.6.25 so this shouldn't caused by bad gcc.
Best wishes
Kristoffer
Quoted 8 lines · Kristoffer Ericson
I've gone through the
arch/sh/boards/hp6xx/pm.c&pm_wakeupcode and both seem fine. Nothing changed and everything is resonable.What Im uncertain of is the
arch/sh/kernel/pm.ccode. It hasn't changed any since v2.6.17 (which had working suspend) but it feels like the most resonable solution. It does some fly stuff trying to add itself as handle for the power button (0x600?).
No one has been touching that code or doing much testing on SH-3, so if you want to figure out what went wrong, I'm afraid you're going to have to bisect it. This is also why it tends to be helpful to test your platform more than once a year, especially since no one else has the hardware. :-)