From owner-freebsd-stable@FreeBSD.ORG Tue May 10 16:48:50 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 209F916A4CE for ; Tue, 10 May 2005 16:48:50 +0000 (GMT) Received: from stephanie.unixdaemons.com (stephanie.unixdaemons.com [67.18.111.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CFA43D9E for ; Tue, 10 May 2005 16:48:49 +0000 (GMT) (envelope-from bmilekic@technokratis.com) Received: from stephanie.unixdaemons.com (bmilekic@localhost.unixdaemons.com [127.0.0.1])j4AGmleS076307; Tue, 10 May 2005 12:48:47 -0400 (EDT) Received: (from bmilekic@localhost) by stephanie.unixdaemons.com (8.13.4/8.12.1/Submit) id j4AGmk6Y076306; Tue, 10 May 2005 12:48:46 -0400 (EDT) (envelope-from bmilekic@technokratis.com) X-Authentication-Warning: stephanie.unixdaemons.com: bmilekic set sender to bmilekic@technokratis.com using -f Date: Tue, 10 May 2005 12:48:46 -0400 From: Bosko Milekic To: Pete French Message-ID: <20050510164846.GA76082@technokratis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: HTT/SMP does not start 2nd processor X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 16:48:50 -0000 Make sure the acpi kernel module is being loaded on startup. See acpi(4). -Bosko On Tue, May 10, 2005 at 04:57:47PM +0100, Pete French wrote: > I have two P4 machines here, both with processors supporting hyperthreading, > and running identical SMP kernels from 5.4-RELEASE. One runs with two > logical processors and the oother doesn't. This has been puzlling me all day. > > On the machine where the second CPU does not start up, HTTP is > enabled in the BIOS, and I get the following in dmesg: > > CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > Features=0xbfebfbff MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Hyperthreading: 2 logical CPUs > real memory = 536739840 (511 MB) > avail memory = 515579904 (491 MB) > MPTable: > ioapic0: Changing APIC ID to 1 > ioapic0: Assuming intbase of 0 > ioapic0 irqs 0-23 on motherboard > > On the one which starts up the 2nd CPU the equivalent part is: > > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > Features=0xbfebfbff MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Hyperthreading: 2 logical CPUs > real memory = 536301568 (511 MB) > avail memory = 515137536 (491 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 8 > ioapic1: Changing APIC ID to 9 > ioapic2: Changing APIC ID to 10 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-47 on motherboard > ioapic2 irqs 48-71 on motherboard > > So both are reporting 2 logical CPU's, but only the second is then > detecting this as a multiprocessor system. I notice that one syas > it is using an ACPI APIC table and the other (that does not start) is > just finding an MPTable. That seems to be the difference between them. > > Does anyone have any suggestions ? I dont really understand how this > stuff is detected, so I am not sure how to sart digging into this. It > is obviously finding a dual CPU processor, so why isn't it then detecting > it as a multiprocessor system ? > > *puzzled* > > -pcf. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Bosko Milekic bmilekic@technokratis.com bmilekic@FreeBSD.org