Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262738AbVBYPsU (ORCPT ); Fri, 25 Feb 2005 10:48:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262728AbVBYPrf (ORCPT ); Fri, 25 Feb 2005 10:47:35 -0500 Received: from 242.69-93-110.reverse.theplanet.com ([69.93.110.242]:9436 "EHLO ns1.avapajoohesh.com") by vger.kernel.org with ESMTP id S262727AbVBYPop (ORCPT ); Fri, 25 Feb 2005 10:44:45 -0500 Message-ID: <56349.69.93.110.242.1109346680.squirrel@69.93.110.242> In-Reply-To: <16927.17446.834879.371263@segfault.boston.redhat.com> References: <52765.69.93.110.242.1109288148.squirrel@69.93.110.242> <200502251517.56254.linux-kernel@borntraeger.net> <16927.14697.76256.482062@segfault.boston.redhat.com> <53739.69.93.110.242.1109344057.squirrel@69.93.110.242> <16927.17446.834879.371263@segfault.boston.redhat.com> Date: Fri, 25 Feb 2005 19:21:20 +0330 (IRST) Subject: Re: how to capture kernel panics From: "shabanip" To: jmoyer@redhat.com Cc: "shabanip" , linux-kernel@vger.kernel.org User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2287 Lines: 63 thanks for the help. does anything else left to configure? Payam Shabanian shabanip -at- avapajoohesh.com > ==> Regarding Re: how to capture kernel panics; "shabanip" > adds: > > shabanip> as i see netconsole is a kernel module. so i just need to load > shabanip> netconsole module with server:port parameters. am i right? > > MODULE_PARM_DESC(netconsole, " > netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@/[tgt-macaddr]\n"); > > So, for example: > > modprobe netconsole > netconsole=6666@192.168.1.1/eth0,6666@192.168.1.100/00:40:95:9A:12:34 > > -Jeff > > > shabanip> Payam Shabanian shabanip -at- avapajoohesh.com > >>> ==> Regarding Re: how to capture kernel panics; Christian Borntraeger >>> adds: >>> > linux-kernel> shabanip wrote: >>>>> is there any way to capture and log kernel panics on disk or ...? >>> > linux-kernel> In former times, the Linux kernel tried to sync in the panic > linux-kernel> function. (If the panic did not happen in interrupt context) > linux-kernel> Unfortunately this had severe side effects in cases where >>> the > linux-kernel> panic was triggered by file system block device code or any > linux-kernel> other part which is necessary for syncing. In most cases the > linux-kernel> call trace never made it onto disk anyway. So currently the > linux-kernel> kernel does not support saving a panic. >>> > linux-kernel> Apart from using a serial console, you might have a look at > linux-kernel> several kexec/kdump/lkcd tools where people are working on > linux-kernel> being able to dump the memory of a paniced kernel. >>> Or netconsole, which will dump printk's do the server:port of your >>> choosing. >>> >>> -Jeff >>> > > shabanip> - To unsubscribe from this list: send the line "unsubscribe > shabanip> linux-kernel" in the body of a message to > shabanip> majordomo@vger.kernel.org More majordomo info at > shabanip> http://vger.kernel.org/majordomo-info.html Please read the FAQ > at > shabanip> http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/