public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Victor Hahn <victorhahn@web.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Really annoying bug in the mouse driver
Date: Wed, 2 Feb 2005 10:44:55 -0500	[thread overview]
Message-ID: <d120d50005020207443ceb8704@mail.gmail.com> (raw)
In-Reply-To: <4200A9F3.80908@web.de>

On Wed, 02 Feb 2005 11:22:43 +0100, Victor Hahn <victorhahn@web.de> wrote:
> Dmitry Torokhov wrote:
> 
> >It still complains in dmesg about throwing away bytes, right? Please try
> >loading the box some more to make sure mouse survives some abuse.
> >
> >
> 
> No, it doesn't. The only message I still get is the one below. I've
> tried it with aprox. 90% CPU usage already and I didn't have any
> additional problems.
>

Processor load we usually handle well, loaded disks are usually the
ones that cause >= 0.5 sec delays between bytes received by psmouse.
Please let me know if it still works with busy disks.

> >>kernel: psmouse.c: bad data from KBC - bad parity
> >>
> >>
> >Your keyboard controller reported that the byte transmitted from the mouse
> >was mangled somehow and we should not trust it. I am not sure why it would
> >make mouse jump.. was there any mention of "reconnect" in the logs? Did it
> >happen just once?
> >
> 
> It happened once when I was at the computer and several times while I
> wasn't.

Well, we won't be able to do anythng about parity errors themselves
but hopefully the patch will make them almost invisible for you. I
wonder if the jump could be explained by having a byte with 2 bits
flipped. KBC then would not detect parity error and psmouse would
process the byte as if it was good. This should not be happening too
often.

> There's no "reconnect" in the logs:
> 
> victor@vic:~$ cat /var/log/messages | grep reconnect
> victor@vic:~$

Ok, I was wondering if you hit parity error twice in a row and it
decided to reconnect.

-- 
Dmitry

  reply	other threads:[~2005-02-02 15:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15 13:16 Really annoying bug in the mouse driver Victor Hahn
2005-01-28  7:06 ` Dmitry Torokhov
2005-02-01  8:54   ` Victor Hahn
2005-02-01 13:56     ` Dmitry Torokhov
2005-02-01 14:19       ` Victor Hahn
2005-02-01 23:19         ` Dmitry Torokhov
2005-02-02  6:08           ` Victor Hahn
2005-02-02  6:26             ` Dmitry Torokhov
2005-02-02 10:22               ` Victor Hahn
2005-02-02 15:44                 ` Dmitry Torokhov [this message]
2005-02-03 15:05                   ` Victor Hahn
2005-02-03 15:17                     ` Dmitry Torokhov
2005-02-01 13:29   ` zhilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d120d50005020207443ceb8704@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=victorhahn@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox