Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2006 21:30:20 GMT
From:      Rainer Alves <rainer.alves@gmail.com>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/104678: SMP not working on Turion XP Laptop
Message-ID:  <200611182130.kAILUKvB004040@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/104678; it has been noted by GNATS.

From: Rainer Alves <rainer.alves@gmail.com>
To: Ariff Abdullah <ariff@FreeBSD.org>
Cc: Bruce Evans <bde@zeta.org.au>,  bug-followup@FreeBSD.org, 
 danolson@visi.com,  infofarmer@FreeBSD.org,  jhb@FreeBSD.org
Subject: Re: i386/104678: SMP not working on Turion XP Laptop
Date: Sat, 18 Nov 2006 19:26:11 -0200

 Ariff Abdullah wrote:
 > Currently, this is my crude crack on
 > machdep.c (both for i386 and amd64):
 > 
 ...
 > 	if (cpu_idle_hlt) {
 > 		disable_intr();
 >   		if (sched_runnable())
 > 			enable_intr();
 > 		else if (PCPU_GET(cpuid) == 0) <<<<<
 > 			enable_intr();         <<<<<
 > 		else
 > 			(*cpu_idle_hook)();
 > 	}
 
 Thanks, with the above patch my system is now working properly, and I'm 
 (finally) able to use both CPU cores.
 
 CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1607.33-MHz K8-class CPU)
    Origin = "AuthenticAMD"  Id = 0x40f82  Stepping = 2
    Cores per package: 2
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
   cpu0 (BSP): APIC ID:  0
   cpu1 (AP): APIC ID:  1
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 
 --
 Rainer Alves
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611182130.kAILUKvB004040>