From owner-freebsd-stable@FreeBSD.ORG Wed Jan 9 18:54:40 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A6216A418 for ; Wed, 9 Jan 2008 18:54:40 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C98713C4D3; Wed, 9 Jan 2008 18:54:39 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4785186E.4070609@FreeBSD.org> Date: Wed, 09 Jan 2008 19:54:38 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Toomas Aas References: <1199812249.96494.133.camel@predator-ii.buffyverse> <4783C8A8.2090705@raad.tartu.ee> <4783D41B.3000204@FreeBSD.org> <4783D748.1050401@raad.tartu.ee> <4783D824.1050502@FreeBSD.org> <4783DB72.6030605@raad.tartu.ee> <4783DCAA.1080108@FreeBSD.org> <47851247.1020306@raad.tartu.ee> In-Reply-To: <47851247.1020306@raad.tartu.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Wayne Sierke Subject: Re: 6.3-PRERELEASE desktop system periodically freezes momentarily X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 18:54:40 -0000 Toomas Aas wrote: > Kris Kennaway wrote: > >> OK, you may need to set up hwpmc or LOCK_PROFILING to figure out what >> your system is doing at that moment. > > While experimenting with pmcstat I found that my problem seems to be > mouse-related. I did several tests - booted, logged in with xdm, started > an xterm and left 'pmcstat -S instructions' running in xterm to see > where it freezes. > > As long as I don't touch the mouse, pmcstat output keeps scrolling by at > high speed. I can wait several minutes and it just keeps scrolling. But > when I start moving the mouse, soon (probably 10-20 cm of mouse > movement, but I haven't done any real measurements ;) ) there is this > "hiccup". As I said earlier, this happens only once during the session. > > The same test can be done outside X, on the text console, and the > behaviour is identical. I tried with two generic 2-buttons-and-a-wheel > PS/2 mice and the results are identical. I don't have any USB mice at > hand immediately. > > # grep mouse /etc/rc.conf: > moused_enable="YES" > > # grep psm /var/run/dmesg.boot > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model IntelliMouse, device ID 3 > > At that point it seems that faulty hardware can't be ruled out (dying > mouse port on the motherboard?). But it seems a bit strange that the > problem appears exactly once during the session. I'll try with USB mouse > tomorrow. > > > -- > Toomas Aas > ... Enter any 11-digit prime number to continue. > > There was another report of problems with psm. Can you try with sysmouse instead? If that works around the issue then we can investigate psm further. Kris