Date: Mon, 24 Sep 2007 21:11:15 +0200 From: "Ivan Voras" <ivoras@freebsd.org> To: "Benjie Chen" <benjie@addgene.org> Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Kernel panic on PowerEdge 1950 under certain stress load Message-ID: <9bbcef730709241211o479e3e5dwf64382596c837dfb@mail.gmail.com> In-Reply-To: <c53be070709240842h6875d45ct761d0fa5790f70e2@mail.gmail.com> References: <c53be070709211526j2178ebb7ia6ea39e1a5df303c@mail.gmail.com> <fd84qf$ejl$1@sea.gmane.org> <c53be070709240842h6875d45ct761d0fa5790f70e2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24/09/2007, Benjie Chen <benjie@addgene.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bbcef730709241211o479e3e5dwf64382596c837dfb>