From owner-freebsd-current@FreeBSD.ORG Fri Aug 6 17:46:52 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 66C3916A4CF for ; Fri, 6 Aug 2004 17:46:52 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EB9E43D31 for ; Fri, 6 Aug 2004 17:46:52 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 7648 invoked from network); 6 Aug 2004 17:46:52 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 6 Aug 2004 17:46:51 -0000 Received: from 10.50.40.208 (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i76HkJUB050210; Fri, 6 Aug 2004 13:46:47 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Fri, 6 Aug 2004 13:12:42 -0400 User-Agent: KMail/1.6 References: <1091649533.29481.42.camel@lanshark.dmv.com> <20040805131628.GA47734@sirius.speicher.org> <1091725623.911.10.camel@leguin> In-Reply-To: <1091725623.911.10.camel@leguin> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408061312.42650.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Geoff Speicher 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:46:52 -0000 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. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org