LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Marius Gedminas <mgedmin@centras.lt>
To: linux-kernel@vger.kernel.org
Subject: Re: keyboard + PS/2 mouse locks after opening psaux
Date: Fri, 12 Oct 2001 15:33:22 +0200	[thread overview]
Message-ID: <20011012153322.A662@gintaras> (raw)
In-Reply-To: <200110112004.f9BK47b0070854@smtpzilla2.xs4all.nl>
In-Reply-To: <200110112004.f9BK47b0070854@smtpzilla2.xs4all.nl>

On Thu, Oct 11, 2001 at 10:04:06PM +0200, Koos Vriezen wrote:
> I had the same symptoms, console input froze for several minutes. I tried 
> several things and after disabling CONFIG_X86_UP_APIC in the kernel, it 
> didn't occur anymore (but I'm not sure it's the cause).

CONFIG_X86_UP_APIC is disabled on my system.

Today I tried some experimenting: after repeatedly switching between vt1
and vt7 for some time I got the lockup.  Syslog didn't contain any
interesting messages.  The counters for keyboard and PS/2 mouse in
/proc/interrupts became stuck.  One interesting thing I noticed is that
PS/2 mouse line disappeared for a short time during console switch.
While gpm was running, fuser and lsof indicate that it didn't have
/dev/mouse open -- only XFree86 did.

I've waited for about 30 minutes for any keyboard timeouts to appear,
but didn't see any.  Then I tried chvt 7 with no effect (vt7 was already
the active console).  Then chvt 1 fixed the lockup.  Interrupt counters
went alive again.  This time fuser and lsof showed that /dev/mouse is
opened by gpm only.  It looks like both XFree and gpm close /dev/mouse
when they're not active, and reopen it then they become active.

I'm now compiling 2.4.9 with some printk()s added in open_aux and
release_aux.  If I get any interesting results, I'll post them here.

Marius Gedminas
-- 
When all else fails, read the instructions.

       reply	other threads:[~2001-10-12 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200110112004.f9BK47b0070854@smtpzilla2.xs4all.nl>
2001-10-12 13:33 ` Marius Gedminas [this message]
2002-01-10 13:15 Donnie Roberts
  -- strict thread matches above, loose matches on Subject: below --
2001-10-09 10:21 Krzysztof Halasa
2001-10-11 15:24 ` Marius Gedminas
2001-12-16  1:36 ` Krzysztof Halasa

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=20011012153322.A662@gintaras \
    --to=mgedmin@centras.lt \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: keyboard + PS/2 mouse locks after opening psaux' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).