From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 17:07:11 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 C7BCD16A4CE for ; Thu, 5 Aug 2004 17:07:11 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8765D43D41 for ; Thu, 5 Aug 2004 17:07:11 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from [192.168.0.103] (c-24-21-18-195.client.comcast.net[24.21.18.195]) by comcast.net (sccrmhc11) with SMTP id <20040805170705011000fg4ge>; Thu, 5 Aug 2004 17:07:10 +0000 From: Eric Anholt To: Geoff Speicher In-Reply-To: <20040805131628.GA47734@sirius.speicher.org> References: <1091649533.29481.42.camel@lanshark.dmv.com> <411152D8.2050305@alumni.rice.edu><41115679.2030300@freebsd.org> <20040804220718.GA99590@sirius.speicher.org> <1091658373.893.15.camel@leguin> <20040805131628.GA47734@sirius.speicher.org> Content-Type: text/plain Message-Id: <1091725623.911.10.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 05 Aug 2004 10:07:04 -0700 Content-Transfer-Encoding: 7bit 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: Thu, 05 Aug 2004 17:07:11 -0000 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. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org