6.3-PRERELEASE desktop system periodically freezes momentarily

Kris Kennaway kris at FreeBSD.org
Wed Jan 9 10:54:40 PST 2008


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: <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.
> 
> 

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



More information about the freebsd-stable mailing list