Date: Sat, 11 Jul 2009 00:49:54 -0400 From: Glen Barber <glen.j.barber@gmail.com> To: jw <jwdevel@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Prevent reboot-after-panic behavior? Message-ID: <4ad871310907102149t465eb168r26c6d16b3cea0953@mail.gmail.com> In-Reply-To: <fa8771800907102125k233c054dsd1dfa99cff192606@mail.gmail.com> References: <fa8771800907102125k233c054dsd1dfa99cff192606@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. On Sat, Jul 11, 2009 at 12:25 AM, jw<jwdevel@gmail.com> wrote: > I'm trying to figure out a strange panic issue (see: > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/201842.html). > > The problem is I generally need to run it overnight in order to reproduce it. > By the time I get back to it, the machine has auto-rebooted, losing > precious info in ttyv0. > I cannot simply analyze a dump because the dump fails (see other > thread for that info - possibly a separate issue). > > I am working on getting the dump to succeed, but in the meantime: > > Is there a way to turn off the auto-reboot behavior? > I found this link: http://www.webhostingtalk.com/showthread.php?t=438372 > But it is about turning it *on* and is somewhat old. > > Is there a way to change the behavior without recompiling the kernel? > If you don't have debugging enabled in the kernel (KDB, DDB), no. If you do, you can set the following sysctl to disable automatic reboot on panic: debug.debugger_on_panic: 1 HTH. -- Glen Barber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310907102149t465eb168r26c6d16b3cea0953>