Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2257806ybt; Fri, 3 Jul 2020 04:58:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznQskfhIV4NcCykC/J+uOFa6e1v5xBhwymA6i8d7HhC8dwNQD68/rUd/LzDQNoJc03NV8p X-Received: by 2002:a05:6402:1c96:: with SMTP id cy22mr39271197edb.79.1593777498215; Fri, 03 Jul 2020 04:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593777498; cv=none; d=google.com; s=arc-20160816; b=bFyI8NbJ3eoXIkW9OJ8Wz9hDsAuoVaYUOJwDSobJWtCbPgXRMyf+LyIn6ZNc5P37C1 d4Tbd0gJm2VJ8k4ieuzkvCXvnEUHMWD9cIsKk8rjrpfSRo747s2L35wxDJcZ6Z23q2Qa pGPrHesfK6cTg1ib0bdbv5imZCvo6jrmeH9eEi8joAr/8sEbYk0bO+r9ltfn8pyyM4lz 4u6X7iebdwE8Ybsj4vryamEVbKWzHPNt5rkEgDjOHAjrAlRxGbjqm5JfMTaLeBN1gmGh fi64C9vanxDXleDgbtEqRUyayYhnL4IEfjzWeRqc+KqBHcEGWvd8pW8FHXWIM9q/TMsP g/LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=tqsPqORaw9Q178d54A+8BgwdJHYrzEiA8iUXpX8kYzc=; b=UVEBg+ot9bjuSLWgtem7QiyixsQfORReeXctwYskyinYKS7IhYsFsIkUmz9GgwjzS5 99YIV6jbf0u6n+hmtNmHignb6gPOuuxjM5hnFYJlyEVr/SFjemvPMpTCcx9dnpgNFigN ygfO6sY+YyqdEYCIwlEa3VPhNCFK3qbiAd1gpaesQrDD9edO0eSsdwvWrzGH0VNGsVnI 6+5Kw4Xx1J9yy54QgcTDlyDIJWxB0sIQeogyS3fNe4WgArejv1mtNFwPALPBrAcIRwSP oEsorVngoEbqCge8QSaO3s0BDBntUOpbgsem+LIl4/U54j+OJO0xx5/jrNMGy1cazhjA m0zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=nINZe0Wk; dkim=neutral (no key) header.i=@vger.kernel.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e13si7218738ejx.153.2020.07.03.04.57.55; Fri, 03 Jul 2020 04:58:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=nINZe0Wk; dkim=neutral (no key) header.i=@vger.kernel.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726147AbgGCLyv (ORCPT + 99 others); Fri, 3 Jul 2020 07:54:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725984AbgGCLyu (ORCPT ); Fri, 3 Jul 2020 07:54:50 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D520C08C5C1 for ; Fri, 3 Jul 2020 04:54:50 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1593777288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tqsPqORaw9Q178d54A+8BgwdJHYrzEiA8iUXpX8kYzc=; b=nINZe0WknDYQsTzPNQZsKNTifXY2Ch3I5dT0PAGllDaHe+WkK++GpKN8LDDU271AfWGiax zLcxxLPdDraYlifN/XSGzv3F9jWK9Qoxabpztre4iv+PVaaqPJ79nBDIWFk2Nb+Bo+zICS 4dVBbsT1v5bN1EmLVSSUck5wgoyNJgDkuF5XgEYHTx7Mrxq5M4P0HrP7y5QEpIh7Vq4tOq odXcAON6TTbpdlFplDmvWQwCE0Oy3WZJD8snziiG/mRwxrQvMvw8+QBMNUuWXFnCQafGko 2m8rzcFgdcbx7mzIAlvLcV6KTrSUQoUmMLIJp3jDDnA2xJeiy8MyVIWp6fMR+w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1593777288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tqsPqORaw9Q178d54A+8BgwdJHYrzEiA8iUXpX8kYzc=; b=mFdMw9wxfKXp10wnG/GF5CJpEOzicAbwqZNhRSiqBp/by425+oGhGe6L+jqPHGF6dnjMwj WWWW1/P0Ytz/iVCw== To: lijiang , Petr Mladek Cc: Peter Zijlstra , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Andrea Parri , Thomas Gleixner , Paul McKenney , kexec@lists.infradead.org, linux-kernel@vger.kernel.org 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 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)