From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from tyo202.gate.nec.co.jp ([202.32.8.206]) by canuck.infradead.org with esmtp (Exim 4.63 #1 (Red Hat Linux)) id 1HtM7B-00053X-QJ for kexec@lists.infradead.org; Wed, 30 May 2007 07:13:19 -0400 Subject: Re: [makedumpfile] config file -- OSRELEASE In-reply-to: <20070529193058.GA4229@suse.de> Message-Id: <20070530201328oomichi@mail.jp.nec.com> References: <20070529193058.GA4229@suse.de> Mime-Version: 1.0 From: "Ken'ichi Ohmichi" Date: Wed, 30 May 2007 20:13:28 +0900 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: Bernhard Walle Cc: jlan@sgi.com, kexec@lists.infradead.org Hi Bernhard, 2007/05/29 21:30:58 +0200, Bernhard Walle wrote: >is there any reason why the kernel version saved in the configuration >file is the version of the running kernel and not the version for >which the config file is for? The reason is that makedumpfile gets a running kernel's page_size as a 1st-kernel's page_size. If they are different, makedumpfile cannot analyze /proc/vmcore and it fails. So I think a configuration file should be created while 1st-kernel is running. >It's a big problem because my plan was to ship the configuration files >with the kernel RPMs in SLES. However, we don't build the kernels on >systems which run the kernel that is just built -- so that's not >possible. It is a good idea to ship the configuration files with the kernel RPMs. I think you can do it with current implementation, because you need only one configuration file for one kernel image. I think you can ship configuration files as follows: 1. Build a kernel file and a debuginfo file. 2. Boot the system with the above kernel file. 3. Generate a configration file from a debuginfo file. 4. Ship the configration file with the kernel RPM. Any problem to follow the method above ? Thanks Ken'ichi Ohmichi _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec