rpms/kernel/devel linux-2.6-x86_64-silence-up-apic-errors.patch, NONE, 1.1 kernel-2.6.spec, 1.1743, 1.1744

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Dec 7 20:21:12 UTC 2005


Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15318

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6-x86_64-silence-up-apic-errors.patch 
Log Message:
hush apic errors.


linux-2.6-x86_64-silence-up-apic-errors.patch:
 apic.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE linux-2.6-x86_64-silence-up-apic-errors.patch ---
Quite a few UP x86-64 laptops print APIC error 40's repeatedly
when they run an SMP kernel (And Fedora doesn't ship a UP x86-64 kernel
any more).  We can suppress this as there's not really anything we
can do about them.

--- linux-2.6.14/arch/x86_64/kernel/apic.c~	2005-12-07 15:17:33.000000000 -0500
+++ linux-2.6.14/arch/x86_64/kernel/apic.c	2005-12-07 15:18:16.000000000 -0500
@@ -1032,7 +1032,8 @@ asmlinkage void smp_error_interrupt(void
 	   6: Received illegal vector
 	   7: Illegal register address
 	*/
-	printk (KERN_DEBUG "APIC error on CPU%d: %02x(%02x)\n",
+	if (num_online_cpus > 1)
+		printk (KERN_DEBUG "APIC error on CPU%d: %02x(%02x)\n",
 	        smp_processor_id(), v , v1);
 	irq_exit();
 }


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.1743
retrieving revision 1.1744
diff -u -r1.1743 -r1.1744
--- kernel-2.6.spec	7 Dec 2005 18:38:06 -0000	1.1743
+++ kernel-2.6.spec	7 Dec 2005 20:21:09 -0000	1.1744
@@ -215,6 +215,7 @@
 Patch201: linux-2.6-x86-apic-off-by-default.patch
 Patch202: linux-2.6-x86-vga-vidfail.patch
 Patch203: linux-2.6.14-intel-cache-build.patch
+Patch204: linux-2.6-x86_64-silence-up-apic-errors.patch
 
 # 300 - 399   ppc(64)
 Patch300: linux-2.6.15-default-powerpc.patch
@@ -596,6 +597,8 @@
 %patch202 -p1
 # exitfunc called from initfunc.
 %patch203 -p1
+# Suppress APIC errors on UP x86-64.
+%patch204 -p1
 
 # 
 # ppc64
@@ -1310,6 +1313,7 @@
 %changelog
 * Wed Dec  7 2005 Dave Jones <davej at redhat.com>
 - Merge slab leak detector.
+- Suppress APIC errors on UP x86-64. (#175193)
 
 * Tue Dec  6 2005 Dave Jones <davej at redhat.com>
 - Test build with gcc4.1




More information about the fedora-cvs-commits mailing list