SMP Panic: no local apic

Joe Talbott josepht at cstone.net
Thu Jul 17 12:37:52 PDT 2008


On Sat, Dec 01, 2007 at 08:57:09PM +1100, Petr Janda wrote:
> Hi all again,
> I just acquired a new laptop(Fujitsu V1010) that has a Core Duo (not Core 2 
> Duo). While UP seems to work fine, any SMP kernel, with(out) IO_APIC and 
> with(out) ACPI immediately panics after the boot menul, saying no local apic.
> 
> I have no idea what it means or how I can fix it, so Im asking you guys :) How 
> can we get this fixed?
> 

Petr,

Try this patch.

Joe
Index: sys/platform/pc32/i386/mp_machdep.c
===================================================================
RCS file: /home/dcvs/src/sys/platform/pc32/i386/mp_machdep.c,v
retrieving revision 1.60
diff -u -r1.60 mp_machdep.c
--- sys/platform/pc32/i386/mp_machdep.c	7 Jun 2008 12:03:52 -0000	1.60
+++ sys/platform/pc32/i386/mp_machdep.c	17 Jul 2008 19:31:32 -0000
@@ -347,7 +347,7 @@
 			goto found;
 	} else {
 		/* last 1K of base memory, effective 'top of base' passed in */
-		target = (u_int32_t) (base_memory - 0x400);
+		target = (u_int32_t) ((base_memory * 1024) - 0x400);
 		if ((x = search_for_sig(target, 1024 / 4)) >= 0)
 			goto found;
 	}




More information about the Bugs mailing list