Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-26 Thread Chris Holvenstot
Jiri - 

For what it is worth, and understand that it is hard to prove a
negitive, on slack moments over the weekend I repeatedly booted my
system into single user (console) mode using a kernel with
CONFIG_GROUP_SCHED set to yes.

To date I have NOT been able to recreate the repeating key issue outside
of X.

Chris


On Tue, 2008-02-26 at 16:05 +0100, Jiri Kosina wrote:
> On Tue, 26 Feb 2008, Lennart Sorensen wrote:
> 
> > Hmm, I have been seeing repeated keys a lot under X on my athlon 700, 
> > but mainly when I have firefox running (which is of course quite a load 
> > on the poor old thing).  This has been going on for probably the last 
> > year or so.  I thought it was just the machine getting weird, although 
> > whenever it wasn't running firefox or other memory/cpu heavy loads it 
> > seemed fine.
> 
> This could be caused by the fact that as far as I know, X are not using 
> kernel-autorepeat, but they are handling it themselves, right? So if their 
> sense of time (probably due to some change of kernel timekeeping) gets 
> wrong, the autorepeat in X might also get wrong.
> 
> It would be nice to know if when you hit the situation when autorepeat 
> goes strange in X, if it is still OK in console.
> 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-26 Thread Jiri Kosina
On Tue, 26 Feb 2008, Lennart Sorensen wrote:

> Hmm, I have been seeing repeated keys a lot under X on my athlon 700, 
> but mainly when I have firefox running (which is of course quite a load 
> on the poor old thing).  This has been going on for probably the last 
> year or so.  I thought it was just the machine getting weird, although 
> whenever it wasn't running firefox or other memory/cpu heavy loads it 
> seemed fine.

This could be caused by the fact that as far as I know, X are not using 
kernel-autorepeat, but they are handling it themselves, right? So if their 
sense of time (probably due to some change of kernel timekeeping) gets 
wrong, the autorepeat in X might also get wrong.

It would be nice to know if when you hit the situation when autorepeat 
goes strange in X, if it is still OK in console.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-26 Thread Lennart Sorensen
On Thu, Feb 21, 2008 at 03:45:00AM -0600, Chris Holvenstot wrote:
> Jiri - 
> 
> I am tempted to lie to you and say it was in both modes, or when running
> under X only, but to tell you the truth while I have not seen it while
> running in console mode, I have not spent enough time there to make a
> solid statement one way or the other.

Hmm, I have been seeing repeated keys a lot under X on my athlon 700,
but mainly when I have firefox running (which is of course quite a load
on the poor old thing).  This has been going on for probably the last
year or so.  I thought it was just the machine getting weird, although
whenever it wasn't running firefox or other memory/cpu heavy loads it
seemed fine.

The USB bus also keeps detecting and loosing a USB hub again and again,
so perhaps that is also a software problem and not actually the hardware
failing.

For example I continuously get this:

usb-storage: device found at 84
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1: USB disconnect, address 82
usb 1-1.1: USB disconnect, address 83
usb 1-1.1.1: USB disconnect, address 84
usb 2-2: USB disconnect, address 44
usb 2-2: new full speed USB device using uhci_hcd and address 45
usb 2-2: configuration #1 chosen from 1 choice
hub 2-2:1.0: USB hub found
usb 1-1: new full speed USB device using uhci_hcd and address 85
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
usb 1-1.1: new full speed USB device using uhci_hcd and address 86
usb 1-1.1: configuration #1 chosen from 1 choice
hub 1-1.1:1.0: USB hub found
usb 1-1.1.1: new full speed USB device using uhci_hcd and address 87
usb 1-1.1.1: configuration #1 chosen from 1 choice
scsi20 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 87
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1: USB disconnect, address 85
usb 1-1.1: USB disconnect, address 86
usb 1-1.1.1: USB disconnect, address 87
usb 1-1: new full speed USB device using uhci_hcd and address 88
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
usb 1-1.1: new full speed USB device using uhci_hcd and address 89
usb 1-1.1: configuration #1 chosen from 1 choice
hub 1-1.1:1.0: USB hub found
usb 1-1.1.1: new full speed USB device using uhci_hcd and address 90
usb 1-1.1.1: configuration #1 chosen from 1 choice
scsi21 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 90
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1: USB disconnect, address 88
usb 1-1.1: USB disconnect, address 89
usb 1-1.1.1: USB disconnect, address 90
usb 2-2: USB disconnect, address 45
usb 2-2: new full speed USB device using uhci_hcd and address 46
usb 2-2: configuration #1 chosen from 1 choice
hub 2-2:1.0: USB hub found

I have never checked if it stops doing that when firefox and such
isn't running and the keyboard isn't repeating characters.

I wonder if my keyboard problems started around 2.6.18 or earlier than
that or later.  I should try booting an older kernel again if I can make
it and see if it changes.

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-26 Thread Lennart Sorensen
On Thu, Feb 21, 2008 at 03:45:00AM -0600, Chris Holvenstot wrote:
 Jiri - 
 
 I am tempted to lie to you and say it was in both modes, or when running
 under X only, but to tell you the truth while I have not seen it while
 running in console mode, I have not spent enough time there to make a
 solid statement one way or the other.

Hmm, I have been seeing repeated keys a lot under X on my athlon 700,
but mainly when I have firefox running (which is of course quite a load
on the poor old thing).  This has been going on for probably the last
year or so.  I thought it was just the machine getting weird, although
whenever it wasn't running firefox or other memory/cpu heavy loads it
seemed fine.

The USB bus also keeps detecting and loosing a USB hub again and again,
so perhaps that is also a software problem and not actually the hardware
failing.

For example I continuously get this:

usb-storage: device found at 84
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1: USB disconnect, address 82
usb 1-1.1: USB disconnect, address 83
usb 1-1.1.1: USB disconnect, address 84
usb 2-2: USB disconnect, address 44
usb 2-2: new full speed USB device using uhci_hcd and address 45
usb 2-2: configuration #1 chosen from 1 choice
hub 2-2:1.0: USB hub found
usb 1-1: new full speed USB device using uhci_hcd and address 85
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
usb 1-1.1: new full speed USB device using uhci_hcd and address 86
usb 1-1.1: configuration #1 chosen from 1 choice
hub 1-1.1:1.0: USB hub found
usb 1-1.1.1: new full speed USB device using uhci_hcd and address 87
usb 1-1.1.1: configuration #1 chosen from 1 choice
scsi20 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 87
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1: USB disconnect, address 85
usb 1-1.1: USB disconnect, address 86
usb 1-1.1.1: USB disconnect, address 87
usb 1-1: new full speed USB device using uhci_hcd and address 88
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
usb 1-1.1: new full speed USB device using uhci_hcd and address 89
usb 1-1.1: configuration #1 chosen from 1 choice
hub 1-1.1:1.0: USB hub found
usb 1-1.1.1: new full speed USB device using uhci_hcd and address 90
usb 1-1.1.1: configuration #1 chosen from 1 choice
scsi21 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 90
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1: USB disconnect, address 88
usb 1-1.1: USB disconnect, address 89
usb 1-1.1.1: USB disconnect, address 90
usb 2-2: USB disconnect, address 45
usb 2-2: new full speed USB device using uhci_hcd and address 46
usb 2-2: configuration #1 chosen from 1 choice
hub 2-2:1.0: USB hub found

I have never checked if it stops doing that when firefox and such
isn't running and the keyboard isn't repeating characters.

I wonder if my keyboard problems started around 2.6.18 or earlier than
that or later.  I should try booting an older kernel again if I can make
it and see if it changes.

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-26 Thread Jiri Kosina
On Tue, 26 Feb 2008, Lennart Sorensen wrote:

 Hmm, I have been seeing repeated keys a lot under X on my athlon 700, 
 but mainly when I have firefox running (which is of course quite a load 
 on the poor old thing).  This has been going on for probably the last 
 year or so.  I thought it was just the machine getting weird, although 
 whenever it wasn't running firefox or other memory/cpu heavy loads it 
 seemed fine.

This could be caused by the fact that as far as I know, X are not using 
kernel-autorepeat, but they are handling it themselves, right? So if their 
sense of time (probably due to some change of kernel timekeeping) gets 
wrong, the autorepeat in X might also get wrong.

It would be nice to know if when you hit the situation when autorepeat 
goes strange in X, if it is still OK in console.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-26 Thread Chris Holvenstot
Jiri - 

For what it is worth, and understand that it is hard to prove a
negitive, on slack moments over the weekend I repeatedly booted my
system into single user (console) mode using a kernel with
CONFIG_GROUP_SCHED set to yes.

To date I have NOT been able to recreate the repeating key issue outside
of X.

Chris


On Tue, 2008-02-26 at 16:05 +0100, Jiri Kosina wrote:
 On Tue, 26 Feb 2008, Lennart Sorensen wrote:
 
  Hmm, I have been seeing repeated keys a lot under X on my athlon 700, 
  but mainly when I have firefox running (which is of course quite a load 
  on the poor old thing).  This has been going on for probably the last 
  year or so.  I thought it was just the machine getting weird, although 
  whenever it wasn't running firefox or other memory/cpu heavy loads it 
  seemed fine.
 
 This could be caused by the fact that as far as I know, X are not using 
 kernel-autorepeat, but they are handling it themselves, right? So if their 
 sense of time (probably due to some change of kernel timekeeping) gets 
 wrong, the autorepeat in X might also get wrong.
 
 It would be nice to know if when you hit the situation when autorepeat 
 goes strange in X, if it is still OK in console.
 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-21 Thread Chris Holvenstot
Jiri - 

I am tempted to lie to you and say it was in both modes, or when running
under X only, but to tell you the truth while I have not seen it while
running in console mode, I have not spent enough time there to make a
solid statement one way or the other.

Sorry

Chris





On Thu, 2008-02-21 at 10:37 +0100, Jiri Kosina wrote:
> On Sat, 16 Feb 2008, Chris Holvenstot wrote:
> 
> > This is just to confirm that I have been running all day on a kernel 
> > built with CONFIG_GROUP_SCHED turned 'off' and have not seen the problem 
> > with my keyboard (I never noticed a problem with the mouse as others 
> > have)
> 
> Chris,
> 
> does the keyboard malfunction with CONFIG_GROUP_SCHED only when you are 
> running in X, or does that happen also on console?
> 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-21 Thread Jiri Kosina
On Sat, 16 Feb 2008, Chris Holvenstot wrote:

> This is just to confirm that I have been running all day on a kernel 
> built with CONFIG_GROUP_SCHED turned 'off' and have not seen the problem 
> with my keyboard (I never noticed a problem with the mouse as others 
> have)

Chris,

does the keyboard malfunction with CONFIG_GROUP_SCHED only when you are 
running in X, or does that happen also on console?

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-21 Thread Jiri Kosina
On Sat, 16 Feb 2008, Chris Holvenstot wrote:

 This is just to confirm that I have been running all day on a kernel 
 built with CONFIG_GROUP_SCHED turned 'off' and have not seen the problem 
 with my keyboard (I never noticed a problem with the mouse as others 
 have)

Chris,

does the keyboard malfunction with CONFIG_GROUP_SCHED only when you are 
running in X, or does that happen also on console?

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-21 Thread Chris Holvenstot
Jiri - 

I am tempted to lie to you and say it was in both modes, or when running
under X only, but to tell you the truth while I have not seen it while
running in console mode, I have not spent enough time there to make a
solid statement one way or the other.

Sorry

Chris





On Thu, 2008-02-21 at 10:37 +0100, Jiri Kosina wrote:
 On Sat, 16 Feb 2008, Chris Holvenstot wrote:
 
  This is just to confirm that I have been running all day on a kernel 
  built with CONFIG_GROUP_SCHED turned 'off' and have not seen the problem 
  with my keyboard (I never noticed a problem with the mouse as others 
  have)
 
 Chris,
 
 does the keyboard malfunction with CONFIG_GROUP_SCHED only when you are 
 running in X, or does that happen also on console?
 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Chris Holvenstot
Jiri - 

This is just to confirm that I have been running all day on a kernel
built with CONFIG_GROUP_SCHED turned 'off' and have not seen the problem
with my keyboard (I never noticed a problem with the mouse as others
have)

At slack moments through the day I have taken the oppertunity to perform
7 boots and could not recreate the failure (see my previous note which
has some lame speculation that the conditions for the failure are seeded
at boot time)

If there is anything else you would like to have performed in an attempt
to further isolate this issue I will try my best to provide it.  This
includes going back to a 2.6.25-rc2 kernel with CONFIG_GROUP_SCHED
turned 'on' if you think that further confirmation of the problem is
required or would be useful. 

Once again, thank you for taking the lead on this issue.

Chris




On Sat, 2008-02-16 at 19:08 +0100, Jiri Kosina wrote:
> [ Peter and Ingo added to CC, as this is apparently another instance of 
>   CONFIG_GROUP_SCHED causing mouse/keyboard misbehavior ]
> 
> Thanks for testing, Chris.
> 
> On Sat, 16 Feb 2008, Chris Holvenstot wrote:
> 
> > Jiri - 
> > 
> > 
> > Sorry for the delay in getting this information back to you. I am now up
> > and running on 2.6.25-rc2 with CONFIG_GROUP_SCHED not set (and for the
> > record, I did NOT use the nohpet directive when booting)
> > 
> > 
> > A copy of the dot-config file from this build has been inserted below. 
> > 
> > 
> > So far everything is working nicely with CONFIG_GROUP_SCHED not set.
> > However I have one observation to make, and I am very likely missing
> > something here, is that over the past few days while I have been trying
> > to isolate a broke / not broke point with git bisect it would seem that
> > the conditions which lead to the repeating key failure are seeded at the
> > time of the boot.
> > 
> > 
> > By this I mean that given a specific kernel configuration I can boot it
> > 'x' number of times - out of all those boot cycles I may get one
> > instance of the failure. The rest of the time it works fine.
> > 
> > 
> > On those occasions when I do get the repeating key failure it would
> > appear that the failure lives for the lifespan of the boot. Twice now
> > when I have had the failure I have tried restarting X to see if it
> > clears, but so far I have not had any luck with that.
> > 
> > 
> > I have compared the dmesg output from a good boot to that of a boot
> > where I see the repeating key issue and except for the expected minor
> > differences in the timestamps nothing jumps out at me.
> > 
> > 
> > I built the kernel you requested with the '-j2' option to load up the
> > CPU - I thought that the suggestion made earlier by someone else about
> > this failure happening while the CPU was loaded had some merit - it was
> > one factor I did not take into consideration during my efforts and might
> > explain why I was getting inconsistent results. 
> > 
> > 
> > However, even though both cores were running along at nearly 100% during
> > this build, I did not see the problem. At this point I am about ready to
> > select a previously unused section of wall to bang my head against.
> > 
> > 
> > Thank you for your continued support - 
> > 
> > 
> > Chris
> > 


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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Mike Galbraith

On Sat, 2008-02-16 at 11:09 +0100, Gabriel C wrote:

> Turning CONFIG_GROUP_SCHED off on this box fixes the mouse and keyboard 
> problems. 
> ( and some other , eg: box doesn't feel 'slow' and 'laggy' anymore )

Yeah, looks like it is the same issue.  I'd suggest that folks who are
hitting this disable CONFIG_GROUP_SCHED, and flog other parts of Funky
Weasel's anatomy while it's being sorted.

-Mike

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Chris Holvenstot
Jiri - 

OK - I will confirm that I have been running with CONFIG_GROUP_SCHED
set.  I have turned it off via menuconfig (which also gets rid of a
couple of other options like CONFIG_USER_SCHED and
CONFIG_FAIR_GROUP_SCHED) and I am performing a kernel build from clean
sources.

Get back to you in a while

Chris



On Sat, 2008-02-16 at 12:03 +0100, Jiri Kosina wrote:
> On Fri, 15 Feb 2008, Chris Holvenstot wrote:
> 
> > A number of corrispondents on this list offered troubleshooting
> > suggestions, most of which centered arund the high performance timer.
> > If you too feel that the issue you are seeing might be releated to the
> > one I saw the following clips from the email I received might be of
> > interest to you.
> > >From Jiri Kosina:
> > It could be some timing problem. Does this happen also in console, or 
> > only when running X?
> 
> Chris,
> 
> could you please check whether you have CONFIG_GROUP_SCHED turned on, and 
> if so, try if turning it off fixes the problems?
> 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Jiri Kosina
On Fri, 15 Feb 2008, Chris Holvenstot wrote:

> A number of corrispondents on this list offered troubleshooting
> suggestions, most of which centered arund the high performance timer.
> If you too feel that the issue you are seeing might be releated to the
> one I saw the following clips from the email I received might be of
> interest to you.
> >From Jiri Kosina:
> It could be some timing problem. Does this happen also in console, or 
> only when running X?

Chris,

could you please check whether you have CONFIG_GROUP_SCHED turned on, and 
if so, try if turning it off fixes the problems?

-- 
Jiri Kosina
SUSE Labs

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Gabriel C
Mike Galbraith wrote:
> On Sat, 2008-02-16 at 02:23 +0100, Gabriel C wrote:
>> Pavel Machek wrote:
>>> Hi!
>> Hi ,
>>
 I'd not really done any real wor under 2.6.25 yet, but now while 
 running 
 a kernel compile with -j4 (single processor, dual core Pentium D), I see 
 this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
 presses repeated.
>>> I see this one, too... x60, too...
>>>
>> I have that problem on my Dell Precision WorkStation , as soon I stress the 
>> box
>> a bit keyboard is going mad.
> 
> Sounds like you may have CONFIG_GROUP_SCHED set?  

Yes it was set to y here.

> Bisection fingered
> 6b2d7700266b9402e12824e11e0099ae6a4a6a79 as the source here.

I can't confirm is that commit because I cannot revert it clean but 
I can confirm there is something wrong with CONFIG_GROUP_SCHED.

( maybe Peter or Ingo knows =) )

Turning CONFIG_GROUP_SCHED off on this box fixes the mouse and keyboard 
problems. 
( and some other , eg: box doesn't feel 'slow' and 'laggy' anymore )

> 
>   -Mike
> 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Gabriel C
Mike Galbraith wrote:
 On Sat, 2008-02-16 at 02:23 +0100, Gabriel C wrote:
 Pavel Machek wrote:
 Hi!
 Hi ,

 I'd not really done any real wor under 2.6.25 yet, but now while 
 running 
 a kernel compile with -j4 (single processor, dual core Pentium D), I see 
 this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
 presses repeated.
 I see this one, too... x60, too...

 I have that problem on my Dell Precision WorkStation , as soon I stress the 
 box
 a bit keyboard is going mad.
 
 Sounds like you may have CONFIG_GROUP_SCHED set?  

Yes it was set to y here.

 Bisection fingered
 6b2d7700266b9402e12824e11e0099ae6a4a6a79 as the source here.

I can't confirm is that commit because I cannot revert it clean but 
I can confirm there is something wrong with CONFIG_GROUP_SCHED.

( maybe Peter or Ingo knows =) )

Turning CONFIG_GROUP_SCHED off on this box fixes the mouse and keyboard 
problems. 
( and some other , eg: box doesn't feel 'slow' and 'laggy' anymore )

 
   -Mike
 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Jiri Kosina
On Fri, 15 Feb 2008, Chris Holvenstot wrote:

 A number of corrispondents on this list offered troubleshooting
 suggestions, most of which centered arund the high performance timer.
 If you too feel that the issue you are seeing might be releated to the
 one I saw the following clips from the email I received might be of
 interest to you.
 From Jiri Kosina:
 It could be some timing problem. Does this happen also in console, or 
 only when running X?

Chris,

could you please check whether you have CONFIG_GROUP_SCHED turned on, and 
if so, try if turning it off fixes the problems?

-- 
Jiri Kosina
SUSE Labs

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Chris Holvenstot
Jiri - 

OK - I will confirm that I have been running with CONFIG_GROUP_SCHED
set.  I have turned it off via menuconfig (which also gets rid of a
couple of other options like CONFIG_USER_SCHED and
CONFIG_FAIR_GROUP_SCHED) and I am performing a kernel build from clean
sources.

Get back to you in a while

Chris



On Sat, 2008-02-16 at 12:03 +0100, Jiri Kosina wrote:
 On Fri, 15 Feb 2008, Chris Holvenstot wrote:
 
  A number of corrispondents on this list offered troubleshooting
  suggestions, most of which centered arund the high performance timer.
  If you too feel that the issue you are seeing might be releated to the
  one I saw the following clips from the email I received might be of
  interest to you.
  From Jiri Kosina:
  It could be some timing problem. Does this happen also in console, or 
  only when running X?
 
 Chris,
 
 could you please check whether you have CONFIG_GROUP_SCHED turned on, and 
 if so, try if turning it off fixes the problems?
 

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Mike Galbraith

On Sat, 2008-02-16 at 11:09 +0100, Gabriel C wrote:

 Turning CONFIG_GROUP_SCHED off on this box fixes the mouse and keyboard 
 problems. 
 ( and some other , eg: box doesn't feel 'slow' and 'laggy' anymore )

Yeah, looks like it is the same issue.  I'd suggest that folks who are
hitting this disable CONFIG_GROUP_SCHED, and flog other parts of Funky
Weasel's anatomy while it's being sorted.

-Mike

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-16 Thread Chris Holvenstot
Jiri - 

This is just to confirm that I have been running all day on a kernel
built with CONFIG_GROUP_SCHED turned 'off' and have not seen the problem
with my keyboard (I never noticed a problem with the mouse as others
have)

At slack moments through the day I have taken the oppertunity to perform
7 boots and could not recreate the failure (see my previous note which
has some lame speculation that the conditions for the failure are seeded
at boot time)

If there is anything else you would like to have performed in an attempt
to further isolate this issue I will try my best to provide it.  This
includes going back to a 2.6.25-rc2 kernel with CONFIG_GROUP_SCHED
turned 'on' if you think that further confirmation of the problem is
required or would be useful. 

Once again, thank you for taking the lead on this issue.

Chris




On Sat, 2008-02-16 at 19:08 +0100, Jiri Kosina wrote:
 [ Peter and Ingo added to CC, as this is apparently another instance of 
   CONFIG_GROUP_SCHED causing mouse/keyboard misbehavior ]
 
 Thanks for testing, Chris.
 
 On Sat, 16 Feb 2008, Chris Holvenstot wrote:
 
  Jiri - 
  
  
  Sorry for the delay in getting this information back to you. I am now up
  and running on 2.6.25-rc2 with CONFIG_GROUP_SCHED not set (and for the
  record, I did NOT use the nohpet directive when booting)
  
  
  A copy of the dot-config file from this build has been inserted below. 
  
  
  So far everything is working nicely with CONFIG_GROUP_SCHED not set.
  However I have one observation to make, and I am very likely missing
  something here, is that over the past few days while I have been trying
  to isolate a broke / not broke point with git bisect it would seem that
  the conditions which lead to the repeating key failure are seeded at the
  time of the boot.
  
  
  By this I mean that given a specific kernel configuration I can boot it
  'x' number of times - out of all those boot cycles I may get one
  instance of the failure. The rest of the time it works fine.
  
  
  On those occasions when I do get the repeating key failure it would
  appear that the failure lives for the lifespan of the boot. Twice now
  when I have had the failure I have tried restarting X to see if it
  clears, but so far I have not had any luck with that.
  
  
  I have compared the dmesg output from a good boot to that of a boot
  where I see the repeating key issue and except for the expected minor
  differences in the timestamps nothing jumps out at me.
  
  
  I built the kernel you requested with the '-j2' option to load up the
  CPU - I thought that the suggestion made earlier by someone else about
  this failure happening while the CPU was loaded had some merit - it was
  one factor I did not take into consideration during my efforts and might
  explain why I was getting inconsistent results. 
  
  
  However, even though both cores were running along at nearly 100% during
  this build, I did not see the problem. At this point I am about ready to
  select a previously unused section of wall to bang my head against.
  
  
  Thank you for your continued support - 
  
  
  Chris
  


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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Mike Galbraith

On Sat, 2008-02-16 at 02:23 +0100, Gabriel C wrote:
> Pavel Machek wrote:
> > Hi!
> 
> Hi ,
> 
> >> I'd not really done any real wor under 2.6.25 yet, but now while 
> >> running 
> >> a kernel compile with -j4 (single processor, dual core Pentium D), I see 
> >> this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
> >> presses repeated.
> > 
> > I see this one, too... x60, too...
> > 
> 
> I have that problem on my Dell Precision WorkStation , as soon I stress the 
> box
> a bit keyboard is going mad.

Sounds like you may have CONFIG_GROUP_SCHED set?  Bisection fingered
6b2d7700266b9402e12824e11e0099ae6a4a6a79 as the source here.

-Mike

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Gabriel C
Pavel Machek wrote:
> Hi!

Hi ,

>> I'd not really done any real wor under 2.6.25 yet, but now while running 
>> a kernel compile with -j4 (single processor, dual core Pentium D), I see 
>> this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
>> presses repeated.
> 
> I see this one, too... x60, too...
> 

I have that problem on my Dell Precision WorkStation , as soon I stress the box
a bit keyboard is going mad.

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Chris Holvenstot
Frans & Pavel;

I too saw the random key repeats you are seeing with 2.6.25-rc1 -
however, I saw it (or something very much like the problem you are
reporting - I am not smart enough to determine if the root cause is the
same) with 2.6.25-git15

A number of corrispondents on this list offered troubleshooting
suggestions, most of which centered arund the high performance timer.
If you too feel that the issue you are seeing might be releated to the
one I saw the following clips from the email I received might be of
interest to you.


>From Jiri Kosina:

It could be some timing problem. Does this happen also in console, or 
only when running X?

Could you please try to

- boot with 'nohpet' kernel parameter
- taskset -p 0x0002  if this is a multi-CPU/core 
  machine and you are experiencing the problems only in X


>From Thomas Gleixner:

Can you please apply the following patch, boot w/o nohpet and provide
the dmesg output ?



diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 429d084..4e98241 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -375,8 +375,10 @@ int __init hpet_enable(void)
 {
unsigned long id;
 
-   if (!is_hpet_capable())
+   if (!is_hpet_capable()) {
+   printk(KERN_INFO "HPET not available\n");
return 0;
+   }
 
hpet_set_mapping();
 
@@ -392,6 +394,7 @@ int __init hpet_enable(void)
 * information and the number of channels
 */
id = hpet_readl(HPET_ID);
+   printk(KERN_INFO "HPET available. ID = %lx\n", id);
 
 #ifdef CONFIG_HPET_EMULATE_RTC
/*
@@ -412,6 +415,7 @@ int __init hpet_enable(void)
return 0;
 
 out_nohpet:
+   printk(KERN_INFO "HPET disabled\n");
hpet_clear_mapping();
boot_hpet_disable = 1;
return 0;


I have been trying to narrow it down using bisect (my first attempt at
using this utility) with mixed results - just when I think I understand
where the problem was introduced I hit a brick wall.

However, you comment on system loading may have turned the old light
bulb on - that is one area where I have not been consistant.

Chris


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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Pavel Machek
Hi!

> > In general 2.6.25 if looking quite good on my desktop, but there's one
> > important issue: the system no longer powers off after shutdown.
> > This works fine with 2.6.24.
> 
> I was wrong :-(
> 
> I'd not really done any real wor under 2.6.25 yet, but now while running 
> a kernel compile with -j4 (single processor, dual core Pentium D), I see 
> this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
> presses repeated.

I see this one, too... x60, too...

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Pavel Machek
Hi!

  In general 2.6.25 if looking quite good on my desktop, but there's one
  important issue: the system no longer powers off after shutdown.
  This works fine with 2.6.24.
 
 I was wrong :-(
 
 I'd not really done any real wor under 2.6.25 yet, but now while running 
 a kernel compile with -j4 (single processor, dual core Pentium D), I see 
 this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
 presses repeated.

I see this one, too... x60, too...

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Chris Holvenstot
Frans  Pavel;

I too saw the random key repeats you are seeing with 2.6.25-rc1 -
however, I saw it (or something very much like the problem you are
reporting - I am not smart enough to determine if the root cause is the
same) with 2.6.25-git15

A number of corrispondents on this list offered troubleshooting
suggestions, most of which centered arund the high performance timer.
If you too feel that the issue you are seeing might be releated to the
one I saw the following clips from the email I received might be of
interest to you.


From Jiri Kosina:

It could be some timing problem. Does this happen also in console, or 
only when running X?

Could you please try to

- boot with 'nohpet' kernel parameter
- taskset -p 0x0002 pid_of_Xserver if this is a multi-CPU/core 
  machine and you are experiencing the problems only in X


From Thomas Gleixner:

Can you please apply the following patch, boot w/o nohpet and provide
the dmesg output ?



diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 429d084..4e98241 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -375,8 +375,10 @@ int __init hpet_enable(void)
 {
unsigned long id;
 
-   if (!is_hpet_capable())
+   if (!is_hpet_capable()) {
+   printk(KERN_INFO HPET not available\n);
return 0;
+   }
 
hpet_set_mapping();
 
@@ -392,6 +394,7 @@ int __init hpet_enable(void)
 * information and the number of channels
 */
id = hpet_readl(HPET_ID);
+   printk(KERN_INFO HPET available. ID = %lx\n, id);
 
 #ifdef CONFIG_HPET_EMULATE_RTC
/*
@@ -412,6 +415,7 @@ int __init hpet_enable(void)
return 0;
 
 out_nohpet:
+   printk(KERN_INFO HPET disabled\n);
hpet_clear_mapping();
boot_hpet_disable = 1;
return 0;


I have been trying to narrow it down using bisect (my first attempt at
using this utility) with mixed results - just when I think I understand
where the problem was introduced I hit a brick wall.

However, you comment on system loading may have turned the old light
bulb on - that is one area where I have not been consistant.

Chris


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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Gabriel C
Pavel Machek wrote:
 Hi!

Hi ,

 I'd not really done any real wor under 2.6.25 yet, but now while running 
 a kernel compile with -j4 (single processor, dual core Pentium D), I see 
 this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
 presses repeated.
 
 I see this one, too... x60, too...
 

I have that problem on my Dell Precision WorkStation , as soon I stress the box
a bit keyboard is going mad.

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-15 Thread Mike Galbraith

On Sat, 2008-02-16 at 02:23 +0100, Gabriel C wrote:
 Pavel Machek wrote:
  Hi!
 
 Hi ,
 
  I'd not really done any real wor under 2.6.25 yet, but now while 
  running 
  a kernel compile with -j4 (single processor, dual core Pentium D), I see 
  this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
  presses repeated.
  
  I see this one, too... x60, too...
  
 
 I have that problem on my Dell Precision WorkStation , as soon I stress the 
 box
 a bit keyboard is going mad.

Sounds like you may have CONFIG_GROUP_SCHED set?  Bisection fingered
6b2d7700266b9402e12824e11e0099ae6a4a6a79 as the source here.

-Mike

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


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-13 Thread Frans Pop
On Monday 11 February 2008, Frans Pop wrote:
> In general 2.6.25 if looking quite good on my desktop, but there's one
> important issue: the system no longer powers off after shutdown.
> This works fine with 2.6.24.

I was wrong :-(

I'd not really done any real wor under 2.6.25 yet, but now while running 
a kernel compile with -j4 (single processor, dual core Pentium D), I see 
this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
presses repeated.

While I'm typing this, the load lowers a bit and immediately things become 
smoother and the key repeats seem to vanish.

(The key repeats in the subject and para above are real examples of this, 
not typo's.)

The keyboard repeat issue looks like what was reported in [1], but for me 
this is very definitely an new issue that did not appear with 2.6.24 or 
earlier.

Cheers,
FJP

[1] http://lkml.org/lkml/2008/2/6/100
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats

2008-02-13 Thread Frans Pop
On Monday 11 February 2008, Frans Pop wrote:
 In general 2.6.25 if looking quite good on my desktop, but there's one
 important issue: the system no longer powers off after shutdown.
 This works fine with 2.6.24.

I was wrong :-(

I'd not really done any real wor under 2.6.25 yet, but now while running 
a kernel compile with -j4 (single processor, dual core Pentium D), I see 
this behavior. The mouse cursor moves a bit jerky and I sometimes get key 
presses repeated.

While I'm typing this, the load lowers a bit and immediately things become 
smoother and the key repeats seem to vanish.

(The key repeats in the subject and para above are real examples of this, 
not typo's.)

The keyboard repeat issue looks like what was reported in [1], but for me 
this is very definitely an new issue that did not appear with 2.6.24 or 
earlier.

Cheers,
FJP

[1] http://lkml.org/lkml/2008/2/6/100
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/