On Fri, 2008-06-13 at 14:00 -0400, Vivek Goyal wrote: [...] > Ok, I found that in my config CONFIG_HIBERNATION was not enabled. After > enabling CONFIG_HIBERNATION, both suspend to disk and kjump started > working. > > Does that mean there is some dependency on code under CONFIG_HIBERNATION. > If yes, I think this dependency should be resolved during compile time. > May be addtional config option (CONFIG_KEXEC_JUMP), which also selects > the CONFIG_HIBERNATION automatically etc... Yes. kexec jump need to put devices into quiescent state and save devices state into memory, which is implemented by calling hibernation function: device_suspend(PMSG_FREEZE), whose implementation depends on CONFIG_HIBERNATION. So, I will add CONFIG_KEXEC_JUMP and select CONFIG_HIBERNATION automatically. Best Regards, Huang Ying _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm