On Thu, 2008-06-12 at 15:20 -0400, Vivek Goyal wrote: > On Tue, Jun 10, 2008 at 03:15:04PM +0800, Huang, Ying wrote: > > This patch provides an enhancement to kexec/kdump. It implements > > the following features: > > > > - Backup/restore memory used by the original kernel before/after > > kexec. > > > > - Save/restore CPU state before/after kexec. > > > > The features of this patch can be used as a general method to call > > program in physical mode (paging turning off). This can be used to > > call BIOS code under Linux. > > > > > > Hi Huang, > > I was testing these patches and I get following error on my machine. > > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > Suspending console(s) (use no_console_suspend to debug) > PM: Device i8042 failed to freeze: error -22 > Restarting tasks ... done. > > Any idea why keyboard controller would not freeze? Which kernel version do you use? Does original hibernation work? It can be setup easily. Just add following parameters to kernel command line: resume=/dev/<xxx> Where <xxx> is the swap partition. And execute following command: echo reboot > /sys/power/disk echo disk > /sys/power/state Best Regards, Huang Ying _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm