Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2004 18:21:06 -0600
From:      Scott Long <scottl@freebsd.org>
To:        conrads@cox.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: [amd64] Instability worse than ever
Message-ID:  <4102FCF2.60708@freebsd.org>
In-Reply-To: <XFMail.20040724181805.conrads@cox.net>
References:  <XFMail.20040724181805.conrads@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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?  If you do, would you be able to
hook up a serial console and see what the kernel is saying?  Also,
a quick hack that might help you is to take either sched_4bsd.c or
sched_ule.c (depending on which you are using) and comment out the
call to maybe_preempt(td) in sched_add() like so:

+ if 0
   	if (maybe_preempt(td))
   		return;
+ endif

I think I understand most of the underlying problem with much of the
recent (and not so recent) instability, but I haven't come up with
an acceptable solution yet.  If anyone is interested in helping (code,
not test), please let me know.

Scott



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