From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
Robert_Hentosh@Dell.com, fleury@cs.auc.dk,
linux-kernel@vger.kernel.org
Subject: RE: spurious 8259A interrupt
Date: Mon, 22 Mar 2004 17:13:43 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.53.0403221701460.24245@chaos> (raw)
In-Reply-To: <Pine.LNX.4.44.0403222105380.3493-100000@poirot.grange>
On Mon, 22 Mar 2004, Guennadi Liakhovetski wrote:
> On Mon, 22 Mar 2004, Maciej W. Rozycki wrote:
>
> > Do you really get "spurious 8259A interrupt" messages for the local APIC
> > timer??? They don't ever leave the unit bound to the processor -- it has
> > to be something else. What is your contents of /proc/interrupts?
>
> Ok, here's exactly, what I see:
> 1) during start-up 1 message
> spurious 8259A interrupt: IRQ7.
> 2) at run-time ERR: count increases - sometimes several per
> second, sometimes it remains constant for some time.
> 3) No more "spurious" messages
> 4) I saw definitely situations, when between 2 /proc/interrupts snapshots
> the sum of all (except the timer) interrupts was smaller, than the number
> of errors, e.g.
>
> CPU0 (2nd shot)
> 0: 36557 37638 +1081 XT-PIC timer
> 1: 59 65 +6 XT-PIC i8042
> 2: 0 0 XT-PIC cascade
> 5: 0 0 XT-PIC VIA686A
> 8: 3 3 XT-PIC rtc
> 9: 0 0 XT-PIC acpi, uhci_hcd, uhci_hcd
> 10: 0 0 XT-PIC eth0
> 12: 84 84 XT-PIC i8042
> 14: 1910 1918 +8 XT-PIC ide0
> 15: 1 1 XT-PIC ide1
> NMI: 18 18
> LOC: 36460 37541 +1081
> ERR: 36 57 +21
>
First, you are using the 8259A (XT-PIC). This means you have
IO-APIC turned off (or it doesn't exist).
> ide0 + i8042 (keyboard) = 14, whereas errors increased by 21. So, if you
> are right, than Alan's wrong (or my understanding of his statement), and
> those spurious interrupts occur not only after real ones, or, one real
> interrupt can produce several spurious ones.
Neither. They are not related. As previously stated, a spurious
interrupt occurs when the CPU INT line becomes active, but no
interrupt controller caused it to happen. It's just that simple.
There is no magic. Given that the CPU needs to have a vector
placed on the bus every time the INT line goes active, the
interrupt controller says; "What's a mother to do?". To placate
the CPU and terminate the INT/INTA cycle, the controller puts
its lowest-priority vector on the bus. The CPU will eventually
branch to the address specified for that vector. The code there
says; "I'm IRQ7, I'm not even hooked...This must be a spurious
interrupt..."
Again, it's a hardware problem. It can't be fixed in software.
Of course, you could get rid of the "!&@#)$^#$)!@^$" message
that's mucking everybody up. Then you could use defective hardware
just like Win$
>
> Thanks
> Guennadi
> ---
> Guennadi Liakhovetski
Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.
next prev parent reply other threads:[~2004-03-22 22:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-16 20:32 Robert_Hentosh
2004-03-19 13:06 ` Jamie Lokier
2004-03-19 13:16 ` Russell King
2004-03-19 13:39 ` Jamie Lokier
2004-03-19 14:04 ` Anton Blanchard
2004-03-19 14:56 ` Jamie Lokier
2004-03-19 13:48 ` Richard B. Johnson
2004-03-19 14:39 ` Jamie Lokier
2004-03-21 17:58 ` Hans-Peter Jansen
2004-03-22 9:12 ` Maciej W. Rozycki
2004-03-22 12:29 ` Richard B. Johnson
2004-03-24 15:28 ` Jamie Lokier
2004-03-24 15:50 ` Gabriel Paubert
2004-03-24 15:57 ` Richard B. Johnson
2004-03-19 13:28 ` Maciej W. Rozycki
2004-03-19 22:01 ` Guennadi Liakhovetski
2004-03-22 9:02 ` Maciej W. Rozycki
2004-03-22 21:16 ` Guennadi Liakhovetski
2004-03-22 22:13 ` Richard B. Johnson [this message]
2004-03-22 23:09 ` Guennadi Liakhovetski
2004-03-22 23:38 ` Richard B. Johnson
2004-03-23 10:32 ` Maciej W. Rozycki
2004-03-23 10:42 ` Maciej W. Rozycki
2004-03-23 21:10 ` Guennadi Liakhovetski
2004-03-23 10:29 ` Maciej W. Rozycki
2004-03-23 10:26 ` Maciej W. Rozycki
-- strict thread matches above, loose matches on Subject: below --
2004-03-16 18:35 Emmanuel Fleury
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.53.0403221701460.24245@chaos \
--to=root@chaos.analogic.com \
--cc=Robert_Hentosh@Dell.com \
--cc=fleury@cs.auc.dk \
--cc=g.liakhovetski@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=macro@ds2.pg.gda.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®