From owner-freebsd-current@FreeBSD.ORG Sun Jul 25 01:34:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB32A16A4CE; Sun, 25 Jul 2004 01:34:01 +0000 (GMT) Received: from lakermmtao06.cox.net (lakermmtao06.cox.net [68.230.240.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64CF343D31; Sun, 25 Jul 2004 01:34:01 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao06.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040725013356.YUDN9340.lakermmtao06.cox.net@dolphin.local.net>; Sat, 24 Jul 2004 21:33:56 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.12.11/8.12.11) with ESMTP id i6P1XvFq011036; Sat, 24 Jul 2004 20:33:57 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.12.11/8.12.11/Submit) id i6P1Xv5b011035; Sat, 24 Jul 2004 20:33:57 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <4102FCF2.60708@freebsd.org> Date: Sat, 24 Jul 2004 20:33:57 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: Scott Long cc: freebsd-current@freebsd.org Subject: Re: [amd64] Instability worse than ever X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2004 01:34:02 -0000 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. > 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 OK, that's easy enough. :-) > 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. I just upgraded again and rebuilt the world/kernel. Tweaked my kernel config a bit to simplify it. We'll see if this problem continues or not. Thanks! -- Conrad J. Sabatier -- "In Unix veritas"