From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264392AbUBHXbS (ORCPT ); Sun, 8 Feb 2004 18:31:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264410AbUBHXbS (ORCPT ); Sun, 8 Feb 2004 18:31:18 -0500 Received: from twilight.ucw.cz ([81.30.235.3]:37860 "EHLO twilight.ucw.cz") by vger.kernel.org with ESMTP id S264392AbUBHXbM (ORCPT ); Sun, 8 Feb 2004 18:31:12 -0500 Date: Mon, 9 Feb 2004 00:30:52 +0100 From: Vojtech Pavlik To: Bernd Schubert Cc: linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net Subject: Re: psmouse.c, throwing 3 bytes away Message-ID: <20040208233052.GA17570@ucw.cz> References: <20040208215935.GA13280@ucw.cz> <20040208221933.92D0B3F1B@latitude.mynet.no-ip.org> <20040208230314.GA21937@fubini.pci.uni-heidelberg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040208230314.GA21937@fubini.pci.uni-heidelberg.de> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 09, 2004 at 12:03:14AM +0100, Bernd Schubert wrote: > On Sun, Feb 08, 2004 at 11:19:32PM +0100, aeriksson@fastmail.fm wrote: > > > > > > > > > Problem still occurs :-( > > > > > > I have good news - I've managed to reliably reproduce the bug on my > > > machine and that means I now have a good chance to find and fix it. > > > > > > > Another data point. I just tried switching to a non-preempt kernel as > > was suggested by someone. The problem still occurs. > Hello, > > on IBM Thinkpads R31 this is also easiliy to reproduce: > > For 2.6. one only needs to read from /proc/apm or /proc/acpic/... > and the mouse becomes crazy and one gets the throwing 2 bytes away > messages in the log files. By fast reading in an endless loop even > input from the keyboard is ignored. > > For 2.4. this only happens on reading from /proc/apm, somehow acpi is not > affected in 2.4. kernel versions. > > Well, for R31's it is said that it is the bad bios, but maybe its > related? Any ideas why it doesn't happen with acpi and 2.4.? There are many reasons why it can happen. I'm currently debugging the one where no APM or ACPI or anything else is needed. > My knowlege of the kernel interals is quite low and pretty much limited > to the basic vfs area, so could you please give me some good advises how to > debug this? You can enable DEBUG in i8042.c, and then look at 'dmesg' when the problem happens. There will be a missing byte in the stream ... -- Vojtech Pavlik SuSE Labs, SuSE CR