Re: USB-related instability on 2.6.23-rc1



On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote:
I've observed instability on my Macbook c2d with the Linus' latest
tree. Symptom is that USB devices start behaving badly and the kernel
seems to be registering incorrect HID events; (ie. moving the mouse
causes odd keyboard events). If I continue to attempt to use the
mouse, it results in a system freeze (and I don't see any kind of
backtrace in /var/log/kern.log). To reproduce the problem, I just
need to be using the keyboard/mouse. If I leave the system idle, the
problem does not seem to occur. If I actively use the keyboard/mouse,
the problem can occur at any time; usually within 5-10 minutes.

In my particular case, I've got both a USB key/mouse pair on the
laptop and an external key/mouse pair plugged in via a hub.
Typically, it's the external mouse that exhibits badness first.

USB HID devices are definitely affected. I have not tested USB block
devices. Isochronous transfers to a USB headset appear to be
unaffected, but that's under minimal testing.

I've bisected down to commit 196705c9bbc03540429b0f7cf9ee35c2f928a534,
"USB: EHCI cpufreq fix"

Reverting the patch at the head of the tree makes the kernel stable again.

I've attached my kernel config file and a dmesg output

Can you enable CONFIG_USB_DEBUG and send the linux-usb-devel list and
us, the output when you have these problems?

thanks,

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



Relevant Pages

  • PROBLEM: Oops when using emi62 with 2.6.28
    ... With kernel 2.6.28 (and I don't really know which version of the kernel ... emi62 soundcard usb firmware oops ... 2000-2fff: PCI Bus 0000:02 ... # Infrared-port device drivers ...
    (Linux-Kernel)
  • problem with linux-2.6.28
    ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at cc000000 ... 3243604k/3276480k available (3222k kernel code, 31608k reserved, 1142k data, 312k init, 23 ... USB 2.0 'Enhanced' Host Controller Driver ...
    (Linux-Kernel)
  • Ive just installed SuSE 8.2 and its not recognising my Alcatel
    ... SpeedTouch USB Modem. ... Do I need to patch the kernel or pppd? ...
    (alt.os.linux.suse)
  • Re: my kernel sometimes did a crash, but no panic
    ... 00:09.0 USB Controller: VIA Technologies, ... Aug 8 23:56:56 o kernel: Symbols match kernel version 2.6.11. ... Aug 8 23:57:00 o kernel: Using ACPI for SMP configuration ...
    (Linux-Kernel)
  • tracking down kernel-panic cause?
    ... USB 2 card and an internal drive. ... aforementioned kernel panic. ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, ... PCI: Using IRQ router SIS at 00:02.0 ...
    (Debian-User)