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] [day] [month] [year] [list]
Message-ID: <TU4PR8401MB0927CC96419009A3D0B0FDDDAB200@TU4PR8401MB0927.NAMPRD84.PROD.OUTLOOK.COM>
Date:   Thu, 2 Jan 2020 20:39:27 +0000
From:   "Elliott, Robert (Servers)" <elliott@....com>
To:     Luigi Semenzato <semenzato@...gle.com>,
        "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-mm@...ck.org" <linux-mm@...ck.org>,
        "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
        "rafael@...nel.org" <rafael@...nel.org>,
        "gpike@...gle.com" <gpike@...gle.com>
Subject: RE: [PATCH v2 2/2] pm: add more logging on hibernation failure



> -----Original Message-----
> From: linux-kernel-owner@...r.kernel.org <linux-kernel-
> owner@...r.kernel.org> On Behalf Of Luigi Semenzato
> Sent: Thursday, January 2, 2020 2:01 PM
> To: linux-pm@...r.kernel.org
...
> -	pr_info("Preallocating image memory... ");
> +	pr_info("Preallocating hibernation image memory\n");
...
> +		pr_err("Cannot allocate original bitmap\n");
...
> +		pr_err("Cannot allocate copy bitmap\n");
...
> +			pr_err("Image allocation is %lu pages short\n",
> +				alloc - pages_highmem);
...
> -	pr_cont("done (allocated %lu pages)\n", pages);
> +	pr_info("Allocated %lu pages for hibernation shapshot\n", pages);
>  	swsusp_show_speed(start, stop, pages, "Allocated");

Including the word "hibernation" or the phrase "hibernation image" in
each print would help in parsing the messages (e.g., with grep).



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ