From owner-freebsd-hardware@FreeBSD.ORG Mon Sep 24 19:36:57 2007 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6131B16A418 for ; Mon, 24 Sep 2007 19:36:57 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB0D13C461 for ; Mon, 24 Sep 2007 19:36:57 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1344060rvb for ; Mon, 24 Sep 2007 12:36:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=gEa2/4tUSTaYto9mmtyQ0XFkxMpmYPQ+DYlvscpFQmA=; b=sYyWC7cQtROUU7Tef/HcYgho1fl4eY5puxBHb3DKWpJst0tJtcQOD+nLYGfCNf70BfayvrgcjEHWw3XlZeRBmzH/RkF+eIbDj8HD2UFIxPCRAay9sQd17l67uptnPghsbLFOGdvQIkke5XxQWvYPr9DvsIZUe1mD6lqUUBcytP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=kBGJsqheo2CwnLfkP9oMHPUTdtztHtKiOxgNU6hisD1P8wiRvmbIiHg9hdususfFsaonZdQpLWH0QSANU9FhAx4+4UlkcCKJrP6LCyCkOZlIt2osWJsihJguOXAC233PljMs23eN78UyE32JKDnyx+ZRZqIY9nn6f0q64PJ0YIo= Received: by 10.140.177.15 with SMTP id z15mr1738425rve.1190661075563; Mon, 24 Sep 2007 12:11:15 -0700 (PDT) Received: by 10.141.159.3 with HTTP; Mon, 24 Sep 2007 12:11:15 -0700 (PDT) Message-ID: <9bbcef730709241211o479e3e5dwf64382596c837dfb@mail.gmail.com> Date: Mon, 24 Sep 2007 21:11:15 +0200 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Benjie Chen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: d92aa624b22c440d Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Kernel panic on PowerEdge 1950 under certain stress load X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 19:36:57 -0000 On 24/09/2007, Benjie Chen wrote: > Ivan and Kris, > > I will try to get a kernel trace -- it may not happen for awhile since I am > not in the office and working remotely for awhile so it may not be easy to > get a trace... but I will check. It's fairly easy: 1) add lines like the following in rc.conf: dumpdev="/dev/amrd0s1b" dumpdir="/storage1/crashdumps" (dumpdev is your swap partition, which must be larger than your RAM, dumpdir is where the crash dumps will be saved, also needs to be larger than RAM) 2) add these lines to sysctl.conf: debug.debugger_on_panic=0 debug.trace_on_panic=1 (These will cause the panic message and backtrace to be automatically recorded in the message buffer saved to the kernel crash dump. If not told otherwise, the machine will then reboot and at the next boot generate a crash dump in your dumpdir. When you get the kernel crash dump, run "kgdb vmcore.0 /boot/kernel/kernel" as root and then you can inspect the trace, core dump, etc. You don't need any special knowledge of (k)gdb for this. The one useful command to you may be "bt" - generate a backtrace). > It looks like the problem reported by that link, and some of the links from > there though... I'm trying to solve that one with Craig Rodrigues. So far it's been without success but we know where the problem is.