Good day, thank you for your mail. I was finally able to reproduce the issue. I am attaching a dmesg output of a correct boot (please note that there still are several unwanted IRQs), and a dmesg output of a reproduced error. Kind regards, Martin
On 10/12/2012 05:26 PM, Alan Stern wrote: > On Fri, 12 Oct 2012, Martin Vysny wrote: > >> usb issue: abrupt mouse movements, usb keyboard loosing key events >> >> After some boots, the USB mouse behaves strangely (abrupt mouse >> movements), also, USB keyboard tends to loose some keypresses. This >> behavior occurs randomly (I can't find out what's causing this) and >> lasts from the point when lightdm is displayed until the computer is >> rebooted. This issue never starts to manifest during computer runtime - >> either it is present right from the Ubuntu start, or it does not occur. >> The issue is never present in grub menu, in Windows, nor in BIOS menu. >> Sometimes, the bug manifests in multiple consecutive reboots. >> Running commands as described here: >> http://davidjb.com/blog/2012/06/restartreset-usb-in-ubuntu-12-04-without-rebooting >> fixes the issue (until the following computer boot - not necessarily the >> very next boot). There is an interesting warning in my dmesg about >> ignored IRQ 17 - perhaps it is somehow related? >> [ 40.224653] irq 17: nobody cared (try booting with the "irqpoll" option) >> [ 40.224668] [<c10c6d49>] __report_bad_irq+0x29/0xd0 >> [ 40.224678] [<c10c4e3f>] handle_irq_event_percpu+0x9f/0x1d0 >> [ 40.224680] [<c10c7970>] ? unmask_irq+0x30/0x30 >> [ 40.224688] [<c10c4fab>] handle_irq_event+0x3b/0x60 >> [ 40.224689] [<c10c7970>] ? unmask_irq+0x30/0x30 >> [ 40.224691] [<c10c79be>] handle_fasteoi_irq+0x4e/0xd0 >> [ 40.224692] <IRQ> [<c15cff12>] ? do_IRQ+0x42/0xc0 >> [ 40.224728] [<c142feb0>] usb_hcd_irq >> [ 40.224729] Disabling IRQ #17 > > Undoubtedly this is related. Here's a debugging patch to help get more > information. Let's what shows up in your system log with the patch > installed. > > Alan Stern > > > > Index: usb-3.6/drivers/usb/host/ehci-hcd.c > =================================================================== > --- usb-3.6.orig/drivers/usb/host/ehci-hcd.c > +++ usb-3.6/drivers/usb/host/ehci-hcd.c > @@ -727,6 +727,7 @@ static irqreturn_t ehci_irq (struct usb_ > /* Shared IRQ? */ > if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { > spin_unlock(&ehci->lock); > + ehci_info(ehci, "Unwanted IRQ: %x %x\n", status, masked_status); > return IRQ_NONE; > } > > ** Attachment added: "dmesg.ERROR" https://bugs.launchpad.net/bugs/1062114/+attachment/3401144/+files/dmesg.ERROR ** Attachment added: "dmesg.OK" https://bugs.launchpad.net/bugs/1062114/+attachment/3401145/+files/dmesg.OK -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1062114 Title: usb behaving strangely (e.g. abrupt mouse movements, usb keyboard loosing key events) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1062114/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs