public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* endless APIC error messages..
@ 2001-10-01 21:15 Thomas Davis
  2001-10-01 22:04 ` Mark Hahn
  2001-10-01 22:19 ` Thomas Davis
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Davis @ 2001-10-01 21:15 UTC (permalink / raw)
  To: linux-kernel

Yes, I know, I've got a busted ABIT-BP2 system board.

Running 2.4, I get thousands of the APIC error messages, which fill my
syslog.

Is there a reason for this constant spewing?  The short little patch,
that simply does stops the system from complaining any more - it's
busted - we know that.

--- linux/arch/i386/kernel/apic.c       Mon Oct  1 14:12:50 2001
+++ linux-2.4.9-ac16/arch/i386/kernel/apic.c    Mon Oct  1 14:10:19 2001
@@ -37,6 +37,8 @@
 int prof_old_multiplier[NR_CPUS] = { 1, };
 int prof_counter[NR_CPUS] = { 1, };
 
+static int apic_error_count = 50;
+
 int get_maxlvt(void)
 {
        unsigned int v, ver, maxlvt;
@@ -1061,8 +1063,11 @@
           6: Received illegal vector
           7: Illegal register address
        */
-       printk (KERN_ERR "APIC error on CPU%d: %02lx(%02lx)\n",
-               smp_processor_id(), v , v1);
+       if (apic_error_count != 0) {
+               apic_error_count--;
+               printk (KERN_ERR "APIC error on CPU%d: %02lx(%02lx)\n",
+                smp_processor_id(), v , v1);
+       }
 }
 
 /*

-- 
------------------------+--------------------------------------------------
Thomas Davis		| ASG Cluster guy
tadavis@lbl.gov		| 
(510) 486-4524		| "80 nodes and chugging Captain!"

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

end of thread, other threads:[~2001-10-01 22:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-01 21:15 endless APIC error messages Thomas Davis
2001-10-01 22:04 ` Mark Hahn
2001-10-01 22:19 ` Thomas Davis
2001-10-01 22:38   ` Alan Cox

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