From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from youngberry.canonical.com ([91.189.89.112]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Txw1H-0005uy-5H for kexec@lists.infradead.org; Wed, 23 Jan 2013 08:49:19 +0000 Message-ID: <50FFA40B.3020405@canonical.com> Date: Wed, 23 Jan 2013 09:49:15 +0100 From: Bouchard Louis MIME-Version: 1.0 Subject: Re: makedumpfile --dump-dmesg option broken on 3.5 kernels and later References: <50FE9989.5070601@canonical.com> <20130123101952.79072daf31bb30e217d38adf@mxc.nes.nec.co.jp> In-Reply-To: <20130123101952.79072daf31bb30e217d38adf@mxc.nes.nec.co.jp> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Atsushi Kumagai Cc: kexec@lists.infradead.org Hi Kumagai-san, Le 23/01/2013 02:19, Atsushi Kumagai a =E9crit : > Hello Louis, > = > On Tue, 22 Jan 2013 14:52:09 +0100 > Bouchard Louis wrote: > = >> Hello Kumagai-san, >> >> Following a suggestion from Dave Anderson, I have tested the >> makedumpfile --dump-dmesg option. After some research, I realized that >> the option was no longer working on 3.5 kernel and later. Here is an >> example of the result (on Ubuntu Quantal) : >> >> # makedumpfile --dump-dmesg /proc/vmcore /tmp/dmesg >> dump_dmesg: Can't find some symbols for log_buf. >> >> makedumpfile Failed. >> >> On 3.5 kernel and later, the log_end symbol no longer exists. >> >> This is caused by the change from byte-buffer structure to >> variable-length record buffer of the kernel log buffer introduced by >> this commit : >> http://goo.gl/NCgLI >> >> I am curious to know if you were aware of this change and if you had >> done some work on modifying dump_dmesg() accordingly ? Just so I don't >> go off and try to work on something that you have already solved. > = > Thanks for your report. > I haven't been aware of this, so could I ask you to help me ? > = I will be happy to do so. Dave Anderson has already fixed in for crash, so I have an example to follow. I've already started work on a patch for the post 3.5 kernels. I might need to come back to you for some details about the code though. Kind regards, ...Louis -- = Louis Bouchard Backline Support Analyst Canonical Ltd Ubuntu support: http://landscape.canonical.com _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec