Bug 912
Summary: | Autorepeat storm on USB keyboard resulting in X/matroxfb intermingling on G400 system | ||
---|---|---|---|
Product: | Drivers | Reporter: | Nicolas Mailhot (Nicolas.Mailhot) |
Component: | Input Devices | Assignee: | Vojtech Pavlik (vojtech) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.5.75-bk1 (and probably a few versions before) to 2.6.0-test5 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Screenshot
Kernel config Same kernel boot dmesg without problems Same kernel interrupts (not with the bug - sorry) lspci lsusb sysfs dump XF86Config |
Description
Nicolas Mailhot
2003-07-12 01:19:46 UTC
Created attachment 507 [details]
Screenshot
Created attachment 508 [details]
Kernel config
Created attachment 509 [details]
Same kernel boot dmesg without problems
Created attachment 510 [details]
Same kernel interrupts (not with the bug - sorry)
Created attachment 511 [details]
lspci
Created attachment 512 [details]
lsusb
Created attachment 513 [details]
sysfs dump
Created attachment 514 [details]
XF86Config
I'm going to reject this for now, as there's no real certainty that this is a kernel bug. If you can run a serial console and catch a kernel oops, then please add it to this bug and re-open it. I'm fairly certain this *is* a kernel bug or a bug in userspace triggered by 2.4->2.5 changes. . Despite regularly testing 2.5 I still use 2.4 more often, and I've never had this with "stable" kernels, even with strange nptl-enabled rawhide ones. . I'll try to run only this kernel now to see if I can reproduce it and get a trace - yesterday I had a second one and this time logging out of X with the mouse restored the system. No ooops in messages, though. This really sounds like a XFree issue. Please leave this bug closed until you get proof that it's a kernel issue? An oops message would be the best proof. Bug cloned in XFree86 bugzilla as http://bugs.xfree86.org/show_bug.cgi?id=532 I'm reopening this bug since investigation with XFree people didn't gave anything so far and one of the symptoms is kaeyborad stuck (which a lot of other people have been plagued with too) Seems more input than usb related -> Vojtech Pavlik Well, I can confirm the root is an input bug. Switching the graphic card from a G400 to a Redeon 9200 cured console/X incestious relationship. However the other symptom (keyboard on autorepeat the dead, needs X restart to be cured) is still present on the setup. It seems the autorepeat storm was triggering something in matroxfb/mga, without it I don't think it would be that easy to hit. Seems the latest 2.6.1-mm have some magic that fixes this (or makes it a lot less frequent ? Still testing to see if it's really gone) Well, a lot of magic went into 2.6.1-mm and 2.6.2-pre. Anyway, if your USB keyboard dies (EMI causes the hub to disable it or similar), and a key is pressed at that time, the only chance to stop the autorepeat is to pull out the USB keyboard, plug it in again and press any key. Does that help? The only thing that helped was to close X with the mouse and have gdm reinitialize the ressources (and then not always). Lately <- helped a little, but that was not always the case. With recent mainline kernels it was getting so bad sometimes the autorepeat started when I was mousing only without any hand on the keyboard (seems input/usb was getting really confused). Anyway I'm using -mm only for now. If I don't have a single autorepeat after two weeks I'll close the bug. So, what's the current status? How's 2.6.2-rc? Didin't have a single problem occurence since switching to 2.6.1-mm : uname -a Linux rousalka.dyndns.org 2.6.2-rc1-mm3-rous2 #1 Sun Jan 25 15:31:13 CET 2004 i686 athlon i386 GNU/Linux So either it's fixed or it was made very unlikely by code changes. I will wait a week still before closing it - I've never been able to pinpoint exactly what caused the bug and there have been periods of relative lull before (never so long though) Do you wan me to finish my testing using mainline kernels ? At the time I switched to -mm they were clearly broken and mm wasn't, though maybe the related changes have been merged since. Yes, please try with 2.6.2-rc3. It should contain all the -mm fixes. I've started testing 2.6.2-rc3-bk1 now Still no problem - I'll mark this one fixed. I hope there will be no need or reopening it in the future. |