From owner-freebsd-current@FreeBSD.ORG Fri Apr 15 21:39:16 2005 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 41C6E16A4CE for ; Fri, 15 Apr 2005 21:39:16 +0000 (GMT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06E0E43D3F for ; Fri, 15 Apr 2005 21:39:16 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Fri, 15 Apr 2005 14:39:15 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 722B85D07; Fri, 15 Apr 2005 14:39:14 -0700 (PDT) To: Doug White In-reply-to: Your message of "Fri, 15 Apr 2005 10:00:32 PDT." <20050415095629.W34838@carver.gumbysoft.com> Date: Fri, 15 Apr 2005 14:39:14 -0700 From: "Kevin Oberman" Message-Id: <20050415213914.722B85D07@ptavv.es.net> cc: current@freebsd.org Subject: Re: Weird display problem in recent current 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, 15 Apr 2005 21:39:16 -0000 > Date: Fri, 15 Apr 2005 10:00:32 -0700 (PDT) > From: Doug White > > On Tue, 12 Apr 2005, Kevin Oberman wrote: > > > Since I updated my current kernel yesterday, I have been seeing a weird > > problem that appears to be in X. I did not have the problem with the > > build I did on Friday, Apr. 8. > > > > I run gkrellm, a GTK based system monitor. I also run Gnome 2.10 and > > X.org. All of these ports are up to date. System is a P4M IBM T30. > > > > After my new kernel was installed yesterday, gkrellm would work until > > the screen blanks (screensaver set to blank). When the screen is > > re-activated, all of the applications refresh except that one. I just > > have an empty grey are where gkrellm should be. > > This is indicative of gkrellm not monitoring the X socket and getting the > refresh message. This means its stuck doing something. That's exactly what I had assumed, although I was less sure when I sent the message than I am now. > > top shows that gkrellm is continually in RUN state, although it is using > > very little CPU. > > > > The second problem is that Gnome will no longer shut down. (This may be > > an artifact of th problems gkrellm is having.) I have to > > CTRL-ALT-BS. (Ugh!) > > > > I'd look at gkrellm except that I only updated the kernel on Monday, not > > world, let alone the gkrellm port. I thought some user-land/kernel > > issue may have cropped up, so I just finished rebuilding both the kernel > > and world. No change in behavior. > > > > Any ideas what might have changed between Friday morning and today to > > cause this? I'm not even sure where to start looking. > > Being that gkrellm grubs around in the kernel, its possible some data > structre it was looking at changed and now its looping off into space. > I'd ktrace it and see what its doing when it goes awry -- that might help > isolate the affected module. If that isn't useful then remove modules > until you find the broken one. This is probably in the right direction, it won't be fast. The time it takes to lock up can be hours. That's why I am suspicious that it is some sort of resource exhaustion rather than simply pointing out to nowhere. ktrace is the obvious tool, but, having never used it before, I did not think of it. Thanks so much for getting back to me on this. My -current system is down for a while as I am building a new system on it and need to get the 5.4-RC2 disk burned. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634