public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux Kernel cfs scheduler and xorg kbd
@ 2007-07-30 20:25 <::.. Teresa_II ..::>
  2007-07-30 22:49 ` Michal Piotrowski
                   ` (3 more replies)
  0 siblings, 4 replies; 38+ messages in thread
From: <::.. Teresa_II ..::> @ 2007-07-30 20:25 UTC (permalink / raw)
  To: CK Mailinglist, Linux Kernel Mailing List

Hi all,


first of all i am not sure if its scheduler issue. But i didn't found
anything about that in google related to something else.

So i tried 2.6.22.1 kernel with new cfs scheduler v19.1 from Ingo page.
Previous i used 2.6.22-ck1.

After 24 hours running i get strange behavior in Xorg. It act slower
with my special keys, like SHIFT, or CTRL. So if i hold SHIFT and press
")" and than will press enter, i release SHIIFT and press ENTER it
doesn't create new line. Even if i start write a Sentence or word with
"SHIFTed" char it makes next char in high case also. 
Like this: "HAllo" even if i type "Hallo".

It's extremely unusable.

It doesn't happen if i am on other kernel.

I am ready to provide any requested information to find issue.
If its not kernel related thing - i am very sorry, i just don't know
where to start to trace whats wrong.

I am on gentoo and use latest xorg server. Keyboard driver is "KBD".
Mouse use "evdev" driver.

-- 
Teresa Kalitowska
jid: teresa@kvitka.net


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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-07-30 20:25 Linux Kernel cfs scheduler and xorg kbd <::.. Teresa_II ..::>
@ 2007-07-30 22:49 ` Michal Piotrowski
  2007-08-01  6:48   ` Ingo Molnar
  2007-07-31 11:18 ` [ck] " <::.. Teresa_II ..::>
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 38+ messages in thread
From: Michal Piotrowski @ 2007-07-30 22:49 UTC (permalink / raw)
  To: teresa; +Cc: CK Mailinglist, Linux Kernel Mailing List, Ingo Molnar

Hi,

On 30/07/07, <::.. Teresa_II ..::> <teresa@kvitka.net> wrote:
> Hi all,
>
>
> first of all i am not sure if its scheduler issue. But i didn't found
> anything about that in google related to something else.
>
> So i tried 2.6.22.1 kernel with new cfs scheduler v19.1 from Ingo page.
> Previous i used 2.6.22-ck1.
>
> After 24 hours running i get strange behavior in Xorg. It act slower
> with my special keys, like SHIFT, or CTRL. So if i hold SHIFT and press
> ")" and than will press enter, i release SHIIFT and press ENTER it
> doesn't create new line. Even if i start write a Sentence or word with
> "SHIFTed" char it makes next char in high case also.
> Like this: "HAllo" even if i type "Hallo".
>
> It's extremely unusable.
>
> It doesn't happen if i am on other kernel.
>
> I am ready to provide any requested information to find issue.
> If its not kernel related thing - i am very sorry, i just don't know
> where to start to trace whats wrong.
>
> I am on gentoo and use latest xorg server. Keyboard driver is "KBD".
> Mouse use "evdev" driver.

Ingo, can you take a look at this?

>
> --
> Teresa Kalitowska
> jid: teresa@kvitka.net

Regards,
Michal

-- 
LOG
http://www.stardust.webpages.pl/log/

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

* Re: [ck] Linux Kernel cfs scheduler and xorg kbd
  2007-07-30 20:25 Linux Kernel cfs scheduler and xorg kbd <::.. Teresa_II ..::>
  2007-07-30 22:49 ` Michal Piotrowski
@ 2007-07-31 11:18 ` <::.. Teresa_II ..::>
  2007-07-31 11:42 ` <::.. Teresa_II ..::>
  2007-07-31 15:06 ` Rene Herman
  3 siblings, 0 replies; 38+ messages in thread
From: <::.. Teresa_II ..::> @ 2007-07-31 11:18 UTC (permalink / raw)
  To: CK Mailinglist; +Cc: Linux Kernel Mailing List, Ingo Molnar

У пн, 2007-07-30 у 22:25 +0200, <::.. Teresa_II ..::> пише:


> I am ready to provide any requested information to find issue.

Interesting Thing is that this seems to happen only on system idle. If
system is under load it behave correct.
And sometimes it doesn't appear even if system is idle.
Now as i write this email it works mostly like it should. Yesterday i
was much worse. I didn't rebooted since this time. Application set i run
is mostly the same for whole time.
So any idea where to start to look ?

Also how long SHIFT, or CTRL was pressed have matter. Long pressed
special button cause longer release time.
Sorry if its little bit bad described. I don't know how better to
explain how it looks.

-- 
Teresa Kalitowska
jid: teresa@kvitka.net


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

* Re: [ck] Linux Kernel cfs scheduler and xorg kbd
  2007-07-30 20:25 Linux Kernel cfs scheduler and xorg kbd <::.. Teresa_II ..::>
  2007-07-30 22:49 ` Michal Piotrowski
  2007-07-31 11:18 ` [ck] " <::.. Teresa_II ..::>
@ 2007-07-31 11:42 ` <::.. Teresa_II ..::>
  2007-07-31 14:27   ` Ingo Molnar
  2007-07-31 15:06 ` Rene Herman
  3 siblings, 1 reply; 38+ messages in thread
From: <::.. Teresa_II ..::> @ 2007-07-31 11:42 UTC (permalink / raw)
  To: CK Mailinglist; +Cc: Linux Kernel Mailing List, Ingo Molnar

У пн, 2007-07-30 у 22:25 +0200, <::.. Teresa_II ..::> пише:


Ok, hier is small testing:
I started gcc emerge. System load is between 1.47 and 1.61
I use SMP enabled 2.6.22.1-cfs-v19.1 kernel on ADM64 X2.

In gnome-terminal window i just type fast "d" and until i count 1,2 i
hold SHIFT, than i release SHIFT, count 1,2 and than press SHIFT again.
I cound 1,2,1,2,1,2 as i type "d" button. That's the string i get:

DDDDDDDdDDDddDDddDDddDDDdDDDdDDDdDDDddDDddDDDdDDDddDDDdDDDdDDDDDDDdDDDDDDDDDDDdDDD

Its anyway different as expected.

I don't have better idea how to show what my problem is.

-- 
Teresa Kalitowska
jid: teresa@kvitka.net


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

* Re: [ck] Linux Kernel cfs scheduler and xorg kbd
  2007-07-31 11:42 ` <::.. Teresa_II ..::>
@ 2007-07-31 14:27   ` Ingo Molnar
  2007-07-31 16:39     ` <::.. Teresa_II ..::>
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2007-07-31 14:27 UTC (permalink / raw)
  To: <::.. Teresa_II ..::>; +Cc: CK Mailinglist, Linux Kernel Mailing List


* <::.. Teresa_II ..::> <teresa@kvitka.net> wrote:

> У пн, 2007-07-30 у 22:25 +0200, <::.. Teresa_II ..::> пише:
> 
> Ok, hier is small testing: I started gcc emerge. System load is 
> between 1.47 and 1.61 I use SMP enabled 2.6.22.1-cfs-v19.1 kernel on 
> ADM64 X2.
> 
> In gnome-terminal window i just type fast "d" and until i count 1,2 i 
> hold SHIFT, than i release SHIFT, count 1,2 and than press SHIFT 
> again. I cound 1,2,1,2,1,2 as i type "d" button. That's the string i 
> get:

hm, do you have CONFIG_NO_HZ=y? If yes, could you disable it? Plus can 
you see the same problem on v2.6.23-rc1 as well (if that kernel boots 
fine for you).

	Ingo

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-07-30 20:25 Linux Kernel cfs scheduler and xorg kbd <::.. Teresa_II ..::>
                   ` (2 preceding siblings ...)
  2007-07-31 11:42 ` <::.. Teresa_II ..::>
@ 2007-07-31 15:06 ` Rene Herman
  3 siblings, 0 replies; 38+ messages in thread
From: Rene Herman @ 2007-07-31 15:06 UTC (permalink / raw)
  To: <::.. Teresa_II ..::>; +Cc: CK Mailinglist, Linux Kernel Mailing List

On 07/30/2007 10:25 PM, <::.. Teresa_II ..::> wrote:

> first of all i am not sure if its scheduler issue. But i didn't found
> anything about that in google related to something else.
> 
> So i tried 2.6.22.1 kernel with new cfs scheduler v19.1 from Ingo page.
> Previous i used 2.6.22-ck1.
> 
> After 24 hours running i get strange behavior in Xorg. It act slower
> with my special keys, like SHIFT, or CTRL. So if i hold SHIFT and press
> ")" and than will press enter, i release SHIIFT and press ENTER it
> doesn't create new line. Even if i start write a Sentence or word with
> "SHIFTed" char it makes next char in high case also. 
> Like this: "HAllo" even if i type "Hallo".

For a few days now I have been experiencing a "stuck delete" key while 
reading mail -- I run through the mail with "delete" and every once in a 
while it just keeps on deleting messages while I've already released the 
delete key and was trying to read the next message.

Regular unpatched 2.6.22.1 though and I've recently changed too many things 
to be certain of anything. My X is the modular X.org 1.3.0 since not long, 
and the mailer showing the problem is Thunderbird 2.0.0.5, recently switched 
from 1.5.0.12. The problem was on my "I'll get to it" list but seems this 
could be a good thread to report it into. PS/2 keyboard...

> It's extremely unusable.
> 
> It doesn't happen if i am on other kernel.

Very very sure?

> I am ready to provide any requested information to find issue. If its not
> kernel related thing - i am very sorry, i just don't know where to start
> to trace whats wrong.
> 
> I am on gentoo and use latest xorg server. Keyboard driver is "KBD". 
> Mouse use "evdev" driver.

Rene.



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

* Re: [ck] Linux Kernel cfs scheduler and xorg kbd
  2007-07-31 14:27   ` Ingo Molnar
@ 2007-07-31 16:39     ` <::.. Teresa_II ..::>
  0 siblings, 0 replies; 38+ messages in thread
From: <::.. Teresa_II ..::> @ 2007-07-31 16:39 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: CK Mailinglist, Linux Kernel Mailing List

У вт, 2007-07-31 у 16:27 +0200, Ingo Molnar пише:
> > In gnome-terminal window i just type fast "d" and until i count 1,2 i 
> > hold SHIFT, than i release SHIFT, count 1,2 and than press SHIFT 
> > again. I cound 1,2,1,2,1,2 as i type "d" button. That's the string i 
> > get:
> 
> hm, do you have CONFIG_NO_HZ=y? If yes, could you disable it? Plus can 
> you see the same problem on v2.6.23-rc1 as well (if that kernel boots 
> fine for you).

# zcat /proc/config.gz |grep "_HZ"
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000

Hmm, i will try 2.6.23-rc1 soon.

-- 
Teresa Kalitowska
jid: teresa@kvitka.net


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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-07-30 22:49 ` Michal Piotrowski
@ 2007-08-01  6:48   ` Ingo Molnar
  2007-08-01 11:31     ` Andi Kleen
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2007-08-01  6:48 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: teresa, CK Mailinglist, Linux Kernel Mailing List


* Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:

> Hi,
> 
> On 30/07/07, <::.. Teresa_II ..::> <teresa@kvitka.net> wrote:
> > Hi all,
> >
> >
> > first of all i am not sure if its scheduler issue. But i didn't found
> > anything about that in google related to something else.
> >
> > So i tried 2.6.22.1 kernel with new cfs scheduler v19.1 from Ingo page.
> > Previous i used 2.6.22-ck1.
> >
> > After 24 hours running i get strange behavior in Xorg. It act slower
> > with my special keys, like SHIFT, or CTRL. So if i hold SHIFT and press
> > ")" and than will press enter, i release SHIIFT and press ENTER it
> > doesn't create new line. Even if i start write a Sentence or word with
> > "SHIFTed" char it makes next char in high case also.
> > Like this: "HAllo" even if i type "Hallo".
> >
> > It's extremely unusable.
> >
> > It doesn't happen if i am on other kernel.
> >
> > I am ready to provide any requested information to find issue.
> > If its not kernel related thing - i am very sorry, i just don't know
> > where to start to trace whats wrong.
> >
> > I am on gentoo and use latest xorg server. Keyboard driver is "KBD".
> > Mouse use "evdev" driver.
> 
> Ingo, can you take a look at this?

another reaction below in this thread reported kbd problems in vanilla 
2.6.22.1 as well. What is the X versions, etc.? Does the problem go away 
if the X kbd driver selection is tweaked to a simpler model, say:

 Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
         Option      "XkbModel" "pc105"
         Option      "XkbLayout" "us"
         Option      "XkbVariant" "basic"
 EndSection

	Ingo

----------------------->

From: Rene Herman <rene.herman@gmail.com>

On 07/30/2007 10:25 PM, <::.. Teresa_II ..::> wrote:

> first of all i am not sure if its scheduler issue. But i didn't found
> anything about that in google related to something else.
> 
> So i tried 2.6.22.1 kernel with new cfs scheduler v19.1 from Ingo page.
> Previous i used 2.6.22-ck1.
> 
> After 24 hours running i get strange behavior in Xorg. It act slower
> with my special keys, like SHIFT, or CTRL. So if i hold SHIFT and press
> ")" and than will press enter, i release SHIIFT and press ENTER it
> doesn't create new line. Even if i start write a Sentence or word with
> "SHIFTed" char it makes next char in high case also. 
> Like this: "HAllo" even if i type "Hallo".

For a few days now I have been experiencing a "stuck delete" key while 
reading mail -- I run through the mail with "delete" and every once in a 
while it just keeps on deleting messages while I've already released the 
delete key and was trying to read the next message.

Regular unpatched 2.6.22.1 though and I've recently changed too many things 
to be certain of anything. My X is the modular X.org 1.3.0 since not long, 
and the mailer showing the problem is Thunderbird 2.0.0.5, recently switched 
from 1.5.0.12. The problem was on my "I'll get to it" list but seems this 
could be a good thread to report it into. PS/2 keyboard...

> It's extremely unusable.
> 
> It doesn't happen if i am on other kernel.

Very very sure?

> I am ready to provide any requested information to find issue. If its not
> kernel related thing - i am very sorry, i just don't know where to start
> to trace whats wrong.
> 
> I am on gentoo and use latest xorg server. Keyboard driver is "KBD". 
> Mouse use "evdev" driver.

Rene.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 11:31     ` Andi Kleen
@ 2007-08-01 11:01       ` Rene Herman
  2007-08-01 12:34         ` Indan Zupancic
  0 siblings, 1 reply; 38+ messages in thread
From: Rene Herman @ 2007-08-01 11:01 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Ingo Molnar, Michal Piotrowski, CK Mailinglist, teresa,
	Linux Kernel Mailing List

On 08/01/2007 01:31 PM, Andi Kleen wrote:

> Ingo Molnar <mingo@elte.hu> writes:

>> another reaction below in this thread reported kbd problems in vanilla 
>> 2.6.22.1 as well. What is the X versions, etc.? Does the problem go away 
>> if the X kbd driver selection is tweaked to a simpler model, say:
> 
> Or perhaps just test with CFS reverted? It really sounds more like something
> independent from the scheduler. Perhaps someone could put a CFS-revert-for-testing patch
> on ftp somewhere. It's only a few git changesets so shouldn't be too difficult to
> do.

Teresa was already using 2.6.22.1, with CFS (v19.1) patched in, so reverting 
that would be a matter of patching it out again. She said she wasn't seeing 
trouble on other kernels though.

I was the one who also saw keyboard trouble on 2.6.22.1 without CFS by the 
way -- and haven't (yet) seen any anymore since patching _in_ CFS v19.1...

Rene.


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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01  6:48   ` Ingo Molnar
@ 2007-08-01 11:31     ` Andi Kleen
  2007-08-01 11:01       ` Rene Herman
  0 siblings, 1 reply; 38+ messages in thread
From: Andi Kleen @ 2007-08-01 11:31 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Michal Piotrowski, CK Mailinglist, teresa,
	Linux Kernel Mailing List

Ingo Molnar <mingo@elte.hu> writes:
> 
> another reaction below in this thread reported kbd problems in vanilla 
> 2.6.22.1 as well. What is the X versions, etc.? Does the problem go away 
> if the X kbd driver selection is tweaked to a simpler model, say:

Or perhaps just test with CFS reverted? It really sounds more like something
independent from the scheduler. Perhaps someone could put a CFS-revert-for-testing patch
on ftp somewhere. It's only a few git changesets so shouldn't be too difficult to
do.

-Andi

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 11:01       ` Rene Herman
@ 2007-08-01 12:34         ` Indan Zupancic
  2007-08-01 12:50           ` Rene Herman
  0 siblings, 1 reply; 38+ messages in thread
From: Indan Zupancic @ 2007-08-01 12:34 UTC (permalink / raw)
  To: Rene Herman
  Cc: Andi Kleen, Ingo Molnar, Michal Piotrowski, CK Mailinglist,
	teresa, Linux Kernel Mailing List

On Wed, August 1, 2007 13:01, Rene Herman wrote:
> On 08/01/2007 01:31 PM, Andi Kleen wrote:
>
>> Ingo Molnar <mingo@elte.hu> writes:
>
>>> another reaction below in this thread reported kbd problems in vanilla
>>> 2.6.22.1 as well. What is the X versions, etc.? Does the problem go away
>>> if the X kbd driver selection is tweaked to a simpler model, say:
>>
>> Or perhaps just test with CFS reverted? It really sounds more like something
>> independent from the scheduler. Perhaps someone could put a CFS-revert-for-testing patch
>> on ftp somewhere. It's only a few git changesets so shouldn't be too difficult to
>> do.
>
> Teresa was already using 2.6.22.1, with CFS (v19.1) patched in, so reverting
> that would be a matter of patching it out again. She said she wasn't seeing
> trouble on other kernels though.
>
> I was the one who also saw keyboard trouble on 2.6.22.1 without CFS by the
> way -- and haven't (yet) seen any anymore since patching _in_ CFS v19.1...

Could the people who had or have keyboard problems try out Dmitry's
input locking patches, and see if those help: http://lkml.org/lkml/2007/7/24/17
And if it does, report it to him, either there or here after CCing him.

Greetings,

Indan



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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 12:34         ` Indan Zupancic
@ 2007-08-01 12:50           ` Rene Herman
  2007-08-01 13:07             ` Indan Zupancic
  0 siblings, 1 reply; 38+ messages in thread
From: Rene Herman @ 2007-08-01 12:50 UTC (permalink / raw)
  To: Indan Zupancic
  Cc: Andi Kleen, Ingo Molnar, Michal Piotrowski, CK Mailinglist,
	teresa, Linux Kernel Mailing List

On 08/01/2007 02:34 PM, Indan Zupancic wrote:

> On Wed, August 1, 2007 13:01, Rene Herman wrote:

>> Teresa was already using 2.6.22.1, with CFS (v19.1) patched in, so reverting
>> that would be a matter of patching it out again. She said she wasn't seeing
>> trouble on other kernels though.
>>
>> I was the one who also saw keyboard trouble on 2.6.22.1 without CFS by the
>> way -- and haven't (yet) seen any anymore since patching _in_ CFS v19.1...
> 
> Could the people who had or have keyboard problems try out Dmitry's
> input locking patches, and see if those help: http://lkml.org/lkml/2007/7/24/17
> And if it does, report it to him, either there or here after CCing him.

I'm having trouble reproducing this at will -- it sounded as though Teresa 
had less trouble at least originally. Teresa?

Rene.

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 12:50           ` Rene Herman
@ 2007-08-01 13:07             ` Indan Zupancic
  2007-08-01 13:26               ` Rene Herman
  2007-08-01 13:33               ` <:::.. TeresaII ..:::>
  0 siblings, 2 replies; 38+ messages in thread
From: Indan Zupancic @ 2007-08-01 13:07 UTC (permalink / raw)
  To: Rene Herman
  Cc: Andi Kleen, Ingo Molnar, Michal Piotrowski, CK Mailinglist,
	teresa, Linux Kernel Mailing List

On Wed, August 1, 2007 14:50, Rene Herman wrote:
> On 08/01/2007 02:34 PM, Indan Zupancic wrote:
>
>> On Wed, August 1, 2007 13:01, Rene Herman wrote:
>
>>> Teresa was already using 2.6.22.1, with CFS (v19.1) patched in, so reverting
>>> that would be a matter of patching it out again. She said she wasn't seeing
>>> trouble on other kernels though.
>>>
>>> I was the one who also saw keyboard trouble on 2.6.22.1 without CFS by the
>>> way -- and haven't (yet) seen any anymore since patching _in_ CFS v19.1...
>>
>> Could the people who had or have keyboard problems try out Dmitry's
>> input locking patches, and see if those help: http://lkml.org/lkml/2007/7/24/17
>> And if it does, report it to him, either there or here after CCing him.
>
> I'm having trouble reproducing this at will -- it sounded as though Teresa
> had less trouble at least originally. Teresa?

Same here, so testing is a pain. I was more thinking about running a patched
version for a day or longer and see if it happened or not. For me it happened
irregularly, but definitely a few times a day.

(It might help if people report what they're using. So, for what it's worth, I'm
using a PS/2 keyboard with xorg 1.2.0 with the "keyboard" driver.)

Greetings,

Indan



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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 13:07             ` Indan Zupancic
@ 2007-08-01 13:26               ` Rene Herman
  2007-08-01 13:33               ` <:::.. TeresaII ..:::>
  1 sibling, 0 replies; 38+ messages in thread
From: Rene Herman @ 2007-08-01 13:26 UTC (permalink / raw)
  To: Indan Zupancic
  Cc: Andi Kleen, Ingo Molnar, Michal Piotrowski, CK Mailinglist,
	teresa, Linux Kernel Mailing List

On 08/01/2007 03:07 PM, Indan Zupancic wrote:

> On Wed, August 1, 2007 14:50, Rene Herman wrote:

>> On 08/01/2007 02:34 PM, Indan Zupancic wrote:
>>
>>> On Wed, August 1, 2007 13:01, Rene Herman wrote:
>>>> Teresa was already using 2.6.22.1, with CFS (v19.1) patched in, so reverting
>>>> that would be a matter of patching it out again. She said she wasn't seeing
>>>> trouble on other kernels though.
>>>>
>>>> I was the one who also saw keyboard trouble on 2.6.22.1 without CFS by the
>>>> way -- and haven't (yet) seen any anymore since patching _in_ CFS v19.1...
>>> Could the people who had or have keyboard problems try out Dmitry's
>>> input locking patches, and see if those help: http://lkml.org/lkml/2007/7/24/17
>>> And if it does, report it to him, either there or here after CCing him.
>> I'm having trouble reproducing this at will -- it sounded as though Teresa
>> had less trouble at least originally. Teresa?
> 
> Same here, so testing is a pain. I was more thinking about running a patched
> version for a day or longer and see if it happened or not. For me it happened
> irregularly, but definitely a few times a day.
> 
> (It might help if people report what they're using. So, for what it's worth, I'm
> using a PS/2 keyboard with xorg 1.2.0 with the "keyboard" driver.)

PS/2 keyboard, X.org 1.3.0 (version is at the top of /var/log/Xorg.0.log, or 
wherever your distribution puts that log), and this xkb config (in 
/etc/X11/xorg.conf):

Section "InputDevice"
         Identifier      "Keyboard0"
         Driver          "kbd"
         Option          "XkbModel"      "pc104"
         Option          "XkbLayout"     "us"
         Option          "XkbVariant"    "euro"
         Option          "XkbOptions"    "compose:rctrl"
EndSection

(you can forget that XkbVariant -- it's not yet in most distributions).

Problem as observed here consists of a sporadically stuck delete key in 
Thunderbird 2.0.0.5, using kernel 2.6.22.1 vanilla -- not yet observed using 
2.6.22.1-cfs-v19.1

Rene.


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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 13:07             ` Indan Zupancic
  2007-08-01 13:26               ` Rene Herman
@ 2007-08-01 13:33               ` <:::.. TeresaII ..:::>
  2007-08-01 13:58                 ` Rene Herman
  1 sibling, 1 reply; 38+ messages in thread
From: <:::.. TeresaII ..:::> @ 2007-08-01 13:33 UTC (permalink / raw)
  To: Indan Zupancic
  Cc: Rene Herman, Andi Kleen, Ingo Molnar, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

Indan Zupancic wrote:
>> I'm having trouble reproducing this at will -- it sounded as though Teresa
>> had less trouble at least originally. Teresa?

I am at work actually, so i cant test anything. End of this week i got 
to vacation, so i possibly can return testing in 1 month again.

> Same here, so testing is a pain. I was more thinking about running a patched
> version for a day or longer and see if it happened or not. For me it happened
> irregularly, but definitely a few times a day.

Problem is, that i can't reproduce it after last reboot.
Can this be different on each reboot ? Any idea ?

About another kernel: i only had -ck kernels since last year or more, i 
can remember i had same behavier atleast 6 month ago, or maybe more. But 
it wasn't that hard and it dissapiered self after some time.

Now on first run of 2.6.22.1-cfs-v19.1 i got it again. And realy bad. It 
was even very hard to write report mail. I did reboot, day after that it 
was back, but not that hard. And now rebooted yesterday and cant 
reproduce it at all.

> (It might help if people report what they're using. So, for what it's worth, I'm
> using a PS/2 keyboard with xorg 1.2.0 with the "keyboard" driver.)

PS/2 keybord with latest xorg from gentoo ~amd64 here.

I use plaine settings for xorg, like Ingo told me to try.

-- 
Teresa


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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 13:33               ` <:::.. TeresaII ..:::>
@ 2007-08-01 13:58                 ` Rene Herman
  2007-08-01 14:44                   ` <::.. Teresa_II ..::>
  2007-08-01 15:06                   ` Indan Zupancic
  0 siblings, 2 replies; 38+ messages in thread
From: Rene Herman @ 2007-08-01 13:58 UTC (permalink / raw)
  To: <:::.. TeresaII ..:::>
  Cc: Indan Zupancic, Andi Kleen, Ingo Molnar, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

On 08/01/2007 03:33 PM, <:::.. TeresaII ..:::> wrote:

> Problem is, that i can't reproduce it after last reboot.
> Can this be different on each reboot ? Any idea ?
> 
> About another kernel: i only had -ck kernels since last year or more, i 
> can remember i had same behavier atleast 6 month ago, or maybe more. But 
> it wasn't that hard and it dissapiered self after some time.

Hmm.

> Now on first run of 2.6.22.1-cfs-v19.1 i got it again. And realy bad. It 
> was even very hard to write report mail.

I notice by the way that you are also using Thunderbird 2.0 -- that was my 
own suspect; I had just switched from Thunderbird 1.5.

> I did reboot, day after that it was back, but not that hard. And now
> rebooted yesterday and cant reproduce it at all.

I believe that at least for now we can safely remove this from any list of 
possible CFS regresssions. I'll sit on it and see what I can find out 
when/if my stuck delete happens again.

Indan -- under what circumstances/programs did you experience what?

Rene.

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 13:58                 ` Rene Herman
@ 2007-08-01 14:44                   ` <::.. Teresa_II ..::>
  2007-08-01 15:00                     ` [ck] " Matthew Hawkins
  2007-08-01 15:06                   ` Indan Zupancic
  1 sibling, 1 reply; 38+ messages in thread
From: <::.. Teresa_II ..::> @ 2007-08-01 14:44 UTC (permalink / raw)
  To: Rene Herman
  Cc: Indan Zupancic, Andi Kleen, Ingo Molnar, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

У ср, 2007-08-01 у 15:58 +0200, Rene Herman пише:
> I notice by the way that you are also using Thunderbird 2.0 -- that was my 
> own suspect; I had just switched from Thunderbird 1.5.

I was at work, on windows maschine. At home, where my linux maschine is
running i use evolution. But that have nothing to do with that.

I also doesnt have any "Backspace" keys stoked. Problem i discovered is
only with SHIFT/CTRL and some times "Right" Buttons.

Issue with "right" ("->") button is realy funny. If you type this button
fast enough it works like double pressed. And if you type it fast few
times (with releasing it) it looks same like if button would be never
released. It doesn't happend with "left"("<-") button :)

> > I did reboot, day after that it was back, but not that hard. And now
> > rebooted yesterday and cant reproduce it at all.
> 
> I believe that at least for now we can safely remove this from any list of 
> possible CFS regresssions. I'll sit on it and see what I can find out 
> when/if my stuck delete happens again.

As i sad. I wasn't sure if its kernel related at all, it just was worse
first time i booted cfs-v19.1 patch. Now i cant reproduce it even
anymore :)

Maybe thats xorg bug. Or maybe its different on booting.
Anyway HDD IO or CPU usage or System Load doesn't seems to have
influence on it.

-- 
Teresa Kalitowska
jid: teresa@kvitka.net


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

* Re: [ck] Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 14:44                   ` <::.. Teresa_II ..::>
@ 2007-08-01 15:00                     ` Matthew Hawkins
  2007-08-01 15:53                       ` <::.. Teresa_II ..::>
  0 siblings, 1 reply; 38+ messages in thread
From: Matthew Hawkins @ 2007-08-01 15:00 UTC (permalink / raw)
  To: teresa
  Cc: Rene Herman, Michal Piotrowski, Linux Kernel Mailing List,
	CK Mailinglist, Andi Kleen, Indan Zupancic

On 8/2/07, <::.. Teresa_II ..::> <teresa@kvitka.net> wrote:
> As i sad. I wasn't sure if its kernel related at all, it just was worse
> first time i booted cfs-v19.1 patch. Now i cant reproduce it even
> anymore :)

Hi Teresa,

Are you sure its not just a setting in Gnome/KDE for accessibility?
That tends to do crazy things like making control keys sticky...

-- 
Matt

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 13:58                 ` Rene Herman
  2007-08-01 14:44                   ` <::.. Teresa_II ..::>
@ 2007-08-01 15:06                   ` Indan Zupancic
  2007-08-01 15:09                     ` Ingo Molnar
  2007-08-07  4:40                     ` Linux Kernel cfs scheduler and xorg kbd Kyle Moffett
  1 sibling, 2 replies; 38+ messages in thread
From: Indan Zupancic @ 2007-08-01 15:06 UTC (permalink / raw)
  To: Rene Herman
  Cc: teresa, Andi Kleen, Ingo Molnar, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

On Wed, August 1, 2007 15:58, Rene Herman wrote:
> On 08/01/2007 03:33 PM, <:::.. TeresaII ..:::> wrote:
>
>> Problem is, that i can't reproduce it after last reboot.
>> Can this be different on each reboot ? Any idea ?
>>
>> About another kernel: i only had -ck kernels since last year or more, i
>> can remember i had same behavier atleast 6 month ago, or maybe more. But
>> it wasn't that hard and it dissapiered self after some time.
>
> Hmm.
>
>> Now on first run of 2.6.22.1-cfs-v19.1 i got it again. And realy bad. It
>> was even very hard to write report mail.
>
> I notice by the way that you are also using Thunderbird 2.0 -- that was my
> own suspect; I had just switched from Thunderbird 1.5.
>
>> I did reboot, day after that it was back, but not that hard. And now
>> rebooted yesterday and cant reproduce it at all.
>
> I believe that at least for now we can safely remove this from any list of
> possible CFS regresssions. I'll sit on it and see what I can find out
> when/if my stuck delete happens again.
>
> Indan -- under what circumstances/programs did you experience what?

Different programs, different keys "stuck", so hard to tell. The amount
the pressed key is repeated differs too, from double to hundreds.

As an apparently separate problem my mouse warps once in a while too,
and that's not totally fixed yet, neither with that locking patch. Throw in
that two of my USB ports stopped working after a rare power outage, I
didn't totally trust my hardware any more, hence my initial reluctance to
report these problems.

We could have independent problems with more or less the same symptoms,
at least Teresa's problem seems much worse than ours, and if you and Ingo
only experience a stuck delete key, it might be something else.

Greetings,

Indan



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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:06                   ` Indan Zupancic
@ 2007-08-01 15:09                     ` Ingo Molnar
  2007-08-01 15:13                       ` Rene Herman
  2007-08-01 15:26                       ` Indan Zupancic
  2007-08-07  4:40                     ` Linux Kernel cfs scheduler and xorg kbd Kyle Moffett
  1 sibling, 2 replies; 38+ messages in thread
From: Ingo Molnar @ 2007-08-01 15:09 UTC (permalink / raw)
  To: Indan Zupancic
  Cc: Rene Herman, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List


* Indan Zupancic <indan@nul.nu> wrote:

> We could have independent problems with more or less the same 
> symptoms, at least Teresa's problem seems much worse than ours, and if 
> you and Ingo only experience a stuck delete key, it might be something 
> else.

i experienced nothing in this area so far - if i experienced anything of 
the likes it would be long fixed! =B-)

	Ingo

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:09                     ` Ingo Molnar
@ 2007-08-01 15:13                       ` Rene Herman
  2007-08-01 15:20                         ` Ingo Molnar
  2007-08-01 15:26                       ` Indan Zupancic
  1 sibling, 1 reply; 38+ messages in thread
From: Rene Herman @ 2007-08-01 15:13 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Indan Zupancic, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

On 08/01/2007 05:09 PM, Ingo Molnar wrote:

> * Indan Zupancic <indan@nul.nu> wrote:
> 
>> We could have independent problems with more or less the same 
>> symptoms, at least Teresa's problem seems much worse than ours, and if 
>> you and Ingo only experience a stuck delete key, it might be something 
>> else.
> 
> i experienced nothing in this area so far - if i experienced anything of 
> the likes it would be long fixed! =B-)

Show-off...

Rene.

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:20                         ` Ingo Molnar
@ 2007-08-01 15:19                           ` Rene Herman
  0 siblings, 0 replies; 38+ messages in thread
From: Rene Herman @ 2007-08-01 15:19 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Indan Zupancic, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

On 08/01/2007 05:20 PM, Ingo Molnar wrote:

> * Rene Herman <rene.herman@gmail.com> wrote:
> 
>> On 08/01/2007 05:09 PM, Ingo Molnar wrote:
>>
>>> * Indan Zupancic <indan@nul.nu> wrote:
>>>
>>>> We could have independent problems with more or less the same 
>>>> symptoms, at least Teresa's problem seems much worse than ours, and if 
>>>> you and Ingo only experience a stuck delete key, it might be something 
>>>> else.
>>> i experienced nothing in this area so far - if i experienced anything of 
>>> the likes it would be long fixed! =B-)
>> Show-off...
> 
> ok, gotta qualify that with: '... and if it were easily reproducible and 
> if the bug was in my code'. Much less of a show-off i guess? :)

Much better indeed :-) Haven't hit the problem yet today...

Rene.

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:13                       ` Rene Herman
@ 2007-08-01 15:20                         ` Ingo Molnar
  2007-08-01 15:19                           ` Rene Herman
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2007-08-01 15:20 UTC (permalink / raw)
  To: Rene Herman
  Cc: Indan Zupancic, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List


* Rene Herman <rene.herman@gmail.com> wrote:

> On 08/01/2007 05:09 PM, Ingo Molnar wrote:
> 
> >* Indan Zupancic <indan@nul.nu> wrote:
> >
> >>We could have independent problems with more or less the same 
> >>symptoms, at least Teresa's problem seems much worse than ours, and if 
> >>you and Ingo only experience a stuck delete key, it might be something 
> >>else.
> >
> >i experienced nothing in this area so far - if i experienced anything of 
> >the likes it would be long fixed! =B-)
> 
> Show-off...

ok, gotta qualify that with: '... and if it were easily reproducible and 
if the bug was in my code'. Much less of a show-off i guess? :)

	Ingo

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:09                     ` Ingo Molnar
  2007-08-01 15:13                       ` Rene Herman
@ 2007-08-01 15:26                       ` Indan Zupancic
  2007-08-06  7:12                         ` Ingo Molnar
  1 sibling, 1 reply; 38+ messages in thread
From: Indan Zupancic @ 2007-08-01 15:26 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Rene Herman, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

On Wed, August 1, 2007 17:09, Ingo Molnar wrote:
>
> * Indan Zupancic <indan@nul.nu> wrote:
>
>> We could have independent problems with more or less the same
>> symptoms, at least Teresa's problem seems much worse than ours, and if
>> you and Ingo only experience a stuck delete key, it might be something
>> else.
>
> i experienced nothing in this area so far - if i experienced anything of
> the likes it would be long fixed! =B-)

Ah, indeed, you appended Rene's email without too many new lines,
so I thought your wrote it (http://lkml.org/lkml/2007/8/1/4).

All right, how would you debug it? Give us some insight in how to solve
hard to trigger, happens at most only a few times a day, annoying input
bug? I thought the mouse warping was fixed after 23-rc1 and that input
locking patch, but alas, the third day it happened again.

I would be happy just to know if it's bad hardware or a software bug,
I don't ask for too much, do I?

Greetings,

Indan



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

* Re: [ck] Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:00                     ` [ck] " Matthew Hawkins
@ 2007-08-01 15:53                       ` <::.. Teresa_II ..::>
  2007-08-02  7:11                         ` Sébastien Dugué
  0 siblings, 1 reply; 38+ messages in thread
From: <::.. Teresa_II ..::> @ 2007-08-01 15:53 UTC (permalink / raw)
  To: Matthew Hawkins
  Cc: Rene Herman, Michal Piotrowski, Linux Kernel Mailing List,
	CK Mailinglist, Andi Kleen, Indan Zupancic

У чт, 2007-08-02 у 01:00 +1000, Matthew Hawkins пише:

> Are you sure its not just a setting in Gnome/KDE for accessibility?
> That tends to do crazy things like making control keys sticky...

Yes, i use gnome, and all keyboard layouts are set in gnome, also group
switching for layouts. But accessibility is switched completely off.

-- 
Teresa Kalitowska
jid: teresa@kvitka.net


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

* Re: [ck] Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:53                       ` <::.. Teresa_II ..::>
@ 2007-08-02  7:11                         ` Sébastien Dugué
  2007-08-02 12:22                           ` Rene Herman
  0 siblings, 1 reply; 38+ messages in thread
From: Sébastien Dugué @ 2007-08-02  7:11 UTC (permalink / raw)
  To: <::.. Teresa_II ..::>
  Cc: Matthew Hawkins, Rene Herman, Michal Piotrowski,
	Linux Kernel Mailing List, CK Mailinglist, Andi Kleen,
	Indan Zupancic


  Hi all,

  just a datapoint FWIW

On Wed, 01 Aug 2007 17:53:32 +0200 "<::.. Teresa_II ..::>" <teresa@kvitka.net> wrote:

> У чт, 2007-08-02 у 01:00 +1000, Matthew Hawkins пише:
> 
> > Are you sure its not just a setting in Gnome/KDE for accessibility?
> > That tends to do crazy things like making control keys sticky...
> 
> Yes, i use gnome, and all keyboard layouts are set in gnome, also group
> switching for layouts. But accessibility is switched completely off.
> 

  This reminds me I had something similar happening about a year or so ago
running with Debian's unstable xorg and gnome.

  The keys would stick for a short time (no, no coffee spilled on the keyboard,
I can assure you ;-), the most annoying one being the delete key. Nothing
deterministic, it could happen anytime (or not at all for several days).

  As a final resort, I upgraded the xorg and gnome packages - problem solved.

  Sébastien.

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

* Re: [ck] Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-02  7:11                         ` Sébastien Dugué
@ 2007-08-02 12:22                           ` Rene Herman
  2007-08-02 13:18                             ` Indan Zupancic
  0 siblings, 1 reply; 38+ messages in thread
From: Rene Herman @ 2007-08-02 12:22 UTC (permalink / raw)
  To: Sébastien Dugué
  Cc: <::.. Teresa_II ..::>, Matthew Hawkins, Michal Piotrowski,
	Linux Kernel Mailing List, CK Mailinglist, Andi Kleen,
	Indan Zupancic

On 08/02/2007 09:11 AM, Sébastien Dugué wrote:

> This reminds me I had something similar happening about a year or so ago 
> running with Debian's unstable xorg and gnome.
> 
> The keys would stick for a short time (no, no coffee spilled on the
> keyboard, I can assure you ;-), the most annoying one being the delete
> key. Nothing deterministic, it could happen anytime (or not at all for
> several days).
> 
> As a final resort, I upgraded the xorg and gnome packages - problem
> solved.

Thank you. That "about a year" sounds possible; slackware has been one of 
the last to switch to modular xorg and until recently I was still running 
the old 6.9 series, so it could be xorg...

Rene.


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

* Re: [ck] Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-02 12:22                           ` Rene Herman
@ 2007-08-02 13:18                             ` Indan Zupancic
  0 siblings, 0 replies; 38+ messages in thread
From: Indan Zupancic @ 2007-08-02 13:18 UTC (permalink / raw)
  To: Rene Herman
  Cc: S�bastien Dugu�, teresa, Matthew Hawkins,
	Michal Piotrowski, Linux Kernel Mailing List, CK Mailinglist,
	Andi Kleen

On Thu, August 2, 2007 14:22, Rene Herman wrote:
> On 08/02/2007 09:11 AM, S�bastien Dugu� wrote:
>
>> This reminds me I had something similar happening about a year or so ago
>> running with Debian's unstable xorg and gnome.
>>
>> The keys would stick for a short time (no, no coffee spilled on the
>> keyboard, I can assure you ;-), the most annoying one being the delete
>> key. Nothing deterministic, it could happen anytime (or not at all for
>> several days).
>>
>> As a final resort, I upgraded the xorg and gnome packages - problem
>> solved.
>
> Thank you. That "about a year" sounds possible; slackware has been one of
> the last to switch to modular xorg and until recently I was still running
> the old 6.9 series, so it could be xorg...

Well, I'm running xorg since 2004, and hadn't the sticking key problem
until a few months ago, half a year max. I didn't install a new xorg
version just before the problem went away, and I'm using Fluxbox.

Oh well, the problem's gone now, no matter how or why.

Greetings,

Indan



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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:26                       ` Indan Zupancic
@ 2007-08-06  7:12                         ` Ingo Molnar
  2007-08-06 13:10                           ` Rene Herman
  0 siblings, 1 reply; 38+ messages in thread
From: Ingo Molnar @ 2007-08-06  7:12 UTC (permalink / raw)
  To: Indan Zupancic
  Cc: Rene Herman, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List, dmitry.torokhov, dtor


* Indan Zupancic <indan@nul.nu> wrote:

> All right, how would you debug it? Give us some insight in how to 
> solve hard to trigger, happens at most only a few times a day, 
> annoying input bug? I thought the mouse warping was fixed after 23-rc1 
> and that input locking patch, but alas, the third day it happened 
> again.

i've got no idea how to debug such input bugs best, but, as a starting 
point, i've Cc:-ed the current maintainer of the input subsystem :-)

	Ingo

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-06  7:12                         ` Ingo Molnar
@ 2007-08-06 13:10                           ` Rene Herman
  2007-08-06 15:19                             ` Indan Zupancic
  0 siblings, 1 reply; 38+ messages in thread
From: Rene Herman @ 2007-08-06 13:10 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Indan Zupancic, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List, dmitry.torokhov, dtor

On 08/06/2007 09:12 AM, Ingo Molnar wrote:

> * Indan Zupancic <indan@nul.nu> wrote:
> 
>> All right, how would you debug it? Give us some insight in how to 
>> solve hard to trigger, happens at most only a few times a day, 
>> annoying input bug? I thought the mouse warping was fixed after 23-rc1 
>> and that input locking patch, but alas, the third day it happened 
>> again.
> 
> i've got no idea how to debug such input bugs best, but, as a starting 
> point, i've Cc:-ed the current maintainer of the input subsystem :-)

FWIW, I haven't experienced my "stuck delete" key anymore -- "since using 
CFS v19.1", but that might very well just be coincedence. If anyone 
wants/needs me to, I'll try to debug it, but for now I seem to be fine again.

Now all I need to know is whether or not moving thunderbird's windows around 
is expected to leave such an enormous non-repainting visual trail on the 
screen...

I believe I'm concluding that I'm not all together fond of the "new" modular 
X.org.

Rene.


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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-06 13:10                           ` Rene Herman
@ 2007-08-06 15:19                             ` Indan Zupancic
  2007-08-06 17:46                               ` Rene Herman
  0 siblings, 1 reply; 38+ messages in thread
From: Indan Zupancic @ 2007-08-06 15:19 UTC (permalink / raw)
  To: Rene Herman
  Cc: Ingo Molnar, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List, dmitry.torokhov, dtor

On Mon, August 6, 2007 15:10, Rene Herman wrote:
> On 08/06/2007 09:12 AM, Ingo Molnar wrote:
>
>> * Indan Zupancic <indan@nul.nu> wrote:
>>
>>> All right, how would you debug it? Give us some insight in how to
>>> solve hard to trigger, happens at most only a few times a day,
>>> annoying input bug? I thought the mouse warping was fixed after 23-rc1
>>> and that input locking patch, but alas, the third day it happened
>>> again.
>>
>> i've got no idea how to debug such input bugs best, but, as a starting
>> point, i've Cc:-ed the current maintainer of the input subsystem :-)
>
> FWIW, I haven't experienced my "stuck delete" key anymore -- "since using
> CFS v19.1", but that might very well just be coincedence. If anyone
> wants/needs me to, I'll try to debug it, but for now I seem to be fine again.

No stuck keys and no warping mouse seen yet since last time (currently running
2.6.23-rc2), so both problems are, for all practical purposes, fixed.

> Now all I need to know is whether or not moving thunderbird's windows around
> is expected to leave such an enormous non-repainting visual trail on the
> screen...
>
> I believe I'm concluding that I'm not all together fond of the "new" modular
> X.org.

I don't think it's fair to blame Xorg for that, except if changing back to an older
version fixes it. If Thunderbird is anything comparable to Firefox, then it's most
likely the generic slowdown of that program that might have made it worse. If it's
Xorg then it's probably something driver/settings related I guess, best to ask on
their mailinglist for that.

Anyway, if you want to experience a shock, try enabling xcomposite and run
xcompmgr -a or something. It's so wonderfully smooth (even though some
rendering seems slower than before, it's really worth it for me).

Greetings,

Indan



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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-06 15:19                             ` Indan Zupancic
@ 2007-08-06 17:46                               ` Rene Herman
  2007-08-06 18:26                                 ` OT: enabling Xcomposite [was: Linux Kernel cfs scheduler and xorg kbd] Indan Zupancic
  0 siblings, 1 reply; 38+ messages in thread
From: Rene Herman @ 2007-08-06 17:46 UTC (permalink / raw)
  To: Indan Zupancic
  Cc: Ingo Molnar, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List, dmitry.torokhov, dtor

On 08/06/2007 05:19 PM, Indan Zupancic wrote:

[ Yes, OT, I'll shelve it after this ]

> Anyway, if you want to experience a shock, try enabling xcomposite and
> run xcompmgr -a or something. It's so wonderfully smooth (even though
> some rendering seems slower than before, it's really worth it for me).

Don't believe I can -- using a Matrox Millenium G550 (driver mga) and 
nothing I do seems to have an effect.

Rene.


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

* OT: enabling Xcomposite [was: Linux Kernel cfs scheduler and xorg  kbd]
  2007-08-06 17:46                               ` Rene Herman
@ 2007-08-06 18:26                                 ` Indan Zupancic
  0 siblings, 0 replies; 38+ messages in thread
From: Indan Zupancic @ 2007-08-06 18:26 UTC (permalink / raw)
  To: Rene Herman
  Cc: Ingo Molnar, teresa, Andi Kleen, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List, dmitry.torokhov, dtor

On Mon, August 6, 2007 19:46, Rene Herman wrote:
> On 08/06/2007 05:19 PM, Indan Zupancic wrote:
>
> [ Yes, OT, I'll shelve it after this ]

Me too, and I wonder if we should've dropped a bunch of CCs...

>
>> Anyway, if you want to experience a shock, try enabling xcomposite and
>> run xcompmgr -a or something. It's so wonderfully smooth (even though
>> some rendering seems slower than before, it's really worth it for me).
>
> Don't believe I can -- using a Matrox Millenium G550 (driver mga) and
> nothing I do seems to have an effect.

Well, as far as I know adding the following to your xorg.conf should be enough:

Section "Extensions"
        Option  "Composite"     "enable"
EndSection

and then to enable it at runtime start a composite manager.

Reading the mga manpage it seems you need to add

Option "AccelMethod" "EXA"

to the driver section. (Though it says EXA is possibly unstable.)

Run "xdpyinfo | grep Composite" to see if it works or not.

But as you said, getting off-topic, so if the above doesn't work sent a
private mail, or go to the xorg mailinglist.

Greetings,

Indan



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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-01 15:06                   ` Indan Zupancic
  2007-08-01 15:09                     ` Ingo Molnar
@ 2007-08-07  4:40                     ` Kyle Moffett
  2007-08-07  6:05                       ` Arjan van de Ven
  1 sibling, 1 reply; 38+ messages in thread
From: Kyle Moffett @ 2007-08-07  4:40 UTC (permalink / raw)
  To: Indan Zupancic
  Cc: Rene Herman, teresa, Andi Kleen, Ingo Molnar, Michal Piotrowski,
	CK Mailinglist, Linux Kernel Mailing List

On Aug 01, 2007, at 11:06:00, Indan Zupancic wrote:
> Different programs, different keys "stuck", so hard to tell. The  
> amount the pressed key is repeated differs too, from double to  
> hundreds.
>
> As an apparently separate problem my mouse warps once in a while  
> too, and that's not totally fixed yet, neither with that locking  
> patch. Throw in that two of my USB ports stopped working after a  
> rare power outage, I didn't totally trust my hardware any more,  
> hence my initial reluctance to report these problems.
>
> We could have independent problems with more or less the same  
> symptoms, at least Teresa's problem seems much worse than ours, and  
> if you and Ingo only experience a stuck delete key, it might be  
> something else.

Well I've just seen an FC box (6? 7?) running a 2.6.18-ish which  
reliably experiences the same problem (randomly stuck keys), so I  
doubt very much it's CFS.  Basically keys will somewhat randomly  
repeat 6-7 times, mainly depending on how fast you're typing (the  
intern using the box typed somewhat slowly and didn't trigger it  
much, but when I borrowed his keyboard I could reliably trigger it  
once every 5 sec or so.  Unfortunately I don't have access to that  
box anymore, so I can't really debug the problem.

Cheers,
Kyle Moffett


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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-07  4:40                     ` Linux Kernel cfs scheduler and xorg kbd Kyle Moffett
@ 2007-08-07  6:05                       ` Arjan van de Ven
  2007-08-07 10:17                         ` Indan Zupancic
  2007-08-07 13:15                         ` Rene Herman
  0 siblings, 2 replies; 38+ messages in thread
From: Arjan van de Ven @ 2007-08-07  6:05 UTC (permalink / raw)
  To: Kyle Moffett
  Cc: Indan Zupancic, Rene Herman, teresa, Andi Kleen, Ingo Molnar,
	Michal Piotrowski, CK Mailinglist, Linux Kernel Mailing List

On Tue, 2007-08-07 at 00:40 -0400, Kyle Moffett wrote:
> On Aug 01, 2007, at 11:06:00, Indan Zupancic wrote:
> > Different programs, different keys "stuck", so hard to tell. The  
> > amount the pressed key is repeated differs too, from double to  
> > hundreds.
> >
> > As an apparently separate problem my mouse warps once in a while  
> > too, and that's not totally fixed yet, neither with that locking  
> > patch. Throw in that two of my USB ports stopped working after a  
> > rare power outage, I didn't totally trust my hardware any more,  
> > hence my initial reluctance to report these problems.
> >
> > We could have independent problems with more or less the same  
> > symptoms, at least Teresa's problem seems much worse than ours, and  
> > if you and Ingo only experience a stuck delete key, it might be  
> > something else.


the last time I saw something like this it was a BIOS that kept doing
USB->PS/2 emulation even when the kernel was running.. that caused great
havoc somehow...

those who are seeing this... is it all on a USB keyboard? If so, is the
bios set to do PS/2 emulation (sometimes called USB legacy emulation) ??




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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-07  6:05                       ` Arjan van de Ven
@ 2007-08-07 10:17                         ` Indan Zupancic
  2007-08-07 13:15                         ` Rene Herman
  1 sibling, 0 replies; 38+ messages in thread
From: Indan Zupancic @ 2007-08-07 10:17 UTC (permalink / raw)
  To: Arjan van de Ven
  Cc: Kyle Moffett, Rene Herman, teresa, Andi Kleen, Ingo Molnar,
	Michal Piotrowski, CK Mailinglist, Linux Kernel Mailing List

On Tue, August 7, 2007 08:05, Arjan van de Ven wrote:
> On Tue, 2007-08-07 at 00:40 -0400, Kyle Moffett wrote:
>> On Aug 01, 2007, at 11:06:00, Indan Zupancic wrote:
>> > Different programs, different keys "stuck", so hard to tell. The
>> > amount the pressed key is repeated differs too, from double to
>> > hundreds.
>> >
>> > As an apparently separate problem my mouse warps once in a while
>> > too, and that's not totally fixed yet, neither with that locking
>> > patch. Throw in that two of my USB ports stopped working after a
>> > rare power outage, I didn't totally trust my hardware any more,
>> > hence my initial reluctance to report these problems.
>> >
>> > We could have independent problems with more or less the same
>> > symptoms, at least Teresa's problem seems much worse than ours, and
>> > if you and Ingo only experience a stuck delete key, it might be
>> > something else.
>
>
> the last time I saw something like this it was a BIOS that kept doing
> USB->PS/2 emulation even when the kernel was running.. that caused great
> havoc somehow...
>
> those who are seeing this... is it all on a USB keyboard? If so, is the
> bios set to do PS/2 emulation (sometimes called USB legacy emulation) ??

No, using PS/2 keyboard and mouse here, and made sure to disable USB
legacy emulation in the BIOS ages ago.

But for me the problems are gone now, since 2.6.23-rc1 (I don't think it was
fixed by CFS though, just in the same timeframe).

Greetings,

Indan



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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-07  6:05                       ` Arjan van de Ven
  2007-08-07 10:17                         ` Indan Zupancic
@ 2007-08-07 13:15                         ` Rene Herman
  2007-08-09 21:14                           ` Mark Lord
  1 sibling, 1 reply; 38+ messages in thread
From: Rene Herman @ 2007-08-07 13:15 UTC (permalink / raw)
  To: Arjan van de Ven
  Cc: Kyle Moffett, Indan Zupancic, teresa, Andi Kleen, Ingo Molnar,
	Michal Piotrowski, CK Mailinglist, Linux Kernel Mailing List

On 08/07/2007 08:05 AM, Arjan van de Ven wrote:

[ stuck keys ]

> the last time I saw something like this it was a BIOS that kept doing 
> USB->PS/2 emulation even when the kernel was running.. that caused great 
> havoc somehow...
> 
> those who are seeing this... is it all on a USB keyboard? If so, is the 
> bios set to do PS/2 emulation (sometimes called USB legacy emulation) ??

No, as far as reported into this thread, it's all been PS/2. We can leave 
this thread be though. It's nothing to do with CFS and is a non-debuggable 
problem sofar unfortunately. Although very present at the start of this 
thread, I haven't experienced my stuck delete key since. Teresa and Indan 
have the same problem (well, "non-problem" that is). If it's still lurking 
somewhere, we'll see it resurface at some point.

Rene.

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

* Re: Linux Kernel cfs scheduler and xorg kbd
  2007-08-07 13:15                         ` Rene Herman
@ 2007-08-09 21:14                           ` Mark Lord
  0 siblings, 0 replies; 38+ messages in thread
From: Mark Lord @ 2007-08-09 21:14 UTC (permalink / raw)
  To: Rene Herman
  Cc: Arjan van de Ven, Kyle Moffett, Indan Zupancic, teresa,
	Andi Kleen, Ingo Molnar, Michal Piotrowski, CK Mailinglist,
	Linux Kernel Mailing List

Rene Herman wrote:
> ..
> No, as far as reported into this thread, it's all been PS/2. We can 
> leave this thread be though. It's nothing to do with CFS and is a 
> non-debuggable problem sofar unfortunately. Although very present at the 
> start of this thread, I haven't experienced my stuck delete key since. 
> Teresa and Indan have the same problem (well, "non-problem" that is). If 
> it's still lurking somewhere, we'll see it resurface at some point.

My Dell X1 notebook has long suffered from this type of problem,
but disabling the "keyboard accessibility" features in KDE seems
to have greatly lessened the occurances.

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

end of thread, other threads:[~2007-08-09 21:14 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30 20:25 Linux Kernel cfs scheduler and xorg kbd <::.. Teresa_II ..::>
2007-07-30 22:49 ` Michal Piotrowski
2007-08-01  6:48   ` Ingo Molnar
2007-08-01 11:31     ` Andi Kleen
2007-08-01 11:01       ` Rene Herman
2007-08-01 12:34         ` Indan Zupancic
2007-08-01 12:50           ` Rene Herman
2007-08-01 13:07             ` Indan Zupancic
2007-08-01 13:26               ` Rene Herman
2007-08-01 13:33               ` <:::.. TeresaII ..:::>
2007-08-01 13:58                 ` Rene Herman
2007-08-01 14:44                   ` <::.. Teresa_II ..::>
2007-08-01 15:00                     ` [ck] " Matthew Hawkins
2007-08-01 15:53                       ` <::.. Teresa_II ..::>
2007-08-02  7:11                         ` Sébastien Dugué
2007-08-02 12:22                           ` Rene Herman
2007-08-02 13:18                             ` Indan Zupancic
2007-08-01 15:06                   ` Indan Zupancic
2007-08-01 15:09                     ` Ingo Molnar
2007-08-01 15:13                       ` Rene Herman
2007-08-01 15:20                         ` Ingo Molnar
2007-08-01 15:19                           ` Rene Herman
2007-08-01 15:26                       ` Indan Zupancic
2007-08-06  7:12                         ` Ingo Molnar
2007-08-06 13:10                           ` Rene Herman
2007-08-06 15:19                             ` Indan Zupancic
2007-08-06 17:46                               ` Rene Herman
2007-08-06 18:26                                 ` OT: enabling Xcomposite [was: Linux Kernel cfs scheduler and xorg kbd] Indan Zupancic
2007-08-07  4:40                     ` Linux Kernel cfs scheduler and xorg kbd Kyle Moffett
2007-08-07  6:05                       ` Arjan van de Ven
2007-08-07 10:17                         ` Indan Zupancic
2007-08-07 13:15                         ` Rene Herman
2007-08-09 21:14                           ` Mark Lord
2007-07-31 11:18 ` [ck] " <::.. Teresa_II ..::>
2007-07-31 11:42 ` <::.. Teresa_II ..::>
2007-07-31 14:27   ` Ingo Molnar
2007-07-31 16:39     ` <::.. Teresa_II ..::>
2007-07-31 15:06 ` Rene Herman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox