lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080613180059.GA4906@redhat.com>
Date:	Fri, 13 Jun 2008 14:00:59 -0400
From:	Vivek Goyal <vgoyal@...hat.com>
To:	"Huang, Ying" <ying.huang@...el.com>
Cc:	"Eric W. Biederman" <ebiederm@...ssion.com>,
	Pavel Machek <pavel@....cz>, nigel@...el.suspend2.net,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, linux-pm@...ts.linux-foundation.org,
	Kexec Mailing List <kexec@...ts.infradead.org>
Subject: Re: [PATCH -mm 1/2] kexec jump -v11: kexec jump

On Fri, Jun 13, 2008 at 09:04:00AM +0800, Huang, Ying wrote:
> 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?
> 

2.6.26-rc5-mm1.

> Does original hibernation work? It can be setup easily. Just add
> following parameters to kernel command line:
> 

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...

Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ