From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-f179.google.com ([209.85.212.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZTsZo-0005AI-Nw for kexec@lists.infradead.org; Mon, 24 Aug 2015 14:18:21 +0000 Received: by wicja10 with SMTP id ja10so73519277wic.1 for ; Mon, 24 Aug 2015 07:17:59 -0700 (PDT) Subject: Re: Dmesg not being dumped References: <2097586247.19732970.1440016713516.JavaMail.zimbra@redhat.com> <55D57913.2070303@kyup.com> <1497907178.20184517.1440075877293.JavaMail.zimbra@redhat.com> <55D6DCD6.8050000@kyup.com> <435200626.24541654.1440421412725.JavaMail.zimbra@redhat.com> From: Nikolay Borisov Message-ID: <55DB2795.6050108@kyup.com> Date: Mon, 24 Aug 2015 17:17:57 +0300 MIME-Version: 1.0 In-Reply-To: <435200626.24541654.1440421412725.JavaMail.zimbra@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Dave Anderson Cc: kexec@lists.infradead.org On 08/24/2015 04:03 PM, Dave Anderson wrote: > > > ----- Original Message ----- >> >> >> On 08/20/2015 04:04 PM, Dave Anderson wrote: >>> The vmcoreinfo data strings were initially located in an ELF note in /proc/vmcore. >>> When makedumpfile -c was run on /proc/vmcore, it copied those ELF notes into the >>> compressed kdump header, and you have dumped them above. >>> >>> So it seems to be an issue with vmcore-dmesg. If you change the core_collector >>> variable to "cp" or "scp", it will copy /proc/vmcore unmodified to the target >>> location. Then you can run vmcore-dmesg on that file to debug it. >> >> This is very, very odd. Obtaining a raw vmcore with cp and then running >> vmcore-dmesg does show the dmesg log. But at the same time, the >> vmcore-dmesg.txt file is empty and its name is >> vmcore-dmesg-incomplete.txt... > > I'm not sure what you mean. Similar to the saving of the vmcore file, the > script directs the output of vmcore-dmesg into vmcore-dmesg-incomplete.txt. > Then, only if vmcore-dmesg returns an exit status of 0, the script will > rename the file to vmcore-dmesg.txt. vmcore-dmesg vmcore _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec