Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933312Ab2EQQbj (ORCPT ); Thu, 17 May 2012 12:31:39 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:57917 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932172Ab2EQQbg (ORCPT ); Thu, 17 May 2012 12:31:36 -0400 MIME-Version: 1.0 In-Reply-To: <20120517084031.GA31753@lizard> References: <20120517083740.GA25627@lizard> <20120517084031.GA31753@lizard> Date: Thu, 17 May 2012 09:31:31 -0700 X-Google-Sender-Auth: 7FzhLW0nq0wA3Hf_iFm5zZARH1U Message-ID: Subject: Re: [PATCH 1/6] pstore: Add console log messages support From: Kees Cook To: Anton Vorontsov Cc: Greg Kroah-Hartman , Colin Cross , Tony Luck , Arnd Bergmann , John Stultz , Shuah Khan , arve@android.com, Rebecca Schultz Zavin , Jesper Juhl , Randy Dunlap , Stephen Boyd , Thomas Meyer , Andrew Morton , Marco Stornelli , WANG Cong , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 889 Lines: 22 On Thu, May 17, 2012 at 1:40 AM, Anton Vorontsov wrote: > Pstore doesn't support logging kernel messages in run-time, it only > dumps dmesg when kernel oopses/panics. This makes pstore useless for > debugging hangs caused by HW issues or improper use of HW (e.g. > weird device inserted -> driver tried to write a reserved bits -> > SoC hanged. In that case we don't get any messages in the pstore. > > Therefore, let's add a runtime logging support: PSTORE_TYPE_CONSOLE. > > Signed-off-by: Anton Vorontsov Acked-by: Kees Cook -- Kees Cook Chrome OS Security -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/