public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21
       [not found] <bug-17802-10286@https.bugzilla.kernel.org/>
@ 2010-09-08 22:32 ` Andrew Morton
  2010-09-08 22:58   ` Dmitry Torokhov
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Morton @ 2010-09-08 22:32 UTC (permalink / raw)
  To: linux-acpi, x86, Dmitry Torokhov; +Cc: bugzilla-daemon, bugme-daemon, polhallen


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Sun, 5 Sep 2010 11:47:41 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=17802
> 
>            Summary: touchpad become crazy: disable irq 21
>            Product: Other
>            Version: 2.5
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: high
>           Priority: P1
>          Component: Other
>         AssignedTo: other_other@kernel-bugs.osdl.org
>         ReportedBy: polhallen@fuckaround.org

heh.

>         Regression: No
> 
> 
> Hi
> on macbook 4.1 (kernel 2.6.31.12) often the touchpad become crazy and irq 21 is
> disable, in syslog I see:
> 
> Sep  5 13:32:05 pollon kernel: [ 2215.099257] ide-atapi: hda:
> ide_check_ireason: wrong transfer direction!
> Sep  5 13:32:05 pollon kernel: [ 2215.150195] ide-atapi: hda:
> ide_check_ireason: wrong transfer direction!
> Sep  5 13:32:23 pollon kernel: [ 2233.081273] hda: request sense failure:
> status=0xd0 { Busy }
> Sep  5 13:32:23 pollon kernel: [ 2233.081285] hda: possibly failed opcode: 0xa0
> Sep  5 13:32:37 pollon kernel: [ 2247.317239] irq 21: nobody cared (try booting
> with the "irqpoll" option)
> Sep  5 13:32:37 pollon kernel: [ 2247.317244] Pid: 0, comm: swapper Tainted: P 
>          2.6.31.12-pollon #2
> Sep  5 13:32:37 pollon kernel: [ 2247.317246] Call Trace:
> Sep  5 13:32:37 pollon kernel: [ 2247.317253]  [<c0169b7f>] ?
> __report_bad_irq+0x24/0x69
> Sep  5 13:32:37 pollon kernel: [ 2247.317256]  [<c0169b86>] ?
> __report_bad_irq+0x2b/0x69
> Sep  5 13:32:37 pollon kernel: [ 2247.317259]  [<c0169cb1>] ?
> note_interrupt+0xed/0x13c
> Sep  5 13:32:37 pollon kernel: [ 2247.317262]  [<c016a196>] ?
> handle_fasteoi_irq+0x7a/0x97
> Sep  5 13:32:37 pollon kernel: [ 2247.317265]  [<c01098d4>] ?
> handle_irq+0x17/0x1b
> Sep  5 13:32:37 pollon kernel: [ 2247.317268]  [<c0109110>] ? do_IRQ+0x38/0x89
> Sep  5 13:32:37 pollon kernel: [ 2247.317270]  [<c0107c69>] ?
> common_interrupt+0x29/0x30
> Sep  5 13:32:37 pollon kernel: [ 2247.317289]  [<f845623a>] ?
> acpi_idle_enter_simple+0xf7/0x129 [processor]
> Sep  5 13:32:37 pollon kernel: [ 2247.317293]  [<c02f79d6>] ?
> cpuidle_idle_call+0x64/0x96
> Sep  5 13:32:37 pollon kernel: [ 2247.317297]  [<c01068a3>] ?
> cpu_idle+0x46/0x5f
> Sep  5 13:32:37 pollon kernel: [ 2247.317298] handlers:
> Sep  5 13:32:37 pollon kernel: [ 2247.317300] [<f809c147>]
> (usb_hcd_irq+0x0/0x66 [usbcore])
> Sep  5 13:32:37 pollon kernel: [ 2247.317323] [<f80dbbbe>] (ide_intr+0x0/0x1b9
> [ide_core])
> Sep  5 13:32:37 pollon kernel: [ 2247.317343] [<f80dbbbe>] (ide_intr+0x0/0x1b9
> [ide_core])
> Sep  5 13:32:37 pollon kernel: [ 2247.317361] [<f809c147>]
> (usb_hcd_irq+0x0/0x66 [usbcore])
> Sep  5 13:32:37 pollon kernel: [ 2247.317382] Disabling IRQ #21
> 
> also suspend stops and I can only reboot the system.
> 
> If I add irqpoll there is not this problem but suspend doesn't run.
> 

Not heh.  Ugly.

Could be ACPI, could be x86, could be something else.

Guys, could you please take a look, suggest how we should tackle this?

Thanks.


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

* Re: [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21
  2010-09-08 22:32 ` [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21 Andrew Morton
@ 2010-09-08 22:58   ` Dmitry Torokhov
  2010-09-09  0:16   ` Zhang Rui
  2010-11-26 20:15   ` Len Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2010-09-08 22:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-acpi, x86, bugzilla-daemon, bugme-daemon, polhallen

On Wed, Sep 08, 2010 at 03:32:01PM -0700, Andrew Morton wrote:
> 
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Sun, 5 Sep 2010 11:47:41 GMT
> bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> > https://bugzilla.kernel.org/show_bug.cgi?id=17802
> > 
> >            Summary: touchpad become crazy: disable irq 21
> >            Product: Other
> >            Version: 2.5
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: high
> >           Priority: P1
> >          Component: Other
> >         AssignedTo: other_other@kernel-bugs.osdl.org
> >         ReportedBy: polhallen@fuckaround.org
> 
> heh.
> 
> >         Regression: No
> > 
> > 
> > Hi
> > on macbook 4.1 (kernel 2.6.31.12) often the touchpad become crazy and irq 21 is
> > disable, in syslog I see:

Hmm, by touchpad being crazy you mean the pointer jumps around in X? Does
the touchpad driver use IRQ 21?

-- 
Dmitry

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

* Re: [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21
  2010-09-08 22:32 ` [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21 Andrew Morton
  2010-09-08 22:58   ` Dmitry Torokhov
@ 2010-09-09  0:16   ` Zhang Rui
  2010-11-26 20:15   ` Len Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Zhang Rui @ 2010-09-09  0:16 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-acpi@vger.kernel.org, x86@kernel.org, Dmitry Torokhov,
	bugzilla-daemon@bugzilla.kernel.org,
	bugme-daemon@bugzilla.kernel.org, polhallen@fuckaround.org

On Thu, 2010-09-09 at 06:32 +0800, Andrew Morton wrote:
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Sun, 5 Sep 2010 11:47:41 GMT
> bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> > https://bugzilla.kernel.org/show_bug.cgi?id=17802
> > 
> >            Summary: touchpad become crazy: disable irq 21
> >            Product: Other
> >            Version: 2.5
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: high
> >           Priority: P1
> >          Component: Other
> >         AssignedTo: other_other@kernel-bugs.osdl.org
> >         ReportedBy: polhallen@fuckaround.org
> 
> heh.
> 
> >         Regression: No
> > 
> > 
> > Hi
> > on macbook 4.1 (kernel 2.6.31.12) often the touchpad become crazy and irq 21 is
> > disable, in syslog I see:
> > 
> > Sep  5 13:32:05 pollon kernel: [ 2215.099257] ide-atapi: hda:
> > ide_check_ireason: wrong transfer direction!
> > Sep  5 13:32:05 pollon kernel: [ 2215.150195] ide-atapi: hda:
> > ide_check_ireason: wrong transfer direction!
> > Sep  5 13:32:23 pollon kernel: [ 2233.081273] hda: request sense failure:
> > status=0xd0 { Busy }
> > Sep  5 13:32:23 pollon kernel: [ 2233.081285] hda: possibly failed opcode: 0xa0
> > Sep  5 13:32:37 pollon kernel: [ 2247.317239] irq 21: nobody cared (try booting
> > with the "irqpoll" option)
> > Sep  5 13:32:37 pollon kernel: [ 2247.317244] Pid: 0, comm: swapper Tainted: P 
> >          2.6.31.12-pollon #2
> > Sep  5 13:32:37 pollon kernel: [ 2247.317246] Call Trace:
> > Sep  5 13:32:37 pollon kernel: [ 2247.317253]  [<c0169b7f>] ?
> > __report_bad_irq+0x24/0x69
> > Sep  5 13:32:37 pollon kernel: [ 2247.317256]  [<c0169b86>] ?
> > __report_bad_irq+0x2b/0x69
> > Sep  5 13:32:37 pollon kernel: [ 2247.317259]  [<c0169cb1>] ?
> > note_interrupt+0xed/0x13c
> > Sep  5 13:32:37 pollon kernel: [ 2247.317262]  [<c016a196>] ?
> > handle_fasteoi_irq+0x7a/0x97
> > Sep  5 13:32:37 pollon kernel: [ 2247.317265]  [<c01098d4>] ?
> > handle_irq+0x17/0x1b
> > Sep  5 13:32:37 pollon kernel: [ 2247.317268]  [<c0109110>] ? do_IRQ+0x38/0x89
> > Sep  5 13:32:37 pollon kernel: [ 2247.317270]  [<c0107c69>] ?
> > common_interrupt+0x29/0x30
> > Sep  5 13:32:37 pollon kernel: [ 2247.317289]  [<f845623a>] ?
> > acpi_idle_enter_simple+0xf7/0x129 [processor]
> > Sep  5 13:32:37 pollon kernel: [ 2247.317293]  [<c02f79d6>] ?
> > cpuidle_idle_call+0x64/0x96
> > Sep  5 13:32:37 pollon kernel: [ 2247.317297]  [<c01068a3>] ?
> > cpu_idle+0x46/0x5f
> > Sep  5 13:32:37 pollon kernel: [ 2247.317298] handlers:
> > Sep  5 13:32:37 pollon kernel: [ 2247.317300] [<f809c147>]
> > (usb_hcd_irq+0x0/0x66 [usbcore])
> > Sep  5 13:32:37 pollon kernel: [ 2247.317323] [<f80dbbbe>] (ide_intr+0x0/0x1b9
> > [ide_core])
> > Sep  5 13:32:37 pollon kernel: [ 2247.317343] [<f80dbbbe>] (ide_intr+0x0/0x1b9
> > [ide_core])
> > Sep  5 13:32:37 pollon kernel: [ 2247.317361] [<f809c147>]
> > (usb_hcd_irq+0x0/0x66 [usbcore])
> > Sep  5 13:32:37 pollon kernel: [ 2247.317382] Disabling IRQ #21
> > 
> > also suspend stops and I can only reboot the system.
> > 
> > If I add irqpoll there is not this problem but suspend doesn't run.
> > 
please attach the content of /proc/interrupts.
please attach the acpidump as well.

thanks,
rui


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

* Re: [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21
  2010-09-08 22:32 ` [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21 Andrew Morton
  2010-09-08 22:58   ` Dmitry Torokhov
  2010-09-09  0:16   ` Zhang Rui
@ 2010-11-26 20:15   ` Len Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2010-11-26 20:15 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-acpi, x86, Dmitry Torokhov, bugzilla-daemon, bugme-daemon,
	polhallen


            CPU0       CPU1       
   0:     287671     109637   IO-APIC-edge      timer
   8:          0          1   IO-APIC-edge      rtc0
   9:        483        479   IO-APIC-fasteoi   acpi
  16:      36491      15935   IO-APIC-fasteoi   uhci_hcd:usb4, 
uhci_hcd:usb5, ndiswrapper
  18:      23811      10147   IO-APIC-fasteoi   uhci_hcd:usb6, ata_piix
  19:          1          3   IO-APIC-fasteoi   ohci1394
  20:        869        298   IO-APIC-fasteoi   ehci_hcd:usb2, 
uhci_hcd:usb3, HDA Intel
  21:      97807      68959   IO-APIC-fasteoi   ide0, ide1, ehci_hcd:usb1, 
uhci_hcd:usb7
  27:          1          0   PCI-MSI-edge      eth0
  28:      18118      22763   PCI-MSI-edge      i915@pci:0000:00:02.0


The DSDT shows that there are no programmable IRQs
in IOAPIC mode on this machine, so it is unlikely that
there is an ACPI interrupt routing issue.

It is more likely that the problem is in one of the devices (above)
using IRQ21.  I assume that the touchpad is uhci_hcd:usb7?

What does "lsusb" show on this machine?

Of course I'd recommend trying to reproduce the issue
after excluding "ndiswrapper" from the configuration.

cheers,
Len Brown, Intel Open Source Technology Center


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

end of thread, other threads:[~2010-11-26 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-17802-10286@https.bugzilla.kernel.org/>
2010-09-08 22:32 ` [Bugme-new] [Bug 17802] New: touchpad become crazy: disable irq 21 Andrew Morton
2010-09-08 22:58   ` Dmitry Torokhov
2010-09-09  0:16   ` Zhang Rui
2010-11-26 20:15   ` Len Brown

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