Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1329246ybt; Thu, 2 Jul 2020 02:44:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlTev9G8okwez1q6YyAub758PpV7l/+IRiTvX2hqVc1lAP6rXt9pj9fln6l1VBd1sd2c6T X-Received: by 2002:aa7:d8c2:: with SMTP id k2mr33041246eds.346.1593683062380; Thu, 02 Jul 2020 02:44:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593683062; cv=none; d=google.com; s=arc-20160816; b=YeaHD+QJ/ln3MUWF7gESFsoUEvHlpSWAMtS1lILT6fsQdgC99P3hO1dgJZrR3TMMw5 3XpXoryHtj1OpVTV7o3x+gMZPG10mXBau2505uFGkIW6fePxKvdlVo+lq3mNt/7LFyxx T0TjiVJZml7KsqyMCJJ13pAQLhg3Mi94saLl0SL0W7TmVmve11U9Lfo98gpcYHPTEv/t UkQAWXbSUPyRgyupZ3xt1zOC62FqESu4PK55vXthUZzboxXwxCJ+HwwpfZn5TsDd68kh Q0ACR8zV0bK45YqLeiRJNzrgZ3Pg0NpFsvsfphqufsl5jhyPCPxfG6nstbsmFJfQEZ26 L8CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Ug+Cs+5MidriBBruTqDP+Dk7+JNAduJmDfJrU4PFZh0=; b=ImB3DBt6OGzd4OLvlRz2TrU36Kpjs1t59jZCiFbIaHVJJBFGg/WgMz7plxYvHXeKse Pa3OT1UlPZu0P5phT8oUouNz5q0DkPR3tDJ2q34JZFQLNpnQ3FLIpC/5b6YvrqUtca5M pKlhHbL1MFx5PK6sRBM+hjwGRRSOCqAKDAu3XMb9FzJbTuLvY56q1SK5HNWn4I0T9wMv b+FSHQC4Qw/n0krQR9p3dereEGfnfuLj+Kbr67XRzadea8HnOYMJAMhx4qo9/IhSsQAK pH9sDUtu/LIBgWOveWCYOL1QSBaPbqpRd4AkEIIA0kR5ndHCjr8Q6S/Wp/+RP7QuRQzF b6eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MKguYWN9; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si5528265ejx.493.2020.07.02.02.43.59; Thu, 02 Jul 2020 02:44:22 -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=@redhat.com header.s=mimecast20190719 header.b=MKguYWN9; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727819AbgGBJnh (ORCPT + 99 others); Thu, 2 Jul 2020 05:43:37 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:29698 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726555AbgGBJnh (ORCPT ); Thu, 2 Jul 2020 05:43:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593683016; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ug+Cs+5MidriBBruTqDP+Dk7+JNAduJmDfJrU4PFZh0=; b=MKguYWN9aMdz6/j/fv3uGLhVmexm29R2QqNDXoIk8P0Um/abponBvo4lgG3GrTFdEdFcUy AtVopWSwEea0AGLTzeao9bz63YfKm1rRIyZU6Lhuc+1eY27N5YPr7+1faL4N9EtSlMryNh 5jS5JZQmcmrq6auLu+IVojj81Win1Gw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-292-naC7fyKDMcq4qvGOvA9KGw-1; Thu, 02 Jul 2020 05:43:32 -0400 X-MC-Unique: naC7fyKDMcq4qvGOvA9KGw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 89553804001; Thu, 2 Jul 2020 09:43:30 +0000 (UTC) Received: from localhost.localdomain (ovpn-12-175.pek2.redhat.com [10.72.12.175]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3827D5C1B0; Thu, 2 Jul 2020 09:43:24 +0000 (UTC) Subject: Re: [PATCH v3 3/3] printk: use the lockless ringbuffer To: John Ogness , 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 References: <20200618144919.9806-1-john.ogness@linutronix.de> <20200618144919.9806-4-john.ogness@linutronix.de> <87zh8imgs5.fsf@jogness.linutronix.de> From: lijiang Message-ID: <585a6a1b-931c-1034-e2cc-da2c4381751e@redhat.com> Date: Thu, 2 Jul 2020 17:43:22 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87zh8imgs5.fsf@jogness.linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020年07月02日 17:02, John Ogness 写道: > 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. > > Yes, a patch for this is needed (as well as for any other related > software floating around the internet). > > I have no RFC patches for vmcore-dmesg. Looking at the code, I think it > would be quite straight forward to port the makedumpfile patch. I will Yes, it should be a similar patch. > try to make some time for this. > That would be nice. Thank you, John Ogness. > I do not want to patch any other software for this. I think with 3 > examples (crash, makedumpfile, vmcore-dmesg), others should be able to It's good enough to have the patch for the makedumpfile, crash and vmcore-dmesg, which can ensure the kdump(userspace) work well. Thanks. Lianbo > implement the changes to their software without needing my help. > > John Ogness >