Bug 5243 - IRQ8 (rtc) screams w/o pnpacpi=off -- IO-APIC-level
Summary: IRQ8 (rtc) screams w/o pnpacpi=off -- IO-APIC-level
Status: CLOSED DUPLICATE of bug 9153
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: ykzhao
URL:
Keywords:
: 7679 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-13 10:16 UTC by Krzysztof Oledzki
Modified: 2007-12-03 22:38 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.13.1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
acpidump output (15.33 KB, application/octet-stream)
2005-09-15 02:55 UTC, Krzysztof Oledzki
Details
workaround for the issue (606 bytes, patch)
2005-10-20 18:30 UTC, Shaohua
Details | Diff
Working workaround for this PNP BIOS bug (1.05 KB, patch)
2007-09-26 03:19 UTC, Krzysztof Oledzki
Details | Diff

Description Krzysztof Oledzki 2005-09-13 10:16:20 UTC
Most recent kernel where this bug did not occur: 2.4.30 (probably just 2.4.x)

Distribution: Slackware

Hardware Environment:
$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 9
cpu MHz         : 2792.098
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5588.35

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 9
cpu MHz         : 2792.098
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5580.53

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 9
cpu MHz         : 2792.098
cache size      : 512 KB
physical id     : 3
siblings        : 2
core id         : 3
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5580.67

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 9
cpu MHz         : 2792.098
cache size      : 512 KB
physical id     : 3
siblings        : 2
core id         : 3
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5580.69

$ cat /proc/interrupts

           CPU0       CPU1       CPU2       CPU3
  0:   17268036          0          0          0  local-APIC-edge  timer
  1:         12          0          0          0    IO-APIC-edge  i8042
  8: 2061632970          0          0          0   IO-APIC-level  rtc
  9:          0          0          0          0   IO-APIC-level  acpi,
ohci_hcd:usb1
 11:         24          0          0          0   IO-APIC-level  ide2
 12:        102          0          0          0    IO-APIC-edge  i8042
169:    1706625          0          0          0   IO-APIC-level  eth0
185:     162717          0          0          0   IO-APIC-level  dpti0
193:         16          0          0          0   IO-APIC-level  inia100
NMI:          0          0          0          0
LOC:   17266244   17266257   17266266   17266265
ERR:          0
MIS:          0

Linux version 2.6.13.1 (root@bizon) (gcc version 3.3.6) #1 SMP Tue Sep 13
14:18:06 CEST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009e400 (usable)
 BIOS-e820: 000000000009e400 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000d2000 - 00000000000d4000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000cfff0000 (usable)
 BIOS-e820: 00000000cfff0000 - 00000000cffff000 (ACPI data)
 BIOS-e820: 00000000cffff000 - 00000000d0000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
2431MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f6c70
On node 0 totalpages: 851952
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 622576 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f6cd0
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0xcfffb0b0
ACPI: FADT (v001 PTL    02C6     0x06040000 PTL  0x01000000) @ 0xcfffee76
ACPI: SPCR (v001 PTLTD  $UCRTBL$ 0x06040000 PTL  0x00000001) @ 0xcfffeeea
ACPI: MADT (v001 PTLTD           APIC   0x06040000  LTP 0x00000000) @ 0xcfffef3a
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0xcfffefd8
ACPI: DSDT (v001 PTL    02C6     0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x06] enabled)
Processor #6 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x07] enabled)
Processor #7 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-15
ACPI: IOAPIC (id[0x03] address[0xfec01000] gsi_base[16])
IOAPIC[1]: apic_id 3, version 17, address 0xfec01000, GSI 16-31
ACPI: IOAPIC (id[0x04] address[0xfec02000] gsi_base[32])
IOAPIC[2]: apic_id 4, version 17, address 0xfec02000, GSI 32-47
ACPI: IOAPIC (id[0x05] address[0xfec03000] gsi_base[48])
IOAPIC[3]: apic_id 5, version 17, address 0xfec03000, GSI 48-63
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 4 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at d0000000 (gap: d0000000:2ec00000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux-2.6.13.1 ro root=801
rootflags=data=journal
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
mapped IOAPIC to ffffb000 (fec01000)
mapped IOAPIC to ffffa000 (fec02000)
mapped IOAPIC to ffff9000 (fec03000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 2792.098 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x30
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 3373976k/3407808k available (3117k kernel code, 32688k reserved, 1186k
data, 224k init, 2490304k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5588.35 BogoMIPS (lpj=2794178)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
mtrr: v2.0 (20020519)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Xeon(TM) CPU 2.80GHz stepping 09
Booting processor 1/1 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 5580.53 BogoMIPS (lpj=2790268)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
CPU1: Thermal monitoring enabled
CPU1: Intel(R) Xeon(TM) CPU 2.80GHz stepping 09
Booting processor 2/6 eip 3000
Initializing CPU#2
Calibrating delay using timer specific routine.. 5580.67 BogoMIPS (lpj=2790335)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 3
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#2.
CPU2: Intel P4/Xeon Extended MCE MSRs (12) available
CPU2: Thermal monitoring enabled
CPU2: Intel(R) Xeon(TM) CPU 2.80GHz stepping 09
Booting processor 3/7 eip 3000
Initializing CPU#3
Calibrating delay using timer specific routine.. 5580.69 BogoMIPS (lpj=2790346)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400
00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 3
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#3.
CPU3: Intel P4/Xeon Extended MCE MSRs (12) available
CPU3: Thermal monitoring enabled
CPU3: Intel(R) Xeon(TM) CPU 2.80GHz stepping 09
Total of 4 processors activated (22330.25 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...  failed.
...trying to set up timer as Virtual Wire IRQ... works.
checking TSC synchronization across 4 CPUs: passed.
Brought up 4 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfda11, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050408
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Interrupt Link [LN1] (IRQs *9)
ACPI: PCI Interrupt Link [LN6] (IRQs *11)
ACPI: PCI Interrupt Link [LN2] (IRQs *14)
ACPI: PCI Interrupt Link [LN10] (IRQs *16)
ACPI: PCI Interrupt Link [LN11] (IRQs *17)
ACPI: PCI Interrupt Link [LN12] (IRQs *18)
ACPI: PCI Interrupt Link [LN13] (IRQs *19)
ACPI: PCI Interrupt Link [LN14] (IRQs *20)
ACPI: PCI Interrupt Link [LN15] (IRQs *21)
ACPI: PCI Interrupt Link [LN16] (IRQs *22)
ACPI: PCI Interrupt Link [LN17] (IRQs *23)
ACPI: PCI Interrupt Link [LN18] (IRQs *24)
ACPI: PCI Interrupt Link [LN19] (IRQs *25)
ACPI: PCI Interrupt Link [LN1A] (IRQs *26)
ACPI: PCI Interrupt Link [LN1B] (IRQs *27)
ACPI: PCI Interrupt Link [LN1C] (IRQs *28)
ACPI: PCI Interrupt Link [LN1D] (IRQs *29)
ACPI: PCI Interrupt Link [LN1E] (IRQs *30)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] segment is 0
Boot video device is 0000:00:02.0
PCI: Ignoring BAR0-3 of IDE controller 0000:00:0f.1
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:06: ioport range 0x520-0x53f has been reserved
pnp: 00:06: ioport range 0x540-0x543 could not be reserved
pnp: 00:06: ioport range 0x544-0x547 could not be reserved
pnp: 00:06: ioport range 0x548-0x54f could not be reserved
pnp: 00:07: ioport range 0x580-0x58d has been reserved
pnp: 00:07: ioport range 0xb04-0xb04 has been reserved
pnp: 00:07: ioport range 0x419-0x41b has been reserved
pnp: 00:07: ioport range 0x41d-0x41f has been reserved
pnp: 00:07: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:07: ioport range 0x4d6-0x4d6 has been reserved
pnp: 00:07: ioport range 0xc00-0xc01 has been reserved
PCI: Bridge: 0000:00:04.1
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
Simple Boot Flag at 0x7d set to 0x80
Machine check exception polling timer started.
IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
audit: initializing netlink socket (disabled)
audit(1126621421.878:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
PCI: MSI quirk detected. pci_msi_quirk set.
PCI: MSI quirk detected. pci_msi_quirk set.
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1])
ACPI: CPU2 (power states: C1[C1])
ACPI: CPU1 (power states: C1[C1])
ACPI: CPU3 (power states: C1[C1])
Real Time Clock Driver v1.12
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60
seconds).
Hangcheck: Using monotonic_clock().
PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSC0] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 6.0.60-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 18 (level, low) -> IRQ 169
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
Ethernet Channel Bonding Driver: v2.6.3 (June 8, 2005)
bonding: Warning: either miimon or arp_interval and arp_ip_target module
parameters must be specified, otherwise bonding will
D-Link DL2000-based linux driver v1.17a 2002/10/04
ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 24 (level, low) -> IRQ 177
eth1: D-Link DGE-550SX Gigabit Ethernet Adapter, 00:0d:88:b3:d1:11, IRQ 177
tx_coalesce:    16 packets
rx_coalesce:    10 packets
rx_timeout:     128000 ns
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SvrWks CSB6: IDE controller at PCI slot 0000:00:0e.0
ACPI: PCI Interrupt Link [LN6] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LN6] -> GSI 11 (level, low) -> IRQ 11
SvrWks CSB6: chipset revision 160
SvrWks CSB6: 100% native mode on irq 11
    ide2: BM-DMA at 0x2c40-0x2c47, BIOS settings: hde:DMA, hdf:DMA
Probing IDE interface ide2...
hde: HL-DT-ST CD-ROM GCR-8482B, ATAPI CD/DVD-ROM drive
hdf: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
ide2 at 0x1e8-0x1ef,0x3ee on irq 11
SvrWks CSB6: IDE controller at PCI slot 0000:00:0f.1
SvrWks CSB6: chipset revision 160
SvrWks CSB6: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x2c50-0x2c57, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x2c58-0x2c5f, BIOS settings: hdc:pio, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide0...
Probing IDE interface ide1...
hde: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
hdf: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 22 (level, low) -> IRQ 185
Adaptec I2O RAID controller 0 at f8880000 size=100000 irq=185
dpti: If you have a lot of devices this could take a few minutes.
dpti0: Reading the hardware resource table.
TID 008  Vendor: ADAPTEC      Device: AIC-7899     Rev: 00000001
TID 009  Vendor: ADAPTEC      Device: AIC-7899     Rev: 00000001
TID 010  Vendor: ADAPTEC      Device: AIC-7899     Rev: 00000001
TID 011  Vendor: ADAPTEC      Device: AIC-7899     Rev: 00000001
TID 518  Vendor: NEC          Device: GEM359       Rev: 1.06
TID 526  Vendor: ADAPTEC      Device: RAID-5       Rev: 380E
scsi0 : Vendor: Adaptec  Model: 3410S            FW:380E
  Vendor: ADAPTEC   Model: RAID-5            Rev: 380E
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: NEC       Model: GEM359            Rev: 1.06
  Type:   Processor                          ANSI SCSI revision: 02
ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 26 (level, low) -> IRQ 193
scsi1 : Initio INI-A100U2W SCSI device driver; Revision: 1.02d
  Vendor: BNCHMARK  Model: DLT1              Rev: 5538
  Type:   Sequential-Access                  ANSI SCSI revision: 02
st: Version 20050501, fixed bufsize 32768, s/g segs 256
Attached scsi tape st0 at scsi1, channel 0, id 5, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575
SCSI device sda: 571875328 512-byte hdwr sectors (292800 MB)
SCSI device sda: drive cache: write through
SCSI device sda: 571875328 512-byte hdwr sectors (292800 MB)
SCSI device sda: drive cache: write through
 sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14
sda15 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi0, channel 0, id 8, lun 0,  type 3
Attached scsi generic sg2 at scsi1, channel 0, id 5, lun 0,  type 1
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LN1] enabled at IRQ 9
ACPI: PCI Interrupt 0000:00:0f.2[A] -> Link [LN1] -> GSI 9 (level, low) -> IRQ 9
ohci_hcd 0000:00:0f.2: ServerWorks CSB6 OHCI USB Controller
ohci_hcd 0000:00:0f.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0f.2: irq 9, io mem 0xd0022000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
input: PC Speaker
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
ip_conntrack version 2.1 (8192 buckets, 65536 max) - 240 bytes per conntrack
input: AT Translated Set 2 keyboard on isa0060/serio0
ip_tables: (C) 2000-2002 Netfilter core team
ipt_time loading
ipt_random match loaded
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. 
http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
Disabled Privacy Extensions on device c04e5960(lo)
ip6_tables: (C) 2000-2002 Netfilter core team
registering ipv6 mark target
registering ipv6 ROUTE target
ip6t_random match loaded
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
Using IPI No-Shortcut mode
ACPI wakeup devices:
PCI0 KBC0 MSC0  RTC COMA COMB LAN0 USB0
ACPI: (supports S0 S1 S4 S5)
BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with journal data mode.
VFS: Mounted root (ext3 filesystem) readonly.

Problem Description:

After upgrading from 2.4.30 to 2.6.13.1 I have noticed very high interrupt rate
for IRQ8 - about 119758 irqs/sec and reduced system performance (probably related).
Comment 1 Len Brown 2005-09-13 20:10:05 UTC
>  8: 2061632970          0          0          0   IO-APIC-level  rtc

This should be IO-APIC-edge

If you boot with "acpi=off" does it work better?
Comment 2 Shaohua 2005-09-13 22:06:05 UTC
Also it's worthy tring 'pnpacpi=off'. Please provide the acpidmp output too. 
Might the BIOS provide wrong interrupt info for RTC in ACPI tables.
Comment 3 Krzysztof Oledzki 2005-09-15 02:47:04 UTC
Attached acpidump output. Will test pnpacpi=off and acpi=off tomorrow, in 
service window. Thanks!
Comment 4 Krzysztof Oledzki 2005-09-15 02:55:14 UTC
Created attachment 6030 [details]
acpidump output
Comment 5 Shaohua 2005-09-15 18:23:57 UTC
It's a BIOS bug to me.
It claims RTC's interrupt is level/active low. This is wrong. pnpacpi=off can 
workaround your issue.

                Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Method (_CRS, 0, Serialized)
                    {
                        \ASLT (0x77)
                        SLTL (0x10)
                        Name (CRSP, ResourceTemplate ()
                        {
                            IO (Decode16, 0x0070, 0x0070, 0x01, 0x04)
                            IRQ (Level, ActiveLow, Exclusive) {8}
                        })
                        Return (CRSP)
                    }

                    Method (_STA, 0, Serialized)
                    {
                        \ASLT (0x78)
                        SLTL (0x10)
                        If (And (ACTV, 0x01))
                        {
                            Return (0x0F)
                        }
                        Else
                        {
                            Return (0x0D)
                        
Comment 6 Krzysztof Oledzki 2005-09-20 12:23:09 UTC
(Resending - it seems that latest bugzilla crash droped my comment)


True, pnpacpi=off indeed solved this problem:

   8:          1          0          0          0    IO-APIC-edge  rtc

Thank you.

Is there any other way to force IO-APIC-edge for IRQ8 than completely 
disabling pnpacpi? Or maybe some check for buggy bioses is possible and 
automatically change IO-APIC-level to IO-APIC-edge for IRQ8?

Comment 7 Shaohua 2005-09-20 18:28:13 UTC
PNP device interrupt typically is edge. We could make pnpacpi ignores the BIOS 
setting and always use edge interrupt. But I'm not sure if the assumption is 
always true. I'll ping Bjorn if PNP device interrupt could be level in IA64. 
Comment 8 Shaohua 2005-10-20 18:30:59 UTC
Created attachment 6352 [details]
workaround for the issue

The BIOS has bug. It makes rtc interrupt level trigerred. This patch
workarounds it.
I wonder if this can be tested in -mm.
Comment 9 Krzysztof Oledzki 2005-12-07 04:34:51 UTC
It seems that this workaround solved this problem only partially. CPUs are no
longer flooded by interrupts (Thanks, thanks!) but hwclock no longer works. IRQ
count for CPU is increase by one but hwclock fails. Strange.

# cat /proc/interrupts |grep rtc;hwclock; cat /proc/interrupts|grep rtc
  8:          4          0          0          0    IO-APIC-edge  rtc
select() to /dev/rtc to wait for clock tick timed out
  8:          5          0          0          0    IO-APIC-edge  rtc

# cat /proc/irq/8/smp_affinity
1
Comment 10 Len Brown 2007-08-18 22:58:18 UTC
A related issue has been sighted at novell 214809
where the HPET appears in the DSDT at edge/high,
but it is used in RTC compatibility mode and IOAPIC mode
and there is an INT_SRC_OVR that requests level/low on IRQ8.
It works with pnpacpi=off because it is left at level/low
instead of believing the DSDT and setting edge/high.
The IBM BIOS team asserts it is a Linux bug.

But here we don't have an INT_SRC_OVR on IRQ8...

In any case, the workaround in comment #8 appears to
be incomplete, because it sets the trigger, but not the polarity.
Comment 11 Krzysztof Oledzki 2007-08-19 15:08:44 UTC
(In reply to comment #10)
<CUT>
> In any case, the workaround in comment #8 appears to
> be incomplete, because it sets the trigger, but not the polarity.

OK, I'll try to extend this patch to also force the polarity.
It should be ACPI_ACTIVE_HIGH, right?
Comment 12 Krzysztof Oledzki 2007-09-26 03:12:56 UTC

On Wed, 26 Sep 2007, bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=5243

Attached patch fixed my problem, but I would like to check it on three 
other problematic systems to be 100% sure. So far I have tested only one.

BTW: Is it possible to test it for a while in a next -mm?

Best regards,


 				Krzysztof Ol
Comment 13 Krzysztof Oledzki 2007-09-26 03:19:22 UTC
Created attachment 12951 [details]
Working workaround for this PNP BIOS bug
Comment 14 ykzhao 2007-09-27 18:32:23 UTC
(In reply to comment #13)
> Created an attachment (id=12951) [details]
> Working workaround for this PNP BIOS bug
> 
Now it seems that the patch can solve the problem. Will you please send the patch to the acpi maillist?
Thanks for the patch.
Comment 15 Shaohua 2007-10-14 23:21:29 UTC
Krzysztof,
can you try the patch I attached in bug 9153? There is a similar issue  in the bug, but it's about BIOS override. That patch can unified handle the override issue and BIOS bug, so I consider to merge that patch if it works.
Comment 16 Krzysztof Oledzki 2007-10-16 13:56:19 UTC

On Sun, 14 Oct 2007, bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=5243
>
>
> shaohua.li@intel.com changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|CLOSED                      |REOPENED
>         Resolution|CODE_FIX                    |
>
>
>
>
> ------- Comment #15 from shaohua.li@intel.com  2007-10-14 23:21 -------
> Krzysztof,
> can you try the patch I attached in bug 9153? There is a similar issue  in
> the
> bug, but it's about BIOS override. That patch can unified handle the override
> issue and BIOS bug, so I consider to merge that patch if it works.

Yes, but I will be able to test it at the end of the next week, as I 
currently do not have a direct access to this host and I do not want to do 
it remotely.

Sorry. :(

Best regards,

 				Krzysztof Ol
Comment 17 Fu Michael 2007-10-22 17:28:16 UTC
Krzysztof Oledzki,

do you have any test result to share with us?
Comment 18 Krzysztof Oledzki 2007-10-23 12:33:26 UTC

On Mon, 22 Oct 2007, bugme-daemon@bugzilla.kernel.org wrote:

> ------- Comment #17 from michael.fu@intel.com  2007-10-22 17:28 -------
> Krzysztof Oledzki,
>
> do you have any test result to share with us?

Not yet. Like I said previously: end of _this_ week. :)

Best regards,

 				Krzysztof Ol
Comment 19 Krzysztof Oledzki 2007-10-25 05:27:32 UTC
Patch from bug 9153 works for me:

pnp: IRQ 8 is overrided to edge, high

It only requires a small fix to prevent inserting empty newline:
-			pnp_warn("IRQ %d is overrided to %s, %s\n",
+			pnp_warn("IRQ %d is overrided to %s, %s",

Best regards,

 				Krzysztof Ol
Comment 20 Shaohua 2007-10-25 17:42:17 UTC
Thanks, I'll update the patch as you suggested.

*** This bug has been marked as a duplicate of bug 9153 ***
Comment 21 Len Brown 2007-11-05 12:11:29 UTC
it looks like andrew morton sent the patch in comment #13
to linus, who included it in 2.6.24-rc1.

9cd8047b463f213c294f756119ac353312e7a152
(Fix very high interrupt rate for IRQ8 (rtc) unless pnpacpi=off)
Comment 22 Len Brown 2007-11-16 21:53:04 UTC
*** Bug 7679 has been marked as a duplicate of this bug. ***

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