From owner-freebsd-current@FreeBSD.ORG Fri Aug 6 17:50:08 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 22AC416A4CE; Fri, 6 Aug 2004 17:50:08 +0000 (GMT) Received: from speicher.org (speicher.org [208.199.76.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39C5243D5C; Fri, 6 Aug 2004 17:50:07 +0000 (GMT) (envelope-from geoff@speicher.org) Received: from speicher.org (localhost [127.0.0.1]) by speicher.org (8.12.11/8.12.11) with ESMTP id i76Ho5mn025544; Fri, 6 Aug 2004 13:50:05 -0400 (EDT) (envelope-from geoff@speicher.org) Received: (from geoff@localhost) by speicher.org (8.12.11/8.12.11/Submit) id i76Ho5jg025543; Fri, 6 Aug 2004 13:50:05 -0400 (EDT) (envelope-from geoff) Date: Fri, 6 Aug 2004 13:50:05 -0400 From: Geoff Speicher To: John Baldwin Message-ID: <20040806175005.GA25292@sirius.speicher.org> References: <1091649533.29481.42.camel@lanshark.dmv.com> <20040805131628.GA47734@sirius.speicher.org> <1091725623.911.10.camel@leguin> <200408061312.42650.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408061312.42650.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@FreeBSD.org cc: Eric Anholt cc: current@FreeBSD.org Subject: Re: Instant Reboots (was: Re: Postgresql locks up server - no response at all) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 17:50:08 -0000 On Fri, Aug 06, 2004 at 01:12:42PM -0400, John Baldwin wrote: > On Thursday 05 August 2004 01:07 pm, Eric Anholt wrote: > > On Thu, 2004-08-05 at 06:16, Geoff Speicher wrote: > > > On Wed, Aug 04, 2004 at 03:26:13PM -0700, Eric Anholt wrote: > > > > On Wed, 2004-08-04 at 15:07, Geoff Speicher wrote: > > > > > On Wed, Aug 04, 2004 at 03:34:49PM -0600, Scott Long wrote: > > > > > > Geoff Speicher wrote: > > > > > > >FWIW, in mid-late July, my problems were not PREEMPTION-related. > > > > > > > I tried everything I could to get usable threaded apps under > > > > > > > XFree86, but my Athlon XP rebooted every time I tried to run kdm, > > > > > > > Firefox, etc. > > > > > > > > > > > > > >This included all four combinations of PREEMPTION and ULE/4BSD. > > > > > > > Rolling back to July 1 was the only thing that worked for me. > > > > > > > > > > > > Yeah, the instant reboots have hit me too. Disabling PREEMPTION > > > > > > did seem to help this for me, but then it might have been a > > > > > > coincidence. Incidentally, what video drivers are you using? > > > > > > > > > > Snippets from /var/log/XFree86.0.log: > > > > > > > > > > (II) ATI: ATI driver (version 6.4.18) for chipsets: ati, ativga > > > > > (--) RADEON(0): Chipset: "ATI Radeon VE/7000 QY (AGP)" (ChipID = > > > > > 0x5159) (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o > > > > > (II) Module radeon: vendor="The XFree86 Project" > > > > > compiled for 4.3.0, module version = 4.0.1 > > > > > Module class: XFree86 Video Driver > > > > > ABI class: XFree86 Video Driver, version 0.6 > > > > > > > > > > (II) RADEON(0): [drm] loaded kernel module for "radeon" driver > > > > > (II) RADEON(0): Direct rendering enabled > > > > > > > > Does this happen without using threaded apps? More specifically, does > > > > it continue if you disable DRI in your X config? If so, please send me > > > > your dmesg. > > > > > > Hey, disabling DRI did the trick. Aside from things being remarkably > > > slow, it's remarkably stable. ;) Threaded X apps or no, I'm running > > > a July 19 kernel with no instant reboots. PREEMPTION disabled, > > > WITNESS enabled (I misspoke in another message when I said WITNESS was > > > disabled---apparently I fiddled more than I had remembered). Toggling > > > DRI back on and restarting X/kdm reboots immediately. > > > > While you didn't send your dmesg, I'm betting that you've got VIA 8377 > > AGP. We're misconfiguring it, it seems. I'm working on a patch, please > > watch http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/69953 for a fix. > > The patch in that PR looks like a winner btw. Yes. Sorry; I replied to gnats but not to -current. That patch seems to have fixed it. Geoff