Dmesg not being dumped

Pratyush Anand panand at redhat.com
Thu Aug 20 21:49:12 PDT 2015


Hi Nikolay,

On 19/08/2015:02:10:21 PM, Nikolay Borisov wrote:
> Hi,
> 
> On 08/19/2015 12:02 PM, Baoquan He wrote:
> > On 08/19/15 at 09:21am, Nikolay Borisov wrote:
> >> Hello,
> >>
> >> I've recently noticed that when creating crashdumps the dmesg is not
> >> being saved. The error reported is this: "Missing the struct log size
> >> export". I've tested with both kernel 4.1.1 and 3.12.28. My version of
> >> kexec tools is : kexec-tools 2.0.9 released 04 June 2015. The kernel has

Are you sure if you have 2.0.9. I see 2.0.9 is dated 09 Feb 2015.

commit 8e762175d295aad08a1cc62d6394e8285f225a40
Author: Simon Horman <horms at verge.net.au>
Date:   Mon Feb 9 14:33:24 2015 +0900

    kexec-tools 2.0.9


> >> been compiled with debugging info so the respective symbol should be
> >> exported but apparently it is not. Any ideas how to debug that?

Can you please cross check that you have following patch in your kexec-tool. If
you have that patch, then its really strange that you see this issue.

commit c96b723e17eb4af689de494b636d8bded4b98c88
Author: Vivek Goyal <vgoyal at redhat.com>
Date:   Thu May 22 10:43:14 2014 -0400

    vmcore-dmesg: Handle struct log to struct printk_log renaming

~Pratyush    



More information about the kexec mailing list