NetBSD Problem Report #47639

From www@NetBSD.org  Sun Mar 10 17:50:06 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 71C7A63F005
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 10 Mar 2013 17:50:06 +0000 (UTC)
Message-Id: <20130310175005.606E563F005@www.NetBSD.org>
Date: Sun, 10 Mar 2013 17:50:05 +0000 (UTC)
From: roop@tamasi.org
Reply-To: roop@tamasi.org
To: gnats-bugs@NetBSD.org
Subject: O2 keyboard: After a period of light activity, keyboard scrambles
X-Send-Pr-Version: www-1.0

>Number:         47639
>Category:       port-sgimips
>Synopsis:       O2 keyboard: After a period of light activity, keyboard scrambles
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sgimips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 10 17:55:00 +0000 2013
>Originator:     Rob
>Release:        6.0.1
>Organization:
>Environment:
NetBSD machine 6.0.1 NetBSD 6.0.1 (GENERIC32_IP3x) sgimips
mainbus0 (root): SGI-IP32 [SGI, a], 1 processor
cpu0 at mainbus0: MIPS R12000 CPU (0xe35) Rev. 3.5 with unknown FPC type (0x900) Rev. 0.0

>Description:
After a successful installation with correct keyboard and console function (pleasantly fast and felt high quality), observed the keyboard becomes scrambled. 

Basic services running (NTP, SSH, Postfix, mdnsd). Quiescent system, recently installed with 6.0.1. Not running X. 

Occurrences: 
First observed running top(1) overnight on a quiet system.
Second observed logged into console shortly after boot ~6minutes.
Third observed after physically reconnecting keyboard while logged into console

On the Second occurrence, witnessed flash from CAPS NUM and SCROLL keyboard lights. Was not interacting with the machine at that moment. Then observed keyboard was corrupted - 'm' became capslock, 'q' became 'Y', other keys could produce control key combinations, rendered as garbage in console display.  Some key presses repeat randomly.

Remote SSH into machine and observe system is otherwise functioning normally. 

Killed processes attached to console session sh(1) and login(1) and observed console return to login prompt. No change in symptoms.

No additional info in dmesg, no log in /var/log/messages.

Unknown how to reinitialize a keyboard.  Reboot and keyboard working normally again until next occurrence.

Physically reproduced after boot by unplugging and plugging in keyboard. Observed same key-reassignment: "m" capslock, 'g' period 'o' numlock '9' scrolllock. Some key reassignments weren't completely the same.

Don't suspect faulty keyboard PS/2 connector. Keyboard is US SGI O2 keyboard 062-0002-001 circa 1998. Keyboard functions normally in PROM (and in IRIX).

>How-To-Repeat:
Repeating after obtaining console is inconsistent.

Physically disconnecting the keyboard PS/2 plug, wait a few seconds and then reconnect seems to reliably cause fault.  
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.