From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from galois.linutronix.de ([193.142.43.55]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrKHL-0008BJ-5x for kexec@lists.infradead.org; Fri, 03 Jul 2020 11:54:51 +0000 From: John Ogness Subject: Re: [PATCH v3 3/3] printk: use the lockless ringbuffer In-Reply-To: <585a6a1b-931c-1034-e2cc-da2c4381751e@redhat.com> References: <20200618144919.9806-1-john.ogness@linutronix.de> <20200618144919.9806-4-john.ogness@linutronix.de> <87zh8imgs5.fsf@jogness.linutronix.de> <585a6a1b-931c-1034-e2cc-da2c4381751e@redhat.com> Date: Fri, 03 Jul 2020 14:00:47 +0206 Message-ID: <87lfk0stiw.fsf@jogness.linutronix.de> MIME-Version: 1.0 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: lijiang , Petr Mladek Cc: Andrea Parri , Sergey Senozhatsky , Paul McKenney , Peter Zijlstra , Greg Kroah-Hartman , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Steven Rostedt , Sergey Senozhatsky , Thomas Gleixner , Linus Torvalds On 2020-07-02, lijiang wrote: > About the VMCOREINFO part, I made some tests based on the kernel patch > v3, the makedumpfile and crash-utility can work as expected with your > patch(userspace patch), but, unfortunately, the > vmcore-dmesg(kexec-tools) can't correctly read the printk ring buffer > information, and get the following error: > > "Missing the log_buf symbol" > > The kexec-tools(vmcore-dmesg) should also have a similar patch, just like > in the makedumpfile and crash-utility. A patched kexec-tools is available here [0]. I did not test using 32-bit dumps on 64-bit machines and vice versa. But it should work. John Ogness [0] https://github.com/Linutronix/kexec-tools.git (printk branch) _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec