Bug 8841 - Diabling IRQ - #20 in mainline 2.6.22.1-cfs-v19 and #201 in ubuntu 2.6.15-28-386
Summary: Diabling IRQ - #20 in mainline 2.6.22.1-cfs-v19 and #201 in ubuntu 2.6.15-28-386
Status: REJECTED UNREPRODUCIBLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Interrupts (show other bugs)
Hardware: All Linux
: P1 high
Assignee: ykzhao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 02:25 UTC by Andev
Modified: 2008-01-09 00:52 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.22.1-cfs-v19
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
config file for the compiled kernel (74.93 KB, application/octet-stream)
2007-08-03 02:31 UTC, Andev
Details
acpidump (67.63 KB, text/plain)
2007-09-23 11:32 UTC, Andev
Details
lspci -vv (9.51 KB, text/plain)
2007-09-23 11:36 UTC, Andev
Details
relevant portion of the dmesg output - booted with noacpi option (1.65 KB, text/plain)
2007-09-23 11:47 UTC, Andev
Details
dump tool to get bios PRT/MPS table (6.33 KB, application/x-gzip)
2007-12-19 23:53 UTC, ykzhao
Details

Description Andev 2007-08-03 02:25:30 UTC
Most recent kernel where this bug did not occur:
Distribution:Ubuntu
Hardware Environment:
Software Environment:self compiled 2.6.22.1-cfs-v19
Problem Description:
2.6.22.1-cfs-v19
[   60.887296] irq 20: nobody cared (try booting with the "irqpoll" option)
[   60.887319]  [<c0148114>] __report_bad_irq+0x24/0x80
[   60.887340]  [<c0148355>] note_interrupt+0x1e5/0x230
[   60.887365]  [<c0147555>] handle_IRQ_event+0x25/0x50
[   60.887381]  [<c014861d>] handle_fasteoi_irq+0x8d/0xa0
[   60.887391]  [<c01063de>] do_IRQ+0x3e/0x80
[   60.887413]  [<c01047b7>] common_interrupt+0x23/0x28
[   60.887422]  [<c0102db0>] default_idle+0x0/0x40
[   60.887445]  [<c0102dda>] default_idle+0x2a/0x40
[   60.887453]  [<c0102e38>] cpu_idle+0x48/0x70
[   60.887456]  [<c03948df>] start_kernel+0x22f/0x2c0
[   60.887463]  [<c0394460>] unknown_bootoption+0x0/0x250
[   60.887485]  =======================
[   60.887486] handlers:
[   60.887488] [<dcc12080>] (via_driver_irq_handler+0x0/0x1b0 [via])
[   60.887497] Disabling IRQ #20

ubuntu 2.6.15-28-386:
[17179621.308000] irq 201: nobody cared (try booting with the "irqpoll" option)
[17179621.308000]  [<c013ee82>] __report_bad_irq+0x22/0x80
[17179621.308000]  [<c013ef78>] note_interrupt+0x68/0xc0
[17179621.308000]  [<c013e83c>] __do_IRQ+0xbc/0xe0
[17179621.308000]  [<c010596a>] do_IRQ+0x1a/0x30
[17179621.308000]  [<c01040aa>] common_interrupt+0x1a/0x20
[17179621.308000] handlers:
[17179621.308000] [<dcc92030>] (via_driver_irq_handler+0x0/0x1a0 [via])
[17179621.308000] Disabling IRQ #201

Steps to reproduce:config of 2.6.22.1-cfs-v19 from
http://lkml.org/lkml/2007/8/1/137
Comment 1 Andev 2007-08-03 02:31:20 UTC
Created attachment 12236 [details]
config file for the compiled kernel
Comment 2 Dave Airlie 2007-08-04 17:12:22 UTC
I've contacted Thomas who maintains the code,

he can fix this he hopes on his return from vacation on the 23rd Aug..

These chipsets haven't been verified to have working interrupts by VIA so he thinks we need to disable them completely.
Comment 3 Len Brown 2007-09-05 18:16:33 UTC
[   59.164605] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 20
[   59.170612] [drm] Initialized via 2.11.1 20070202 on minor 1
[   60.362227] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
[   60.362429] agpgart: Xorg tried to set rate=x12. Setting to AGP3 x8 mode.
[   60.362570] agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
[   60.362750] agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[   60.887296] irq 20: nobody cared (try booting with the "irqpoll" option)
[   60.887319]  [<c0148114>] __report_bad_irq+0x24/0x80
[   60.887340]  [<c0148355>] note_interrupt+0x1e5/0x230
[   60.887365]  [<c0147555>] handle_IRQ_event+0x25/0x50
[   60.887381]  [<c014861d>] handle_fasteoi_irq+0x8d/0xa0
[   60.887391]  [<c01063de>] do_IRQ+0x3e/0x80
[   60.887413]  [<c01047b7>] common_interrupt+0x23/0x28
[   60.887422]  [<c0102db0>] default_idle+0x0/0x40
[   60.887445]  [<c0102dda>] default_idle+0x2a/0x40
[   60.887453]  [<c0102e38>] cpu_idle+0x48/0x70
[   60.887456]  [<c03948df>] start_kernel+0x22f/0x2c0
[   60.887463]  [<c0394460>] unknown_bootoption+0x0/0x250
[   60.887485]  =======================
[   60.887486] handlers:
[   60.887488] [<dcc12080>] (via_driver_irq_handler+0x0/0x1b0 [via])
[   60.887497] Disabling IRQ #20

This is likely not the fault of drm's via_driver_irq_handler().
It is more likely that some other device is pulling on GSI 16
and that the DRM module is an innocent bystander.

You may be able to identify the guilty party by disabling devices
in the BIOS or physically removing them and seeing if any of those
cause this to stop.

Please attach the output from acpidump.

Please attach the output from lspci -vv

Please try booting with "noapic" and pasting the /proc/interrupts --
a configuration where hopefully this will go away and we can verify
that at least the peripherals are okay and that this is simply yet
another VIA IOAPIC interrupt routing quirk issue.
Comment 4 Andev 2007-09-23 11:32:43 UTC
Created attachment 12907 [details]
acpidump
Comment 5 Andev 2007-09-23 11:36:37 UTC
Created attachment 12908 [details]
lspci -vv

please find the lspci -vv output attached
Comment 6 Andev 2007-09-23 11:47:07 UTC
Created attachment 12909 [details]
relevant portion of the dmesg output - booted with noacpi option
Comment 7 Andev 2007-09-23 11:49:39 UTC
noacpi option passed at boot time:

bobby@bobby-desktop:~$ cat /proc/interrupts 
           CPU0       
  0:     128410   IO-APIC-edge      timer
  1:        656   IO-APIC-edge      i8042
  6:          5   IO-APIC-edge      floppy
  7:          0   IO-APIC-edge      parport0
  8:          0   IO-APIC-edge      rtc
  9:          0   IO-APIC-fasteoi   acpi
 14:      32036   IO-APIC-edge      libata
 15:       5384   IO-APIC-edge      libata
 16:     100001   IO-APIC-fasteoi   via@pci:0000:01:00.0
 20:          0   IO-APIC-fasteoi   sata_via
 21:      12717   IO-APIC-fasteoi   uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, ehci_hcd:usb5
 22:       1334   IO-APIC-fasteoi   VIA8237
 23:       1309   IO-APIC-fasteoi   eth0
NMI:          0 
LOC:     124753 
ERR:          0
Comment 8 Andev 2007-09-24 08:42:30 UTC
Comment on attachment 12909 [details]
relevant portion of the dmesg output - booted with noacpi option

Sep 24 00:11:35 bobby-desktop kernel: [   72.744505] irq 16: nobody cared (try booting with the "irqpoll" option)
Sep 24 00:11:35 bobby-desktop kernel: [   72.744513] 
Sep 24 00:11:35 bobby-desktop kernel: [   72.744514] Call Trace:
Sep 24 00:11:35 bobby-desktop kernel: [   72.744517]  <IRQ>  [__rcu_process_callbacks+319/464] __rcu_process_callbacks+0x13f/0x1d0
Sep 24 00:11:35 bobby-desktop kernel: [   72.744530]  [__report_bad_irq+30/128] __report_bad_irq+0x1e/0x80
Sep 24 00:11:35 bobby-desktop kernel: [   72.744552]  [note_interrupt+566/624] note_interrupt+0x236/0x270
Sep 24 00:11:35 bobby-desktop kernel: [   72.744562]  [handle_fasteoi_irq+124/176] handle_fasteoi_irq+0x7c/0xb0
Sep 24 00:11:35 bobby-desktop kernel: [   72.744569]  [do_IRQ+162/384] do_IRQ+0xa2/0x180
Sep 24 00:11:35 bobby-desktop kernel: [   72.744574]  [default_idle+0/64] default_idle+0x0/0x40
Sep 24 00:11:35 bobby-desktop kernel: [   72.744579]  [ret_from_intr+0/10] ret_from_intr+0x0/0xa
Sep 24 00:11:35 bobby-desktop kernel: [   72.744582]  <EOI>  [default_idle+38/64] default_idle+0x26/0x40
Sep 24 00:11:35 bobby-desktop kernel: [   72.744598]  [cpu_idle+61/96] cpu_idle+0x3d/0x60
Sep 24 00:11:35 bobby-desktop kernel: [   72.744605]  [start_kernel+586/720] start_kernel+0x24a/0x2d0
Sep 24 00:11:35 bobby-desktop kernel: [   72.744612]  [x86_64_start_kernel+305/320] _sinittext+0x131/0x140
Sep 24 00:11:35 bobby-desktop kernel: [   72.744618] 
Sep 24 00:11:35 bobby-desktop kernel: [   72.744619] handlers:
Sep 24 00:11:35 bobby-desktop kernel: [   72.744621] [_end+131066856/2130499416] (via_driver_irq_handler+0x0/0x1e0 [via])
Sep 24 00:11:35 bobby-desktop kernel: [   72.744631] Disabling IRQ #16
Comment 9 Zhang Rui 2007-12-06 18:20:53 UTC
can you try the latest kernel please?
>noacpi option passed at boot time:
I think you probably mean pci=noacpi, right?
Please attach the /proc/interrupts and FULL dmesg output in the following cases:
1.without any kernel parameter.
2.pci=noacpi
3.noapic
4.pci=noacpi and noapic
Comment 10 ykzhao 2007-12-19 23:53:23 UTC
Created attachment 14135 [details]
dump tool to get bios PRT/MPS table

Will you please use the attached tool to get bios PRT/MPS table?
Thanks.
Comment 11 Len Brown 2008-01-09 00:52:33 UTC
please re-open if this is reproducible with 2.6.23 or later

Note You need to log in before you can comment on or make changes to this bug.