Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3951000imu; Mon, 14 Jan 2019 12:02:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Mny+v2ZwlkE6MniV5U945wlT4JN76QXF9r31bGXwtR01450/gjkBzgl/4hs1V6C7yw6Zs X-Received: by 2002:a17:902:30a3:: with SMTP id v32mr236018plb.26.1547496135295; Mon, 14 Jan 2019 12:02:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547496135; cv=none; d=google.com; s=arc-20160816; b=smZaBINdnLyhki7ga+KmbqhPqA26dk8YH8ulwDJ35BqjKz7I1s0ZxS7T5CRdi7DscA WdoWMtbzetOvjD8N4zaXhH4494QpE92wDYTBnsrKl0ErW3J1K0pM9ZzxhaZbG3Pl3xky Ub072rw3vdEUfA/BK42/DdmBRvbmybZiZ2vPbTIDsiTRkVHkft8gmEHFnXYIHoeRrog7 YLrgJIzEmIzz6zaWfJC42550Rg5/N4/y85J84iGUqECH1z8fVuOyItGYMPidtP08E3qg SxE5+Vbp+TulHVhyo2SntaJfyWJtEFAkEhC/hrTWvgRhy3J52EzQWmH5sIoXsGQvP6Fx LOvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=59V2XOtmfr+MFmz9kmc36KjHs3/FoHJRsfbhDj+coPA=; b=OFPKKyWd+Str0FJsP4ep+wE5nz5UvWpg7xuwq1YJHFPBSImBpu7olttG+2k05kzHSA v4gZhe6FFlRciNglLIiuQDMROp5d/aCQ9bntH4t7igbZEy9b+2GBB3dFYI0LbpEKAb9t oo4Tly55tw20XcJnbKfizPaGREd2RmL4E6BxoAXBLuiVIzWqPIvfVw3AgD6jO1N3oPf4 eEuyvUS0FMRWheHumEtJt/PX4srh/zR7SB0KW9oGXRgKgxsrFPIVgMetbWFjmN7LYLhn xkDZqSsmsRCtk2fnumGZtEoe1mSvUuAGgVkb6s4f8IhiHjp6rKgm+s7a7uLWG+SOqhbC OlyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=oi9KAOCp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si1060989pgt.289.2019.01.14.12.01.59; Mon, 14 Jan 2019 12:02:15 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=oi9KAOCp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726880AbfANT7t (ORCPT + 99 others); Mon, 14 Jan 2019 14:59:49 -0500 Received: from mail.skyhub.de ([5.9.137.197]:54074 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726728AbfANT7t (ORCPT ); Mon, 14 Jan 2019 14:59:49 -0500 Received: from zn.tnic (p200300EC2BC4CA00255595821D34C4F7.dip0.t-ipconnect.de [IPv6:2003:ec:2bc4:ca00:2555:9582:1d34:c4f7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id DE4BF1EC027A; Mon, 14 Jan 2019 20:59:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1547495987; 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:in-reply-to:in-reply-to: references:references; bh=59V2XOtmfr+MFmz9kmc36KjHs3/FoHJRsfbhDj+coPA=; b=oi9KAOCpox6QdDv/RSLeV7sYkX5MFbSGJCq9nHsm7tjlEKnhQqngnMdNb36ljLEiwSyiiK r7BQfkueJkzJu84Ksdc136CSxlgIAo2f3gVhC4hQyUe16ipne56x1tTgGan6gv7/UVCY7R ixst8IfqWhoBR1cuzibJrzFGg4IDiwA= Date: Mon, 14 Jan 2019 20:59:40 +0100 From: Borislav Petkov To: Dave Anderson 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 Subject: Re: [PATCH 1/2 v6] kdump: add the vmcoreinfo documentation Message-ID: <20190114195940.GS2773@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> <2126185079.69727846.1547492312033.JavaMail.zimbra@redhat.com> <20190114192144.GQ2773@zn.tnic> <134663991.69764038.1547494607008.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <134663991.69764038.1547494607008.JavaMail.zimbra@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 14, 2019 at 02:36:47PM -0500, Dave Anderson wrote: > There's no reading of the dumpfile's memory involved, and that being the case, > the vmlinux file is not utilized. That's the whole point of the crash option, i.e., > taking a vmcore file, and trying to determine what kernel should be used with it: > > $ man crash > ... > --osrelease dumpfile > Display the OSRELEASE vmcoreinfo string from a kdump dumpfile header. I don't understand - if you have the vmcoreinfo (which I assume is part of the vmcore, yes, no?) you can go and dig out the kernel version from it, no? Why should you not utilize the vmcore file? (I'm most likely missing something.) > Well, I just don't agree that the OSRELEASE item is "frivolous". It's > been in place, and depended upon, for many years. Yeah, no. The ABI argument is moot in this case as in the last couple of months people have been persuading me that vmcoreinfo is not ABI. So you guys need to make up your mind what is it. And if it is an ABI, it wasn't documented anywhere. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.