From owner-freebsd-smp@FreeBSD.ORG Tue Jul 15 07:09:48 2003 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD82C37B401; Tue, 15 Jul 2003 07:09:47 -0700 (PDT) Received: from ztxmail04.ztx.compaq.com (ztxmail04.ztx.compaq.com [161.114.1.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCEE943FBF; Tue, 15 Jul 2003 07:09:46 -0700 (PDT) (envelope-from john.cagle@hp.com) Received: from cceexg11.americas.cpqcorp.net (cceexg11.americas.cpqcorp.net [16.110.250.125]) by ztxmail04.ztx.compaq.com (Postfix) with ESMTP id 6EC0EBC43; Tue, 15 Jul 2003 09:09:46 -0500 (CDT) Received: from cceexc19.americas.cpqcorp.net ([16.110.250.85]) by cceexg11.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.6673); Tue, 15 Jul 2003 09:09:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 15 Jul 2003 09:09:44 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: maximum of CPUs Thread-Index: AcNKUe86aWvnFoLzT2yHU0Zljs7bcAAhg08w From: "Cagle, John (ISS-Houston)" To: "John Baldwin" X-OriginalArrivalTime: 15 Jul 2003 14:09:45.0343 (UTC) FILETIME=[BE5A70F0:01C34ADA] cc: freebsd-smp@freebsd.org cc: =?us-ascii?Q?Patrik_Veselik?= Subject: RE: maximum of CPUs X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 14:09:48 -0000 > Well, the problem is that the original APIC's only supported=20 > 15 physical > APIC IDs. The (x)APIC's from Pentium4+ support 255 physical APIC IDs. > If the BIOS does the right thing as far as providing ID's for the I/O > APICs in the mptable and/or ACPI MADT, future versions of=20 > FreeBSD should > work just fine. >=20 > --=20 >=20 > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/=20 John, The BIOS on our 8-way does list all 3 IOAPICs in the mptable (not the local APICs), but it does not list the logical processors, only the physical processors: Processors: APIC ID Version State Family Model Step Flags 0 0x14 BSP, usable 15 2 2 0x3febfbff 2 0x14 AP, usable 15 2 2 0x3febfbff 4 0x14 AP, usable 15 2 2 0x3febfbff 6 0x14 AP, usable 15 2 2 0x3febfbff 8 0x14 AP, usable 15 2 2 0x3febfbff 10 0x14 AP, usable 15 2 2 0x3febfbff 12 0x14 AP, usable 15 2 2 0x3febfbff 14 0x14 AP, usable 15 2 2 0x3febfbff -- I/O APICs: APIC ID Version State Address 8 0x11 usable 0xfec00000 9 0x11 usable 0xfec01000 10 0x11 usable 0xfec02000 Is this what you would expect to see on an 8-way server that supports hyperthreading? Thanks, John P.S. Here is the panic that I get currently: CPU: Intel(R) XEON(TM) MP CPU 1.50GHz (1499.46-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf22 Stepping =3D 2 =20 Features=3D0x3febfbff Hyperthreading: 2 logical CPUs real memory =3D 2147418112 (2047 MB) avail memory =3D 2082279424 (1985 MB) panic: No free physical APIC IDs found cpuid =3D 0; lapic.id =3D 00000000 Debugger("panic") Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0 db> trace Debugger(c050d3ac,0,c0527df1,c0792d24,100) at Debugger+0x55 panic(c0527df1,8,1,5,c3b083cc) at panic+0x13f fix_mp_table(0,c059cb50,c0792d80,c0499b1e,c0527846) at fix_mp_table+0x1b5 mp_enable(9f000,c0792d80,c0334901,c060a060,c0510056) at mp_enable+0x5a cpu_mp_start(c060a060,c0510056,0,1,c0792d98) at cpu_mp_start+0x3d mp_start(0,78f000,78fc00,78f000,0) at mp_start+0x41 mi_startup() at mi_startup+0xb5 begin() at begin+0x2c