Re: Suppress APIC errors on UP x86-64.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 24 February 2006 02:42, Dave Jones wrote:
> 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.

No we need to fix the APIC errors, not hide them.

-Andi

> 
> Signed-off-by: Dave Jones <[email protected]>
> 
> --- 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();
>  }
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux