6.3-PRERELEASE desktop system periodically freezes momentarily

Toomas Aas toomas.aas at raad.tartu.ee
Wed Jan 9 10:28:30 PST 2008

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 

# grep mouse /etc/rc.conf:

# grep psm /var/run/dmesg.boot
psm0: <PS/2 Mouse> irq 12 on atkbdc0
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 

Toomas Aas
... Enter any 11-digit prime number to continue.

More information about the freebsd-stable mailing list