Re: 2.6.10-rc1-mm5

From: Zwane Mwaikambo
Date: Sat Nov 13 2004 - 17:16:33 EST


On Sun, 14 Nov 2004, Stas Sergeev wrote:

> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc1/2.6.10-rc1-mm5/
> Here are the few new problems that
> I've got:
>
> 1. Local APIC stopped working. I know
> I have to add "lapic" to the command-line,
> but now this doesn't help (in -mm4 either
> I think). dmesg says:
> ---
> Kernel command line: ro root=/dev/hdc2 apm=power-off lapic nmi_watchdog=1
> ...
> Local APIC not detected. Using dummy APIC emulation.
> ---
> Is this known? Any other command-line option
> to enable it again?

Could you please apply the following patch and supply full dmesg?

Thanks.

Index: linux-2.6.10-rc1-mm5/arch/i386/kernel/apic.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.10-rc1-mm5/arch/i386/kernel/apic.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 apic.c
--- linux-2.6.10-rc1-mm5/arch/i386/kernel/apic.c 11 Nov 2004 17:24:27 -0000 1.1.1.1
+++ linux-2.6.10-rc1-mm5/arch/i386/kernel/apic.c 13 Nov 2004 22:12:39 -0000
@@ -733,8 +733,10 @@ static int __init detect_init_APIC (void
extern void get_cpu_vendor(struct cpuinfo_x86*);

/* Disabled by kernel option? */
- if (enable_local_apic < 0)
+ if (enable_local_apic < 0) {
+ printk("%s:%d\n", __FILE__, __LINE__);
return -1;
+ }

/* Workaround for us being called before identify_cpu(). */
get_cpu_vendor(&boot_cpu_data);
@@ -760,6 +762,7 @@ static int __init detect_init_APIC (void
* APIC only if "lapic" specified.
*/
if (enable_local_apic <= 0) {
+ printk("%s:%d\n", __FILE__, __LINE__);
apic_printk(APIC_VERBOSE,
"Local APIC disabled by BIOS -- "
"you can enable it with \"lapic\"\n");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/