Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3896956imu; Mon, 14 Jan 2019 10:59:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN4OGLFqKDt51MPHVBsC50EMc+/YGqOBdOfNSHtb3D1VQM7ta8NcJfRjc8ohV3RIuRZJ72LS X-Received: by 2002:a63:3858:: with SMTP id h24mr23554551pgn.300.1547492390698; Mon, 14 Jan 2019 10:59:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547492390; cv=none; d=google.com; s=arc-20160816; b=aXrT6EM/Bya1BQRZl8519M/1+iTHQJuqYUPIlacr7lxT9L12Qsx2iRo6UUzL7BHmjb p7h/808wijasOSqe6jwzUWktDT1Fyu3ZGKZ52OHU9Sy1ad+cFIUkvg9loG8Npqa4iEzP wrr4PjLgdhx2TES7sw1VkUWrtKKomlCzHzPMjo+TO/RZudFu/0uglHiSgqX44W8F4mn+ NFf8Mnrflxc3LV6lwHdyZL0y5DBiIIcIi2TD0ggJHshnHgKA6U9kv03Q8rtbfN5QTMCJ m9ANklzzxLIvKk5pmb2uz8JH5eQ9vaYOs+97p5kNQeyeLRe7F2mpaQ6XsnzlVfLGppjk Cimw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=cJus/ybQCTRill/ZJ/EThd1zM6Idqvp2V++R6UiN+Xk=; b=q2AHLQGCNqAFRQzP/7tE1R+W6Z3YD+lP7aEVJZjYtyuToO/H72RT5MZrlxzuedT1Vf 3fu6iqXmKG70RDtbUqVtfmSj/olH7ZfPsfCV1nTewQ+8fjl7ro+C+T7NkcWB4p/IS3Th neMzYCCWQdimkSTbAnp4tweiLMbzYjcDkuv2HMrQH2zXN21f6o+xXrjQ8c6igTcCFQ6w 0aTK8Wdpxg0/9DXy1/vzLJLfFVRSSV4tSd/VpYov1zuebGPgnPy47vZFOloe5VNkn7Xd LJx0Eu1hUjXnArILFjsSXmbTp8AKTf5sPS5k32Fy7eO3u5XLEN9/YrANt0MDebYo8jDj q6FQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si893261plo.417.2019.01.14.10.59.35; Mon, 14 Jan 2019 10:59:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726777AbfANS6e (ORCPT + 99 others); Mon, 14 Jan 2019 13:58:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52794 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726643AbfANS6d (ORCPT ); Mon, 14 Jan 2019 13:58:33 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7E535C05FEF1; Mon, 14 Jan 2019 18:58:33 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 62DA2608E5; Mon, 14 Jan 2019 18:58:32 +0000 (UTC) Received: from zmail24.collab.prod.int.phx2.redhat.com (zmail24.collab.prod.int.phx2.redhat.com [10.5.83.30]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3D90F4ED25; Mon, 14 Jan 2019 18:58:32 +0000 (UTC) Date: Mon, 14 Jan 2019 13:58:32 -0500 (EST) From: Dave Anderson To: Borislav Petkov Cc: Kazuhito Hagio , Lianbo Jiang , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, akpm@linux-foundation.org, bhe@redhat.com, dyoung@redhat.com, linux-doc@vger.kernel.org Message-ID: <2126185079.69727846.1547492312033.JavaMail.zimbra@redhat.com> In-Reply-To: <20190114180142.GO2773@zn.tnic> References: <20190110121944.6050-1-lijiang@redhat.com> <20190110121944.6050-2-lijiang@redhat.com> <20190111123300.GE4729@zn.tnic> <4AE2DC15AC0B8543882A74EA0D43DBEC035661E8@BPXM09GP.gisp.nec.co.jp> <20190114180142.GO2773@zn.tnic> Subject: Re: [PATCH 1/2 v6] kdump: add the vmcoreinfo documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.17.201, 10.4.195.19] Thread-Topic: kdump: add the vmcoreinfo documentation Thread-Index: OZlyqBKuhECC5AsJ7Gtu5R02sg8UoA== X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 14 Jan 2019 18:58:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- > On Mon, Jan 14, 2019 at 05:48:48PM +0000, Kazuhito Hagio wrote: > > As for makedumpfile, it will be not impossible to remove the > > init_uts_ns.name.relase (OSRELEASE), but some fixes are needed. > > Because historically OSRELEASE has been a kind of a mandatory entry > > in vmcoreinfo from the beginning of vmcoreinfo, so makedumpfile uses > > its existence to check whether a vmcoreinfo is sane. > > Well, init_uts_ns is exported in vmcoreinfo anyway - makedumpfile > can simply test init_uts_ns.name.release just as well. And the > "historically" argument doesn't matter because vmcoreinfo is not an ABI. > > So makedumpfile needs to be changed to check that new export. > > > Also, I think crash also will need to be fixed if it is removed. Preferably it would be left as-is. The crash utility has a "crash --osrelease vmcore" option that only looks at the dumpfile header, and just dump the string. With respect to compressed kdumps, crash could alternatively look at the utsname data that is stored in the diskdump_header.utsname field, but with ELF vmcores, there is no such back-up. What's the problem with leaving it alone? Dave > > Yes, I'm expecting user tools to be fixed and then exports removed. > > -- > Regards/Gruss, > Boris. > > Good mailing practices for 400: avoid top-posting and trim the reply. >