From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753630AbaIVJMk (ORCPT ); Mon, 22 Sep 2014 05:12:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60674 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275AbaIVJMi (ORCPT ); Mon, 22 Sep 2014 05:12:38 -0400 Date: Mon, 22 Sep 2014 17:12:03 +0800 From: Dave Young To: CAI Qian Cc: linux-kernel , ltp-list , kexec Subject: Re: [RFC] autokdump - automated kdump testsuite Message-ID: <20140922091203.GB23854@darkstar.nay.redhat.com> References: <145412866.25258463.1411119061796.JavaMail.zimbra@redhat.com> <293476264.25264480.1411120345360.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <293476264.25264480.1411120345360.JavaMail.zimbra@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/19/14 at 05:52am, CAI Qian wrote: > I plan to release an automated kdump testsuite that will be > focus on testing kernel and the crash utility. It should work > for all major distros since it will use none of distro-specific > stuff, and also support different arches including x86, ARM, > PPC64 and s390x. > > It does the following: > 1) check if there is a memory reserved for kdump. If not, > reserve the memory and reboot the system. > 2) once the system is back, load kexec on panic and > prepare a separate initramfs that including needed > modules to load a local filesystem and necessary utilities > in order to analyse /proc/vmcore in the 2nd kernel. > 3) trigger the system crash using methods like sysrq-c, NMI, > and panic_on_hung_task etc. > 4) in the 2nd kernel, mount a filesystem and use the crash > utility to analyse /proc/vmcore. Then, gather the analyse > logs, serial console output, dmesg etc into the filesystem. > 5) reboot back into the 1st kernel. > > implementation: > It will setup a daemon to handle reboots. > > plan: > I might also to test the makedumpfile all together later. > CAI Qian > Hi, Cai I noticed you cced redhat internal lists, you'd better to remove them from cc list so that people do not get confused by the auto reply. Thanks Dave