Subject: kern/37229: "pms0: resetting mouse interface" error and freeze on i386 MP
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Simon Burge <simonb@NetBSD.org>
List: netbsd-bugs
Date: 10/27/2007 07:10:00
>Number:         37229
>Category:       kern
>Synopsis:       "pms0: resetting mouse interface" error and freeze on i386 MP
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 27 07:10:00 +0000 2007
>Originator:     Simon Burge
>Release:        NetBSD 4.0_RC3
>Organization:
>Environment:
	System: NetBSD thoreau 4.0_RC3 NetBSD 4.0_RC3 (THOREAU.MP-4)
	#2: Sat Oct 27 11:01:25 EST 2007
	simonb@thoreau:/usr/obj/sys/arch/i386/compile/THOREAU.MP-4 i386
Architecture: i386
Machine: i386
>Description:
        Semi-reguarly, an i386 MP machine (dual Xeon, 2G RAM, around
        June 2003 vintage) freezes for about 15 seconds.  I see the
        following messages when this happens:

		pms0: resetting mouse interface
		pckbport: command timeout
		pms_disable: command error

        This appears to be MP related.  I can't reproduce this with a UP
        kernel (GENERIC, GENERIC.NOACPI, GENERIC with MPBIOS/ioapic),
        and happens with all MP kernels I've tried (GENERIC.MP,
        GENERIC.MP with ACPI disabled, GENERIC + PCI_INTR_FIXUP).

        I also occasionally see a momentary freeze (less than a second
        or so) and just see the:

		pms0: resetting mouse interface

        message, without the following "command timeout" or "command
        error" messages.

        Relevent attach messages for mouse and keyboard are:

		pckbc1 at acpi0 (PNP0303): kbd port
		pckbc1: io 0x60,0x64 irq 1
		pckbc2 at acpi0 (PNP0F13): aux port
		pckbc2: irq 12
		  ...
		pckbd0 at pckbc1 (kbd slot)
		pckbc1: using irq 1 for kbd slot
		wskbd0 at pckbd0: console keyboard
		pms0 at pckbc1 (aux slot)
		pckbc1: using irq 12 for aux slot
		wsmouse0 at pms0 mux 0

	Full dmesg is available for various kernels.

        The mouse is a M$ IntelliMouse Explorer.

>How-To-Repeat:
        Not sure..  The problem appears to happen when the mouse
        moves, and seems to happen every hour or so, sometimes longer,
        sometimes only minutes apart.

>Fix:
        None given.  Or use a UP kernel :/ I'm about to try a USB mouse
        instead of a PS2 mouse (well, same mouse, different plug).

>Unformatted:
 	Sources from NetBSD-4 branch on Oct 16 2007