DragonFly bugs List (threaded) for 2008-07
DragonFly BSD
DragonFly bugs List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: SMP Panic: no local apic


From: Joe Talbott <josepht@xxxxxxxxxx>
Date: Thu, 17 Jul 2008 15:36:52 -0400
Mail-followup-to: Petr Janda <elekktretterr@exemail.com.au>, bugs@crater.dragonflybsd.org

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;
 	}


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