Skip to contentSkip to conversation

2.6.19-rc5 x86_64 irq 22: nobody cared

DISCUSSION Olivier Nicolas 7 participants 9 messages Nov 8, 2006 – Nov 9, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

2.6.19-rc5 does not boot properly, I have tried pci=routeirq, irpoll without success.

Full details (.config, dmesg, /proc/interrupts) are in http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz

Olivier

System: ASUS M2N32-SLI, AMD64 X2 Dual Core 4600

kernel 2.6.9-rc5

irq 22: nobody cared (try booting with the "irqpoll" option)

Call Trace:
 <IRQ>  [<ffffffff80259055>] __report_bad_irq+0x35/0x90
 [<ffffffff802592d3>] note_interrupt+0x223/0x280
 [<ffffffff80259d41>] handle_fasteoi_irq+0xb1/0xf0
 [<ffffffff8020b17c>] call_softirq+0x1c/0x30
 [<ffffffff8020d1ba>] do_IRQ+0x8a/0xe0
 [<ffffffff8020a571>] ret_from_intr+0x0/0xa
 <EOI>

handlers:
[<ffffffff8807f150>] (nv_generic_interrupt+0x0/0xc0 [sata_nv]) Disabling IRQ #22

CPU0 CPU1

  0:        223      45540   IO-APIC-edge      timer
  1:          1        402   IO-APIC-edge      i8042
  6:          1          4   IO-APIC-edge      floppy
  8:          0          0   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0        103   IO-APIC-edge      i8042
 14:          7        140   IO-APIC-edge      ide0
 16:          0          0   IO-APIC-fasteoi   libata
 17:          0         10   IO-APIC-fasteoi   bttv0
 20:          0         20   IO-APIC-fasteoi   ehci_hcd:usb1
 21:          0          0   IO-APIC-fasteoi   libata
 22:        214      99786   IO-APIC-fasteoi   libata, HDA Intel
 23:         76       6230   IO-APIC-fasteoi   libata, ohci_hcd:usb2
308:          5       3169   PCI-MSI-edge      eth1
309:          0         10   PCI-MSI-edge      eth1
310:          0         44   PCI-MSI-edge      eth1
311:          1       3193   PCI-MSI-edge      eth0
312:          0          0   PCI-MSI-edge      eth0
313:          0          1   PCI-MSI-edge      eth0
NMI:         64         68
LOC:      45716      45691
ERR:          0

kernel 2.6.19-rc5 with pci=routeirq

irq 21: nobody cared (try booting with the "irqpoll" option)

Call Trace:
 <IRQ>  [<ffffffff80259055>] __report_bad_irq+0x35/0x90
 [<ffffffff802592d3>] note_interrupt+0x223/0x280
 [<ffffffff80259d41>] handle_fasteoi_irq+0xb1/0xf0
 [<ffffffff8020b17c>] call_softirq+0x1c/0x30
 [<ffffffff8020d1ba>] do_IRQ+0x8a/0xe0
 [<ffffffff802092f0>] default_idle+0x0/0x50
 [<ffffffff8020a571>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff80209319>] default_idle+0x29/0x50
 [<ffffffff8020939b>] cpu_idle+0x5b/0x80
 [<ffffffff8050039c>] start_secondary+0x50c/0x520

handlers:
[<ffffffff880e6fd0>] (usb_hcd_irq+0x0/0x60 [usbcore]) Disabling IRQ #21

CPU0 CPU1

  0:        214      24856   IO-APIC-edge      timer
  1:          0        359   IO-APIC-edge      i8042
  6:          0          5   IO-APIC-edge      floppy
  8:          0          0   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0        103   IO-APIC-edge      i8042
 14:          0        128   IO-APIC-edge      ide0
 16:          0          0   IO-APIC-fasteoi   libata
 17:          1          2   IO-APIC-fasteoi   bttv0
 20:         22       6469   IO-APIC-fasteoi   libata
 21:         11      99989   IO-APIC-fasteoi   ehci_hcd:usb2, HDA Intel
 22:          0          1   IO-APIC-fasteoi   libata, ohci_hcd:usb1
 23:          0          0   IO-APIC-fasteoi   libata
308:          8       2378   PCI-MSI-edge      eth1
309:          0          9   PCI-MSI-edge      eth1
310:          0          9   PCI-MSI-edge      eth1
311:          4       2401   PCI-MSI-edge      eth0
312:          0          0   PCI-MSI-edge      eth0
313:          0          1   PCI-MSI-edge      eth0
NMI:         74         47
LOC:      25024      24991
ERR:          0

kernel 2.6.19-rc5 with irqpoll

Hang during boot
(See screenshot in http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz)

kernel 2.6.18 (works without any problem)

CPU0 CPU1

  0:       1590     998089    IO-APIC-edge  timer
  1:          2        657    IO-APIC-edge  i8042
  6:          0          5    IO-APIC-edge  floppy
  8:          0          0    IO-APIC-edge  rtc
  9:          0          0   IO-APIC-level  acpi
 12:        194      59353    IO-APIC-edge  i8042
 14:         13       6381    IO-APIC-edge  ide0
 50:          0          0   IO-APIC-level  libata
 58:          0          0   IO-APIC-level  libata
 66:        109     181425   IO-APIC-level  libata, nvidia
 74:         41        963   IO-APIC-level  ehci_hcd:usb1, HDA Intel
 82:          4          6   IO-APIC-level  bttv0
 90:          0          0       PCI-MSI-X  eth0
 98:          3          0       PCI-MSI-X  eth0
106:     212234          0       PCI-MSI-X  eth0
114:        532          0       PCI-MSI-X  eth1
122:        445          0       PCI-MSI-X  eth1
130:     212217          0       PCI-MSI-X  eth1
233:         73      23009   IO-APIC-level  libata, ohci_hcd:usb2
NMI:         99        104
LOC:     999684     999664
ERR:          0
MIS:          0
#1 lore raw
Quoted 1 line · Olivier Nicolas

Hi,

Hi Olivier,

Quoted 5 lines

2.6.19-rc5 does not boot properly, I have tried pci=routeirq, irpoll without success.

Full details (.config, dmesg, /proc/interrupts) are in
http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz

thanks for your report!

I might be wrong, but looking at the dmesg:
- irq 22 is the hda_intel IRQ
- the "irq 22: nobody cared" is immediately before the "hda_intel: No response from codec, disabling MSI..."
- in the routeirq case, the hda_intel IRQ as well as the IRQ in the error message change to 21

So it might be related to the hda_intel MSI check.

If this was a wrong guess, other interesting messages in the dmesg are:

<-- snip -->

...
PCI: Using MMCONFIG at f0000000
PCI: No mmconfig possible on device 00:18
...
PCI: Setting latency timer of device 0000:00:03.0 to 64 pcie_portdrv_probe->Dev[02fd:10de] has invalid IRQ. Check vendor BIOS assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:03.0:pcie00]
Allocate Port Service[0000:00:03.0:pcie03]
PCI: Setting latency timer of device 0000:00:04.0 to 64 pcie_portdrv_probe->Dev[02fb:10de] has invalid IRQ. Check vendor BIOS assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:04.0:pcie00]
Allocate Port Service[0000:00:04.0:pcie03]
PCI: Setting latency timer of device 0000:00:12.0 to 64 pcie_portdrv_probe->Dev[0376:10de] has invalid IRQ. Check vendor BIOS assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:12.0:pcie00]
Allocate Port Service[0000:00:12.0:pcie03]
PCI: Setting latency timer of device 0000:00:14.0 to 64 pcie_portdrv_probe->Dev[0374:10de] has invalid IRQ. Check vendor BIOS assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:14.0:pcie00]
Allocate Port Service[0000:00:14.0:pcie03]
PCI: Setting latency timer of device 0000:00:16.0 to 64 pcie_portdrv_probe->Dev[0375:10de] has invalid IRQ. Check vendor BIOS assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:16.0:pcie00]
Allocate Port Service[0000:00:16.0:pcie03]
PCI: Setting latency timer of device 0000:00:17.0 to 64 pcie_portdrv_probe->Dev[0377:10de] has invalid IRQ. Check vendor BIOS assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:17.0:pcie00]
Allocate Port Service[0000:00:17.0:pcie03]
...

<-- snip -->

Quoted 127 lines

Olivier

System: ASUS M2N32-SLI, AMD64 X2 Dual Core 4600

kernel 2.6.9-rc5

irq 22: nobody cared (try booting with the "irqpoll" option)

Call Trace:
 <IRQ>  [<ffffffff80259055>] __report_bad_irq+0x35/0x90
 [<ffffffff802592d3>] note_interrupt+0x223/0x280
 [<ffffffff80259d41>] handle_fasteoi_irq+0xb1/0xf0
 [<ffffffff8020b17c>] call_softirq+0x1c/0x30
 [<ffffffff8020d1ba>] do_IRQ+0x8a/0xe0
 [<ffffffff8020a571>] ret_from_intr+0x0/0xa
 <EOI>

handlers:
[<ffffffff8807f150>] (nv_generic_interrupt+0x0/0xc0 [sata_nv]) Disabling IRQ #22

CPU0 CPU1

  0:        223      45540   IO-APIC-edge      timer
  1:          1        402   IO-APIC-edge      i8042
  6:          1          4   IO-APIC-edge      floppy
  8:          0          0   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0        103   IO-APIC-edge      i8042
 14:          7        140   IO-APIC-edge      ide0
 16:          0          0   IO-APIC-fasteoi   libata
 17:          0         10   IO-APIC-fasteoi   bttv0
 20:          0         20   IO-APIC-fasteoi   ehci_hcd:usb1
 21:          0          0   IO-APIC-fasteoi   libata
 22:        214      99786   IO-APIC-fasteoi   libata, HDA Intel
 23:         76       6230   IO-APIC-fasteoi   libata, ohci_hcd:usb2
308:          5       3169   PCI-MSI-edge      eth1
309:          0         10   PCI-MSI-edge      eth1
310:          0         44   PCI-MSI-edge      eth1
311:          1       3193   PCI-MSI-edge      eth0
312:          0          0   PCI-MSI-edge      eth0
313:          0          1   PCI-MSI-edge      eth0
NMI:         64         68
LOC:      45716      45691
ERR:          0

kernel 2.6.19-rc5 with pci=routeirq

irq 21: nobody cared (try booting with the "irqpoll" option)

Call Trace:
 <IRQ>  [<ffffffff80259055>] __report_bad_irq+0x35/0x90
 [<ffffffff802592d3>] note_interrupt+0x223/0x280
 [<ffffffff80259d41>] handle_fasteoi_irq+0xb1/0xf0
 [<ffffffff8020b17c>] call_softirq+0x1c/0x30
 [<ffffffff8020d1ba>] do_IRQ+0x8a/0xe0
 [<ffffffff802092f0>] default_idle+0x0/0x50
 [<ffffffff8020a571>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff80209319>] default_idle+0x29/0x50
 [<ffffffff8020939b>] cpu_idle+0x5b/0x80
 [<ffffffff8050039c>] start_secondary+0x50c/0x520

handlers:
[<ffffffff880e6fd0>] (usb_hcd_irq+0x0/0x60 [usbcore]) Disabling IRQ #21

CPU0 CPU1

  0:        214      24856   IO-APIC-edge      timer
  1:          0        359   IO-APIC-edge      i8042
  6:          0          5   IO-APIC-edge      floppy
  8:          0          0   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0        103   IO-APIC-edge      i8042
 14:          0        128   IO-APIC-edge      ide0
 16:          0          0   IO-APIC-fasteoi   libata
 17:          1          2   IO-APIC-fasteoi   bttv0
 20:         22       6469   IO-APIC-fasteoi   libata
 21:         11      99989   IO-APIC-fasteoi   ehci_hcd:usb2, HDA Intel
 22:          0          1   IO-APIC-fasteoi   libata, ohci_hcd:usb1
 23:          0          0   IO-APIC-fasteoi   libata
308:          8       2378   PCI-MSI-edge      eth1
309:          0          9   PCI-MSI-edge      eth1
310:          0          9   PCI-MSI-edge      eth1
311:          4       2401   PCI-MSI-edge      eth0
312:          0          0   PCI-MSI-edge      eth0
313:          0          1   PCI-MSI-edge      eth0
NMI:         74         47
LOC:      25024      24991
ERR:          0

kernel 2.6.19-rc5 with irqpoll

Hang during boot
(See screenshot in http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz)

kernel 2.6.18 (works without any problem)

CPU0 CPU1

  0:       1590     998089    IO-APIC-edge  timer
  1:          2        657    IO-APIC-edge  i8042
  6:          0          5    IO-APIC-edge  floppy
  8:          0          0    IO-APIC-edge  rtc
  9:          0          0   IO-APIC-level  acpi
 12:        194      59353    IO-APIC-edge  i8042
 14:         13       6381    IO-APIC-edge  ide0
 50:          0          0   IO-APIC-level  libata
 58:          0          0   IO-APIC-level  libata
 66:        109     181425   IO-APIC-level  libata, nvidia
 74:         41        963   IO-APIC-level  ehci_hcd:usb1, HDA Intel
 82:          4          6   IO-APIC-level  bttv0
 90:          0          0       PCI-MSI-X  eth0
 98:          3          0       PCI-MSI-X  eth0
106:     212234          0       PCI-MSI-X  eth0
114:        532          0       PCI-MSI-X  eth1
122:        445          0       PCI-MSI-X  eth1
130:     212217          0       PCI-MSI-X  eth1
233:         73      23009   IO-APIC-level  libata, ohci_hcd:usb2
NMI:         99        104
LOC:     999684     999664
ERR:          0
MIS:          0
#2 lore raw

olivier,

lspci -vvxxx please.

it seems usb and audio share the interrtupts by ioapic.

YH

#4 lore raw
In reply to Adrian Bunk

At Thu, 9 Nov 2006 07:49:56 +0100,

Quoted 15 lines · Adrian Bunk
Quoted 1 line · Olivier Nicolas

Hi,

Hi Olivier,

Quoted 5 lines

2.6.19-rc5 does not boot properly, I have tried pci=routeirq, irpoll without success.

Full details (.config, dmesg, /proc/interrupts) are in
http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz

thanks for your report!

Quoted 8 lines

I might be wrong, but looking at the dmesg:
- irq 22 is the hda_intel IRQ
- the "irq 22: nobody cared" is immediately before the "hda_intel: No response from codec, disabling MSI..."
- in the routeirq case, the hda_intel IRQ as well as the IRQ in the error message change to 21

So it might be related to the hda_intel MSI check.

To disable MSI from the beginning, set disable_msi=1 module option for snd-hda-intel.

Takashi

#5 lore raw

Takashi,

You are right, setting disable_msi=1 as an option for snd-hda-intel module solve my problem.

Thanks

Olivier

Quoted 26 lines · Takashi Iwai

At Thu, 9 Nov 2006 07:49:56 +0100,

Quoted 10 lines · Adrian Bunk
Quoted 1 line · Olivier Nicolas

Hi,

Hi Olivier,

Quoted 3 lines

2.6.19-rc5 does not boot properly, I have tried pci=routeirq, irpoll without success.

Full details (.config, dmesg, /proc/interrupts) are in http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz

thanks for your report!

Quoted 8 lines

I might be wrong, but looking at the dmesg:
- irq 22 is the hda_intel IRQ
- the "irq 22: nobody cared" is immediately before the "hda_intel: No response from codec, disabling MSI..."
- in the routeirq case, the hda_intel IRQ as well as the IRQ in the error message change to 21

So it might be related to the hda_intel MSI check.

To disable MSI from the beginning, set disable_msi=1 module option for snd-hda-intel.

Takashi

#6 lore raw
In reply to Adrian Bunk
Quoted 14 lines · On Thu, 9 Nov 2006 07:49:56 +0100 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Olivier Nicolas

Hi,

Hi Olivier,

Quoted 5 lines

2.6.19-rc5 does not boot properly, I have tried pci=routeirq, irpoll without success.

Full details (.config, dmesg, /proc/interrupts) are in
http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz

thanks for your report!

Quoted 8 lines

I might be wrong, but looking at the dmesg:
- irq 22 is the hda_intel IRQ
- the "irq 22: nobody cared" is immediately before the "hda_intel: No response from codec, disabling MSI..."
- in the routeirq case, the hda_intel IRQ as well as the IRQ in the error message change to 21

So it might be related to the hda_intel MSI check.

More likely the MSI management routines don't work for disabling MSI. I am debugging a problem where MSI doesn't work across suspend/resume, I suspect the base MSI code needs fixing.

Signature · 1 line
Stephen Hemminger <[email protected]>
#7 lore raw
Quoted 24 lines · Stephen Hemminger
Quoted 21 lines · On Thu, 9 Nov 2006 07:49:56 +0100 Adrian Bunk <[email protected]> wrote:
Quoted 1 line · Olivier Nicolas

Hi,

Hi Olivier,

Quoted 5 lines

2.6.19-rc5 does not boot properly, I have tried pci=routeirq, irpoll without success.

Full details (.config, dmesg, /proc/interrupts) are in
http://olivn.trollprod.org/2.6.19-rc5-irq.tar.gz

thanks for your report!

I might be wrong, but looking at the dmesg:
- irq 22 is the hda_intel IRQ
- the "irq 22: nobody cared" is immediately before the "hda_intel: No response from codec, disabling MSI..."
- in the routeirq case, the hda_intel IRQ as well as the IRQ in the error message change to 21

Quoted 3 lines
Quoted 1 line

So it might be related to the hda_intel MSI check.

More likely the MSI management routines don't work for disabling MSI.

Well brand new MSI handling could be buggy, the disable hypothesis doesn't make much sense on boot up.

Quoted 2 lines

I am debugging a problem where MSI doesn't work across suspend/resume, I suspect the base MSI code needs fixing.

Rethinking the interfaces maybe I don't think the code is broken I think most likely it is just not designed to do the right thing. I remember thinking how horrible that code is, when I read through it.

Eric

#8 lore raw
In reply to Olivier Nicolas
Quoted 4 lines · Olivier Nicolas

Hi,

2.6.19-rc5 does not boot properly, I have tried pci=routeirq, irpoll without success.

Still a problem with pci=nomsi removing all those MSI NICs from the picture? pci=nommconf is also popular these days:-)

-Len