linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.31-rc2: X stop accepting keystrokes?
@ 2009-07-14  9:24 Pavel Machek
  2009-07-14  9:52 ` Andreas Mohr
  2009-07-15 13:16 ` [regression] " Pavel Machek
  0 siblings, 2 replies; 10+ messages in thread
From: Pavel Machek @ 2009-07-14  9:24 UTC (permalink / raw)
  To: kernel list

Hi!

...it happened second time now.  In one case, ctrl-alt-backspace
helped and I got at least console back, in the other case I had to
reboot using sysrq.

...hmm. It was probably same crash, because console switching has
probably been locked by X, and I have just one console. I ended up on
empty console before.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.6.31-rc2: X stop accepting keystrokes?
  2009-07-14  9:24 2.6.31-rc2: X stop accepting keystrokes? Pavel Machek
@ 2009-07-14  9:52 ` Andreas Mohr
  2009-07-26 13:00   ` Andreas Mohr
  2009-07-15 13:16 ` [regression] " Pavel Machek
  1 sibling, 1 reply; 10+ messages in thread
From: Andreas Mohr @ 2009-07-14  9:52 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list

Hi,

I'm having very similar issues currently, on two of my systems now
(used to be one only for months, now the second one started having the
same issues about 4 weeks ago, with no recognizable config change).

Symptoms are that I keep swearing over the system mixing up special key
state (Ctrl, Alt, AltGr, etc.), resulting in all sorts of awful
actions such as shell logout, view switch, going back to tty, killing
text etc.pp.
And sometimes full lockup of keyboard in X.

Interestingly, while trying to fix it, KDE 4.2.2 systemsettings did NOT
manage to get my keyboard back when resetting keyboard or mouse dialog
state. HOWEVER, switching screen resolution in the graphics
configuration section DID get my keyboard back!
Installing entire armadas of xkb*, xinput* packages/utilities had NOT
managed to do so...

First system: Desktop, 2.6.30-rc5, Debian testing or unstable, PS/2 keyboard,
tweaked xorg.conf (--> HAL input unknown).
Second system: Netbook, Acer Aspire One, 2.6.30(.0), u9.04, PS/2 internal,
no xorg.conf (--> HAL input?).

Interesting (if rather non-clueful) pages are
https://wiki.ubuntu.com/X/Troubleshooting/HalBreaksKeyboardAndMouse
https://wiki.ubuntu.com/X/Config/Input

Or it could just really be something strongly kernel-specific for you
and something entirely unrelated to the pages and problems above.

Come to think of it, I had some full-keyboard-lockup situation(s)
even earlier on my netbook (maybe as far back as 6 weeks?),
thus it might actually be my recent kernel update indeed.

And rest assured that it's annoying as hell. :P

Andreas Mohr

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?
  2009-07-14  9:24 2.6.31-rc2: X stop accepting keystrokes? Pavel Machek
  2009-07-14  9:52 ` Andreas Mohr
@ 2009-07-15 13:16 ` Pavel Machek
  2009-07-17 12:59   ` Pavel Machek
  1 sibling, 1 reply; 10+ messages in thread
From: Pavel Machek @ 2009-07-15 13:16 UTC (permalink / raw)
  To: kernel list; +Cc: Rafael J. Wysocki, jikos

Hi!

> ...it happened second time now.  In one case, ctrl-alt-backspace
> helped and I got at least console back, in the other case I had to
> reboot using sysrq.
> 
> ...hmm. It was probably same crash, because console switching has
> probably been locked by X, and I have just one console. I ended up on
> empty console before.

It happened four times now. It seems to happen when I type heavily. I
was once able to reproduce it by hitting keys heavily/randomly.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?
  2009-07-15 13:16 ` [regression] " Pavel Machek
@ 2009-07-17 12:59   ` Pavel Machek
  2009-07-17 13:01     ` Jiri Kosina
  0 siblings, 1 reply; 10+ messages in thread
From: Pavel Machek @ 2009-07-17 12:59 UTC (permalink / raw)
  To: kernel list; +Cc: Rafael J. Wysocki, jikos

On Wed 2009-07-15 15:16:11, Pavel Machek wrote:
> Hi!
> 
> > ...it happened second time now.  In one case, ctrl-alt-backspace
> > helped and I got at least console back, in the other case I had to
> > reboot using sysrq.
> > 
> > ...hmm. It was probably same crash, because console switching has
> > probably been locked by X, and I have just one console. I ended up on
> > empty console before.
> 
> It happened four times now. It seems to happen when I type heavily. I
> was once able to reproduce it by hitting keys heavily/randomly.

Two more crashes today :-(. -rc2 is pretty much unusable.

...and they seem to be slightly different crashes. Once keyboard was
dead but mouse worked, second time keyboard still worked but xterms
kept locking up. I managed to type dmesg into one of them, but that
xterm hung in middle of dump :-(.

								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?
  2009-07-17 12:59   ` Pavel Machek
@ 2009-07-17 13:01     ` Jiri Kosina
  2009-07-17 13:06       ` xterms freezing on 2.6.31-rc2 (was Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?) Pavel Machek
  0 siblings, 1 reply; 10+ messages in thread
From: Jiri Kosina @ 2009-07-17 13:01 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Rafael J. Wysocki, linux-input, Dmitry Torokhov


[ adding some CCs ]

On Fri, 17 Jul 2009, Pavel Machek wrote:

> On Wed 2009-07-15 15:16:11, Pavel Machek wrote:
> > Hi!
> > 
> > > ...it happened second time now.  In one case, ctrl-alt-backspace
> > > helped and I got at least console back, in the other case I had to
> > > reboot using sysrq.
> > > 
> > > ...hmm. It was probably same crash, because console switching has
> > > probably been locked by X, and I have just one console. I ended up on
> > > empty console before.
> > 
> > It happened four times now. It seems to happen when I type heavily. I
> > was once able to reproduce it by hitting keys heavily/randomly.
> 
> Two more crashes today :-(. -rc2 is pretty much unusable.
> 
> ...and they seem to be slightly different crashes. Once keyboard was
> dead but mouse worked, second time keyboard still worked but xterms
> kept locking up. I managed to type dmesg into one of them, but that
> xterm hung in middle of dump :-(.

I guess that both keyboard and mouse are PS/2 connected, right?

Any possibility to capture serial console output?

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 10+ messages in thread

* xterms freezing on 2.6.31-rc2 (was Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?)
  2009-07-17 13:01     ` Jiri Kosina
@ 2009-07-17 13:06       ` Pavel Machek
  2009-07-17 13:13         ` Jiri Kosina
  0 siblings, 1 reply; 10+ messages in thread
From: Pavel Machek @ 2009-07-17 13:06 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: kernel list, Rafael J. Wysocki, linux-input, Dmitry Torokhov

On Fri 2009-07-17 15:01:47, Jiri Kosina wrote:
> 
> [ adding some CCs ]
> 
> On Fri, 17 Jul 2009, Pavel Machek wrote:
> 
> > On Wed 2009-07-15 15:16:11, Pavel Machek wrote:
> > > Hi!
> > > 
> > > > ...it happened second time now.  In one case, ctrl-alt-backspace
> > > > helped and I got at least console back, in the other case I had to
> > > > reboot using sysrq.
> > > > 
> > > > ...hmm. It was probably same crash, because console switching has
> > > > probably been locked by X, and I have just one console. I ended up on
> > > > empty console before.
> > > 
> > > It happened four times now. It seems to happen when I type heavily. I
> > > was once able to reproduce it by hitting keys heavily/randomly.
> > 
> > Two more crashes today :-(. -rc2 is pretty much unusable.
> > 
> > ...and they seem to be slightly different crashes. Once keyboard was
> > dead but mouse worked, second time keyboard still worked but xterms
> > kept locking up. I managed to type dmesg into one of them, but that
> > xterm hung in middle of dump :-(.
> 
> I guess that both keyboard and mouse are PS/2 connected, right?

Thinkpad internal keyboard/mouse, yes.

> Any possibility to capture serial console output?

I managed to get dmesg via magic sysrq at some point. I got some
softlockup messages and processes seemed to hang.

I'm no  longer sure how much keyboard related it is. It seems to
happen while typing, but ... the system still reacts to keyboard but
xterms hang. 
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xterms freezing on 2.6.31-rc2 (was Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?)
  2009-07-17 13:06       ` xterms freezing on 2.6.31-rc2 (was Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?) Pavel Machek
@ 2009-07-17 13:13         ` Jiri Kosina
  2009-07-17 13:17           ` Pavel Machek
  2009-07-23 18:51           ` Pavel Machek
  0 siblings, 2 replies; 10+ messages in thread
From: Jiri Kosina @ 2009-07-17 13:13 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Rafael J. Wysocki, linux-input, Dmitry Torokhov

On Fri, 17 Jul 2009, Pavel Machek wrote:

> > > ...and they seem to be slightly different crashes. Once keyboard was
> > > dead but mouse worked, second time keyboard still worked but xterms
> > > kept locking up. I managed to type dmesg into one of them, but that
> > > xterm hung in middle of dump :-(.
> > 
> > I guess that both keyboard and mouse are PS/2 connected, right?
> 
> Thinkpad internal keyboard/mouse, yes.
> 
> > Any possibility to capture serial console output?
> 
> I managed to get dmesg via magic sysrq at some point. I got some
> softlockup messages and processes seemed to hang.

Softlockup in which area?

Are you able to ssh into the machine? Where do the xterms hang? 
(/proc/<pid>/stack)

> I'm no  longer sure how much keyboard related it is. It seems to
> happen while typing, but ... the system still reacts to keyboard but
> xterms hang. 

Could this be related to

	http://lkml.org/lkml/2009/7/16/268

?

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xterms freezing on 2.6.31-rc2 (was Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?)
  2009-07-17 13:13         ` Jiri Kosina
@ 2009-07-17 13:17           ` Pavel Machek
  2009-07-23 18:51           ` Pavel Machek
  1 sibling, 0 replies; 10+ messages in thread
From: Pavel Machek @ 2009-07-17 13:17 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: kernel list, Rafael J. Wysocki, linux-input, Dmitry Torokhov

On Fri 2009-07-17 15:13:41, Jiri Kosina wrote:
> On Fri, 17 Jul 2009, Pavel Machek wrote:
> 
> > > > ...and they seem to be slightly different crashes. Once keyboard was
> > > > dead but mouse worked, second time keyboard still worked but xterms
> > > > kept locking up. I managed to type dmesg into one of them, but that
> > > > xterm hung in middle of dump :-(.
> > > 
> > > I guess that both keyboard and mouse are PS/2 connected, right?
> > 
> > Thinkpad internal keyboard/mouse, yes.
> > 
> > > Any possibility to capture serial console output?
> > 
> > I managed to get dmesg via magic sysrq at some point. I got some
> > softlockup messages and processes seemed to hang.
> 
> Softlockup in which area?

Sorry, I did not write it down :-(.

> Are you able to ssh into the machine? Where do the xterms hang? 
> (/proc/<pid>/stack)

I was not able to capture that. I'll try pen and paper next :-).

> > I'm no  longer sure how much keyboard related it is. It seems to
> > happen while typing, but ... the system still reacts to keyboard but
> > xterms hang. 
> 
> Could this be related to
> 
> 	http://lkml.org/lkml/2009/7/16/268

Actually... that sounds suspiciously like it. I'll try -rc3 update.

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xterms freezing on 2.6.31-rc2 (was Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?)
  2009-07-17 13:13         ` Jiri Kosina
  2009-07-17 13:17           ` Pavel Machek
@ 2009-07-23 18:51           ` Pavel Machek
  1 sibling, 0 replies; 10+ messages in thread
From: Pavel Machek @ 2009-07-23 18:51 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: kernel list, Rafael J. Wysocki, linux-input, Dmitry Torokhov

On Fri 2009-07-17 15:13:41, Jiri Kosina wrote:
> On Fri, 17 Jul 2009, Pavel Machek wrote:
> 
> > > > ...and they seem to be slightly different crashes. Once keyboard was
> > > > dead but mouse worked, second time keyboard still worked but xterms
> > > > kept locking up. I managed to type dmesg into one of them, but that
> > > > xterm hung in middle of dump :-(.
> > > 
> > > I guess that both keyboard and mouse are PS/2 connected, right?
> > 
> > Thinkpad internal keyboard/mouse, yes.
> > 
> > > Any possibility to capture serial console output?
> > 
> > I managed to get dmesg via magic sysrq at some point. I got some
> > softlockup messages and processes seemed to hang.
> 
> Softlockup in which area?
> 
> Are you able to ssh into the machine? Where do the xterms hang? 
> (/proc/<pid>/stack)

I have not seen it for a while with new kernel, so I assume problem is gone.
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 2.6.31-rc2: X stop accepting keystrokes?
  2009-07-14  9:52 ` Andreas Mohr
@ 2009-07-26 13:00   ` Andreas Mohr
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Mohr @ 2009-07-26 13:00 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andreas Mohr, kernel list

Hi,

> Symptoms are that I keep swearing over the system mixing up special key
> state (Ctrl, Alt, AltGr, etc.), resulting in all sorts of awful
> actions such as shell logout, view switch, going back to tty, killing
> text etc.pp.
> And sometimes full lockup of keyboard in X.

https://bugs.kde.org/show_bug.cgi?id=201561 . 'nuff said.

Andreas Mohr

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-07-26 13:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-14  9:24 2.6.31-rc2: X stop accepting keystrokes? Pavel Machek
2009-07-14  9:52 ` Andreas Mohr
2009-07-26 13:00   ` Andreas Mohr
2009-07-15 13:16 ` [regression] " Pavel Machek
2009-07-17 12:59   ` Pavel Machek
2009-07-17 13:01     ` Jiri Kosina
2009-07-17 13:06       ` xterms freezing on 2.6.31-rc2 (was Re: [regression] Re: 2.6.31-rc2: X stop accepting keystrokes?) Pavel Machek
2009-07-17 13:13         ` Jiri Kosina
2009-07-17 13:17           ` Pavel Machek
2009-07-23 18:51           ` Pavel Machek

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).