Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I am facing cat /proc/interrupts problems....in linux RHEL-4 ( 2.6 Kernel )

8 views
Skip to first unread message

mahi

unread,
Jul 4, 2009, 2:49:03 AM7/4/09
to
Hi All, I am using PCI card..........in RHEL-4

(Pci card has got IRQ-(Interrupt Number) 211) ...I am running this in
SMP mode, So two processors are coming in picture...CPU-0 and CPU-1.

In these situation I am facing one problem.........after getting 50000
Interrupts on CPU-0 and 50000 Interrupts on CPU-1....the Interrupt
getting Disabled itself.After that i am not getting any
Interrupts.....I need to restart my system...

I am watcing these count in cat /proc/interrupts.........

is there any provision to decrement or set that interrupt count to
ZERO or reinitialize the count to ZERO.

Thanks in Advance
Mahender Reddy.

Jean-David Beyer

unread,
Jul 4, 2009, 6:02:36 AM7/4/09
to

Whatever your problem is, that is not the way to fix them. I have a system
running CentOS-4 with two processors, and some PCI cards.

That machine has way more than 50,000 interrunpts:

$ cat /proc/interrupts
CPU0 CPU1
0: 330698067 335150701 IO-APIC-edge timer
1: 667 618 IO-APIC-edge i8042
2: 0 0 XT-PIC cascade
4: 217886 215622 IO-APIC-edge serial
8: 0 1 IO-APIC-edge rtc
12: 7947 4098 IO-APIC-edge i8042
14: 419436 396217 IO-APIC-edge ide0
15: 2984843 3003552 IO-APIC-edge ide1
137: 42061591 41410089 IO-APIC-level sym53c8xx, EMU10K1,
mga@pci:0000:01:00.0
145: 5841251 9 IO-APIC-level eth0
153: 4794885 4853124 IO-APIC-level sym53c8xx
161: 4983603 5042032 IO-APIC-level uhci_hcd
NMI: 0 0
LOC: 665875106 665875112
ERR: 0
MIS: 0

And this machine has even more:

$ cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 1356784025 0 0 0 IO-APIC-edge timer
1: 7528 175153 14 339 IO-APIC-edge i8042
3: 212120 713149 428 585 IO-APIC-edge serial
6: 6 0 0 0 IO-APIC-edge floppy
7: 2 0 0 0 IO-APIC-edge parport0
8: 1 0 0 0 IO-APIC-edge rtc
9: 1 0 0 0 IO-APIC-level acpi
12: 438816 27682960 236907 60459 IO-APIC-edge i8042
15: 298366 11764532 70293 48201 IO-APIC-edge ide1
50: 26 1243752 2569628 9091093 IO-APIC-level eth1
58: 25 675759 2230 285 IO-APIC-level eth2
66: 36 3293271 34093 423740 IO-APIC-level eth0
82: 1272 1599164 89854 44334 IO-APIC-level EMU10K1
169: 0 0 0 0 IO-APIC-level uhci_hcd:usb7
177: 0 0 0 0 IO-APIC-level ehci_hcd:usb1
185: 0 0 0 0 IO-APIC-level ohci_hcd:usb2
193: 0 0 0 0 IO-APIC-level ohci_hcd:usb3
201: 0 0 0 0 IO-APIC-level ohci_hcd:usb4
209: 0 0 0 0 IO-APIC-level uhci_hcd:usb5
217: 0 0 0 0 IO-APIC-level uhci_hcd:usb6
225: 8572 8864078 2272791 137089 IO-APIC-level aic79xx
233: 2824 9465742 427999 840391 IO-APIC-level aic79xx
NMI: 0 0 0 0
LOC: 1356848307 1356848306 1356848305 1356848304
ERR: 0
MIS: 0

This machine does not use the USBs much (apparently never since the last
reboot).

Come to think of it, since the real time clock, that I imagine runs at 1000
interrupts per second, would run out in 50 seconds, I cannot imagine you can
even boot the thing up.

Do you mean you only lose the interrupts on that particular device? If so, I
imagine there is either an error in the device hardware, or in its driver.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 05:55:01 up 15 days, 16:44, 3 users, load average: 4.24, 4.17, 4.11

Unruh

unread,
Jul 4, 2009, 3:08:37 PM7/4/09
to
mahi <mahenderre...@yahoo.co.in> writes:

>Hi All, I am using PCI card..........in RHEL-4

>(Pci card has got IRQ-(Interrupt Number) 211) ...I am running this in
>SMP mode, So two processors are coming in picture...CPU-0 and CPU-1.

Uh, PCI card for doing what?


>In these situation I am facing one problem.........after getting 50000
>Interrupts on CPU-0 and 50000 Interrupts on CPU-1....the Interrupt
>getting Disabled itself.After that i am not getting any
>Interrupts.....I need to restart my system...

YOu need to restart your system why? Has it crashed, or doe the PCI card cease to work, or
what is the problem. YOu are decribing a solution for a secret problem and
asking us if the solution is a good one. Since we have no idea what the poblem is
we cannot answer.


>I am watcing these count in cat /proc/interrupts.........

>is there any provision to decrement or set that interrupt count to
>ZERO or reinitialize the count to ZERO.

And that would do what exactly?

Chris Cox

unread,
Jul 6, 2009, 2:27:07 AM7/6/09
to

My guess is that you're seeing spurious interrupts? That is, the kernel
is disabling the IRQ because essentially the kernel is seeing interrupts
for apparently no reason (?). If so, 9 out of 10 times, this points to a
hardware problem. Problem is likely a card on the PCI/PCIe bus... could
be a problem with the motherboard. Occasionally it's due to a kernel
bug, but last time I tracked one of these down, sure enough, it was traced
to a bad peripheral card (fibre HBA in my case).

RHEL4 is sort of old.... but I wouldn't think there would be any major
issue with that kernel. Are you running the latest version of 4?

0 new messages