Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2008 20:28:23 +0200
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org, Wayne Sierke <ws@au.dyndns.ws>
Subject:   Re: 6.3-PRERELEASE desktop system periodically freezes momentarily
Message-ID:  <47851247.1020306@raad.tartu.ee>
In-Reply-To: <4783DCAA.1080108@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <PS/2 Mouse> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47851247.1020306>