Bug 6645 - irq 11: nobody cared (i915)
Summary: irq 11: nobody cared (i915)
Status: RESOLVED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 03:26 UTC by Reiner Herrmann
Modified: 2006-06-16 10:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Reiner Herrmann 2006-04-19 03:26:53 UTC
The Kernel module 'i915' has a strange bug since version 1.4.0.
When X is starting after the boot, everything runs normally as always.
But when I switch to a tty, the problem appears: I get a strange message in the 
kernel log (dmesg) and IRQ 11 gets disabled:

irq 11: nobody cared (try booting with the "irqpoll" option)
 [<7813a464>] __report_bad_irq+0x24/0x90
 [<7813a56b>] note_interrupt+0x9b/0x210
 [<c804ce99>] usb_hcd_irq+0x39/0x70 [usbcore]
 [<78139f4d>] handle_IRQ_event+0x3d/0x70
 [<7813a034>] __do_IRQ+0xb4/0xc0
 [<78104cb9>] do_IRQ+0x19/0x30
 [<7810301e>] common_interrupt+0x1a/0x20
 [<781209de>] __do_softirq+0x2e/0xa0
 [<78104620>] do_general_protection+0x0/0x1c0
 [<78120a76>] do_softirq+0x26/0x30
 [<78104cbe>] do_IRQ+0x1e/0x30
 [<7810301e>] common_interrupt+0x1a/0x20
 [<78104620>] do_general_protection+0x0/0x1c0
 [<78103066>] error_code+0x3a/0x54
 [<78104620>] do_general_protection+0x0/0x1c0
 [<78102e51>] syscall_call+0x7/0xb
handlers:
[<c804ce60>] (usb_hcd_irq+0x0/0x70 [usbcore])
[<c804ce60>] (usb_hcd_irq+0x0/0x70 [usbcore])
[<c804ce60>] (usb_hcd_irq+0x0/0x70 [usbcore])
[<c804ce60>] (usb_hcd_irq+0x0/0x70 [usbcore])
Disabling IRQ #11

And here is my /proc/interrupts file:
           CPU0
  0:     613004          XT-PIC  timer
  1:       5824          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          4          XT-PIC  rtc
  9:       5910          XT-PIC  acpi
 10:      42118          XT-PIC  Intel 82801DB-ICH4, yenta, eth0
 11:     300000          XT-PIC  uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, 
ehci_hcd:usb4, i915@pci:0000:00:02.0
 12:     227076          XT-PIC  i8042
 14:      36038          XT-PIC  ide0
 15:      21784          XT-PIC  ide1
NMI:          0
ERR:          0

After that, all USB devices are no longer working.
This problem appears since Kernel 2.6.16-rc2 (i915 was updated to 1.4.0), older 
versions are working good.
If I use the i830 kernel module, there is also no problem.
Comment 1 Andrew Barr 2006-04-21 10:52:35 UTC
AAAGGHH! I'm glad I found this bug, this problem has been driving me crazy for a
couple of days now. This bug is preventing me from using the latest compiz+aiglx
code along with suspend-to-ram/disk. The original report says USB devices don't
work, but it's anything on IRQ 11: for me this includes the CardBus controller,
sound, and most annoyingly, both the wired and wireless network controllers
(e100 and ipw2200, respectively). My USB Wacom tablet works, but it's very
dodgy--the pointer moves in fits and starts, usually my first sure sign after
waking up from a suspend that this bug has bit again. I suspect that the XInput
wacom driver is accessing it from userspace somehow and that's why it works at
all, but I have no idea.
Comment 2 Dave Airlie 2006-04-21 11:19:07 UTC
Is this fixed by any change in the real 2.6.16? I added a fix to disable the
interrupts properly on irq uninstall which I think is what happens on vt switch..
Comment 3 Andrew Barr 2006-04-21 23:34:56 UTC
No, sorry. I tried suspending (which does a VT switch) on a vanilla 2.6.16:

Apr 21 09:22:56 r51 kernel: irq 11: nobody cared (try booting with the "irqpoll"
option)
Apr 21 09:22:56 r51 kernel:  [__report_bad_irq+43/105] __report_bad_irq+0x2b/0x69
Apr 21 09:22:56 r51 kernel:  [note_interrupt+452/499] note_interrupt+0x1c4/0x1f3
Apr 21 09:22:56 r51 kernel:  [handle_IRQ_event+32/76] handle_IRQ_event+0x20/0x4c
Apr 21 09:22:56 r51 kernel:  [__do_IRQ+141/205] __do_IRQ+0x8d/0xcd
Apr 21 09:22:56 r51 kernel:  [do_IRQ+25/36] do_IRQ+0x19/0x24
Apr 21 09:22:56 r51 kernel:  [common_interrupt+26/32] common_interrupt+0x1a/0x20
Apr 21 09:22:56 r51 kernel:  [__do_softirq+44/125] __do_softirq+0x2c/0x7d
Apr 21 09:22:56 r51 kernel:  [do_softirq+34/38] do_softirq+0x22/0x26
Apr 21 09:22:56 r51 kernel:  [irq_exit+41/52] irq_exit+0x29/0x34
Apr 21 09:22:56 r51 kernel:  [do_IRQ+30/36] do_IRQ+0x1e/0x24
Apr 21 09:22:57 r51 kernel:  [common_interrupt+26/32] common_interrupt+0x1a/0x20
Apr 21 09:22:57 r51 kernel:  [__copy_from_user_ll+217/226]
__copy_from_user_ll+0xd9/0xe2
Apr 21 09:22:57 r51 kernel:  [sys_vm86old+51/139] sys_vm86old+0x33/0x8b
Apr 21 09:22:57 r51 kernel:  [setup_apic_nmi_watchdog+86/534]
setup_apic_nmi_watchdog+0x56/0x216
Apr 21 09:22:57 r51 kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Apr 21 09:22:57 r51 kernel: handlers:
Apr 21 09:22:57 r51 kernel: [pg0+805436507/1070175232] (usb_hcd_irq+0x0/0x54
[usbcore])
Apr 21 09:22:57 r51 last message repeated 3 times
Apr 21 09:22:57 r51 kernel: [pg0+806346243/1070175232] (yenta_interrupt+0x0/0xb5
[yenta_socket])
Apr 21 09:22:57 r51 kernel: [pg0+807019385/1070175232]
(snd_intel8x0_interrupt+0x0/0x1c3 [snd_intel8x0m])
Apr 21 09:22:57 r51 kernel: [pg0+807580575/1070175232] (ipw_isr+0x0/0xbb [ipw2200])
Apr 21 09:22:57 r51 kernel: [pg0+806427244/1070175232]
(snd_intel8x0_interrupt+0x0/0x1d2 [snd_intel8x0])
Apr 21 09:22:57 r51 kernel: Disabling IRQ #11
Comment 4 Reiner Herrmann 2006-04-22 00:00:13 UTC
I just tried 2.6.17-rc2 where the same error happens.
Comment 5 Andrew Barr 2006-04-22 10:38:37 UTC
Hi! Great news: changing the line

Option "VBERestore" "true"

to

Option "VBERestore" "false"

in xorg.conf made the problem go away. I have succesfully chvt'd away and back a
few times without IRQ 11 blowing up on me. This is with stock i915.ko version
1.4.0 from kernel 2.6.16.

My i810 driver is version 1.6.0, this is newer than what is available in both
official Debian (I'm running unstable) and Ubuntu channels--it seems needed for
the latest AIGLX and Compiz eyecandy goodness. I mention this because I think in
some versions of the i810 driver the logic of the VBERestore option is inverted.
Comment 6 Dave Airlie 2006-04-22 14:17:42 UTC
yeah the bios code must confuse the interrupt handling somehow.. we'll just have
to wait for non-VBE modesetting etc... unless alanh can figure a way around it...
Comment 7 Alan Hourihane 2006-06-16 09:54:23 UTC
Using 

Option "VBERestore" "false"

is the same as not having the option at all - and that's the default.

So I'm not sure why you have the option as "true" in the first place as that
should only be used in rare circumstances of VT switching not restoring the console.
Comment 8 Alan Hourihane 2006-06-16 10:02:22 UTC
Closing as it's a known issue with VBERestore.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.