Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2004 23:53:15 -0400
From:      Brian Fundakowski Feldman <green@freebsd.org>
To:        "Conrad J. Sabatier" <conrads@cox.net>
Cc:        Scott Long <scottl@freebsd.org>
Subject:   Re: [amd64] Instability worse than ever
Message-ID:  <20040725035315.GA1473@green.homeunix.org>
In-Reply-To: <XFMail.20040724203357.conrads@cox.net>
References:  <4102FCF2.60708@freebsd.org> <XFMail.20040724203357.conrads@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 24, 2004 at 08:33:57PM -0500, Conrad J. Sabatier wrote:
> 
> On 25-Jul-2004 Scott Long wrote:
> > Conrad J. Sabatier wrote:
> > 
> >> For the last couple of days, my amd64 box has taken to spontaneously
> >> rebooting.  No panic, no coredump, nothing in logs, just reboots.
> >> 
> >> These always seem to occur just as I'm clicking on something under
> >> GNOME.
> >> 
> >> Very mysterious!
> >> 
> > 
> > Do you have INVARIANTS turned on?
> 
> No, I really should do that.  Don't know why I hadn't already.  Duh. 
> :-)
> 
> > If you do, would you be able to
> > hook up a serial console and see what the kernel is saying?
> 
> Been meaning to ask about that.  Would a null modem connection from my
> other machine be useable as the serial console?  I have all the kernel
> config options and the sio flags set to enable the serial console, but
> wasn't sure if that would work or not.  If so, I could try that.

Absolutely; I just set this up a few days ago, so I know this works with
-CURRENT.  First, set the sio.0.flags hint in /boot/device.hints to
"0x90" so it is a vailable for use as a serial console.  Then, set up
the kernel with DDB and KDB and set /etc/sysctl.conf to turn the
debug.debugger_on_panic switch to 1.  You should probably be running with
at least WITNESS and INVARIANTS, but not necessarily DIAGNOSTIC.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040725035315.GA1473>