public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.19-rc5 x86_64  irq 22: nobody cared
@ 2006-11-08 12:44 Olivier Nicolas
  2006-11-09  6:49 ` Adrian Bunk
  2006-11-09  8:17 ` Len Brown
  0 siblings, 2 replies; 16+ messages in thread
From: Olivier Nicolas @ 2006-11-08 12:44 UTC (permalink / raw)
  To: linux-kernel

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




^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-09 21:03 Lu, Yinghai
  0 siblings, 0 replies; 16+ messages in thread
From: Lu, Yinghai @ 2006-11-09 21:03 UTC (permalink / raw)
  To: Olivier Nicolas
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, alsa-devel, gregkh, linux-pci, len.brown,
	linux-acpi, Eric W. Biederman, Andrew Morton, Linus Torvalds


           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

But according to the irq router in pci conf, 
the ehci and audio share to use irq 20.
sata0 and ohci use irq 23
sata1 use irq 22, (MAC1 share it but kernel will use MSI)
sata2 use irq 21, (MAC0 share it but kernel will use MSI)

the ACPI report wrong GSI for them?

Can you disable the acpi and check the interrupt and lspci?

YH





^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10  2:09 Lu, Yinghai
  2006-11-10  9:56 ` Olivier Nicolas
  0 siblings, 1 reply; 16+ messages in thread
From: Lu, Yinghai @ 2006-11-10  2:09 UTC (permalink / raw)
  To: Olivier Nicolas, Eric W. Biederman
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, gregkh, linux-pci, len.brown, linux-acpi,
	Andrew Morton, Linus Torvalds

Eric,

Can you confirm:
>From 2.6.19-rc1, the irq for devices that using io-apic will not change
between pci=routeirq and not.

Olivier,
Can you send lspci -vvxxx for pci=routeirq too?

YH





^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10 18:20 Lu, Yinghai
  2006-11-10 20:11 ` Eric W. Biederman
  0 siblings, 1 reply; 16+ messages in thread
From: Lu, Yinghai @ 2006-11-10 18:20 UTC (permalink / raw)
  To: Andi Kleen, Olivier Nicolas, Eric W. Biederman, Andrew Morton
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, gregkh, linux-pci, len.brown, linux-acpi,
	Linus Torvalds


Andi,

The two patches solve the problems that irq nobody care.

They are already in your tree. But first one I wonder if you put correct
one in your tree.


YH

[PATCH] x86_64 irq: reuse vector for __assign_irq_vector 
http://lkml.org/lkml/2006/10/26/38
[PATCH] x86_64 irq: reset more to default when clear irq_vector for
destroy_irq
http://lkml.org/lkml/2006/10/28/16




^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10 20:16 Lu, Yinghai
  0 siblings, 0 replies; 16+ messages in thread
From: Lu, Yinghai @ 2006-11-10 20:16 UTC (permalink / raw)
  To: Andi Kleen, Olivier Nicolas, Eric W. Biederman, Andrew Morton
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, gregkh, linux-pci, len.brown, linux-acpi,
	Linus Torvalds, Lu, Yinghai

That didn't fix the bug.



-----Original Message-----
From: Olivier Nicolas [mailto:olivn@trollprod.org] 
Sent: Friday, November 10, 2006 12:03 PM
To: Lu, Yinghai
Subject: Re: 2.6.19-rc5 x86_64 irq 22: nobody cared

Bad day today,

Kernel compiled with the first parch irq_mcp55.diff

and with the disable_msi option removed.



#options snd-hda-intel disable_msi=1


ACPI: PCI Interrupt Link [ASA2] enabled at IRQ 21
__assign_irq_vector: irq=15, vector=79, domain=000000ff, mask=00000003,
cpu_online_map=00000003
ACPI: PCI Interrupt 0000:00:0d.2[C] -> Link [ASA2] -> GSI 21 (level,
low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:0d.2 to 64
ata5: SATA max UDMA/133 cmd 0xC400 ctl 0xC002 bmdma 0xB400 irq 21
ata6: SATA max UDMA/133 cmd 0xBC00 ctl 0xB802 bmdma 0xB408 irq 21

ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:0e.1[B] -> Link [AAZA] -> GSI 21 (level,
low) -> IRQ 21
__assign_irq_vector: irq=139, vector=91, domain=000000ff, mask=00000003,
cpu_online_map=00000003
__assign_irq_vector: irq=139, old_vector=91, domain=000000ff,
mask=00000003, cpu_online_map=00000003
PCI: Setting latency timer of device 0000:00:0e.1 to 64
irq 21: nobody cared (try booting with the "irqpoll" option)

Call Trace:
 <IRQ>  [<ffffffff8025a055>] __report_bad_irq+0x35/0x90
 [<ffffffff8025a2d3>] note_interrupt+0x223/0x280
 [<ffffffff8025ad41>] 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:
[<ffffffff8807f150>] (nv_generic_interrupt+0x0/0xc0 [sata_nv])
Disabling IRQ #21
ALSA sound/pci/hda/hda_intel.c:543: hda_intel: No response from codec,
disabling MSI...

So kernl assign irq 21 to sata2, and later share irq 21 with audio.

But audio get MSI, and at that time, it may do sth bad to irq21 that it
is still shared with SATA2.

YH




^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10 20:22 Lu, Yinghai
  0 siblings, 0 replies; 16+ messages in thread
From: Lu, Yinghai @ 2006-11-10 20:22 UTC (permalink / raw)
  To: ebiederm
  Cc: Andi Kleen, Olivier Nicolas, Andrew Morton, Adrian Bunk,
	Stephen Hemminger, Takashi Iwai, Jaroslav Kysela, linux-kernel,
	gregkh, linux-pci, len.brown, linux-acpi, Linus Torvalds

-----Original Message-----
From: ebiederm@xmission.com [mailto:ebiederm@xmission.com] 

>YH.  This is a completely different problem.  The irq is properly setup
>and received but none of the drivers wanted it.

The irq  with ioapic are shared with sata2 and audio, and later the
audio driver get the irq, and then try to get MSI.

The MAC first shared irq (ioapic) with SATA and it later transfer to use
MSI without problem.

YH



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

end of thread, other threads:[~2006-11-10 20:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 12:44 2.6.19-rc5 x86_64 irq 22: nobody cared Olivier Nicolas
2006-11-09  6:49 ` Adrian Bunk
2006-11-09  7:55   ` Yinghai Lu
2006-11-09  9:29     ` Olivier Nicolas
2006-11-09 10:38   ` Takashi Iwai
2006-11-09 16:08     ` Olivier Nicolas
2006-11-09 16:49   ` Stephen Hemminger
2006-11-09 17:12     ` Eric W. Biederman
2006-11-09  8:17 ` Len Brown
  -- strict thread matches above, loose matches on Subject: below --
2006-11-09 21:03 Lu, Yinghai
2006-11-10  2:09 Lu, Yinghai
2006-11-10  9:56 ` Olivier Nicolas
2006-11-10 18:20 Lu, Yinghai
2006-11-10 20:11 ` Eric W. Biederman
2006-11-10 20:16 Lu, Yinghai
2006-11-10 20:22 Lu, Yinghai

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