[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <987664A83D2D224EAE907B061CE93D530194487CA2@orsmsx505.amr.corp.intel.com>
Date: Tue, 1 Feb 2011 11:46:46 -0800
From: "Luck, Tony" <tony.luck@...el.com>
To: Américo Wang <xiyou.wangcong@...il.com>,
Seiji Aguchi <seiji.aguchi@....com>
CC: "rdunlap@...otime.net" <rdunlap@...otime.net>,
"Yu, Fenghua" <fenghua.yu@...el.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>, "x86@...nel.org" <x86@...nel.org>,
"tj@...nel.org" <tj@...nel.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"a.p.zijlstra@...llo.nl" <a.p.zijlstra@...llo.nl>,
"arnd@...db.de" <arnd@...db.de>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-ia64@...r.kernel.org" <linux-ia64@...r.kernel.org>,
"dle-develop@...ts.sourceforge.net"
<dle-develop@...ts.sourceforge.net>,
"shiyer@...hat.com" <shiyer@...hat.com>,
"pjones@...hat.com" <pjones@...hat.com>,
Satoru Moriya <satoru.moriya@....com>
Subject: RE: [RFC][PATCH] kmsg_dumper for NVRAM
> This looks like what Tony wanted, pstore.
Yes - this looks like another means to the same end (making console log
Available after a crash).
I wonder whether you could use my pstore file system interface
for this ... you'd need to write a backend that used EFI variable
space to save the pieces of a console log, in much the same way
that I used ERST to stash the pieces.
This might be a bit messy - but I think that it would be
worth doing in order to provide a single user interface
to the kmsg_dump on different architectures, regardless
of the underlying storage method used. I.e. the OS
vendors would just have to write startup scripts to glean
information from /dev/pstore and clear it by removing the
files there. Rather than having one set of scripts that
looks at EFI variables for machines that use that, a different
set for machines that have the sparc64 method of saving in
some special area of ram, and yet another set for a machine
that has some other motherboard magical non volatile storage
that hasn't been designed yet.
-Tony
Powered by blists - more mailing lists