From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.suse.de ([195.135.220.15]) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1I6nrR-0002EU-Rz for kexec@lists.infradead.org; Fri, 06 Jul 2007 09:28:42 -0400 Date: Fri, 6 Jul 2007 15:28:14 +0200 From: Bernhard Walle Subject: Determine version of kernel that produced vmcore Message-ID: <20070706132814.GA7079@suse.de> MIME-Version: 1.0 Content-Disposition: inline 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-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: kexec@lists.infradead.org Cc: linux-kernel@vger.kernel.org Hello, does anybody know a _reliable_ way to determine the version the kernel that produced a vmcore file? This means not scanning for a specific string or something like that which can fail on random memory. Would it make sense to add a ELF PT_NOTE section in the vmcore? Thanks for input! Thanks, Bernhard _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759645AbXGFN2b (ORCPT ); Fri, 6 Jul 2007 09:28:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752163AbXGFN2Z (ORCPT ); Fri, 6 Jul 2007 09:28:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:33456 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbXGFN2Y (ORCPT ); Fri, 6 Jul 2007 09:28:24 -0400 Date: Fri, 6 Jul 2007 15:28:14 +0200 From: Bernhard Walle To: kexec@lists.infradead.org Cc: linux-kernel@vger.kernel.org Subject: Determine version of kernel that produced vmcore Message-ID: <20070706132814.GA7079@suse.de> Mail-Followup-To: kexec@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, does anybody know a _reliable_ way to determine the version the kernel that produced a vmcore file? This means not scanning for a specific string or something like that which can fail on random memory. Would it make sense to add a ELF PT_NOTE section in the vmcore? Thanks for input! Thanks, Bernhard