From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 02:43:04 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9A11065681; Wed, 2 Jul 2008 02:43:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id D0D648FC14; Wed, 2 Jul 2008 02:43:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m622gtjQ035969; Tue, 1 Jul 2008 22:42:56 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 1 Jul 2008 22:24:21 -0400 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807012224.21358.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Tue, 01 Jul 2008 22:42:57 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7612/Tue Jul 1 19:13:47 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS, UPPERCASE_25_50 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Ivan Voras Subject: Re: 6-core CPU detection problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2008 02:43:04 -0000 On Tuesday 01 July 2008 11:56:18 am Ivan Voras wrote: > Hi, > > I have a chance, for a few hours, to test a machine build upon Xeon MP > "Dunnington" CPUs, with 2 CPUs with 6 core each (2x6). Everything works > fine except that only 4 cores are activated from each CPU: > > CPU: Genuine Intel(R) CPU @ 2.13GHz (2133.35-MHz > K8-class CPU) > Origin = "GenuineIntel" Id = 0x106d0 Stepping = 0 > > Features=0xbfebfbff > > Features2=0xce33d> > AMD Features=0x20100800 > AMD Features2=0x1 > Cores per package: 6 > usable memory = 8576860160 (8179 MB) > avail memory = 8281669632 (7898 MB) > ACPI APIC Table: <111607 APIC1739> > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > cpu4 (AP): APIC ID: 8 > cpu5 (AP): APIC ID: 9 > cpu6 (AP): APIC ID: 10 > cpu7 (AP): APIC ID: 11 > > Note that it detects 6 cores per package (which is correct) but then > proceeds to say 8 CPUs total are detected. > > Entire dmesg is here: > http://people.freebsd.org/~ivoras/dmesg/mp6-dmesg.txt > > Output of mptable is also missing the CPUs: > -- > Processors: APIC ID Version State Family Model Step Flags > 0 0x14 BSP, usable 6 13 0 0xbfebfbff > 8 0x14 AP, usable 6 13 0 0xbfebfbff > 1 0x14 AP, usable 6 13 0 0xbfebfbff > 2 0x14 AP, usable 6 13 0 0xbfebfbff > 3 0x14 AP, usable 6 13 0 0xbfebfbff > 9 0x14 AP, usable 6 13 0 0xbfebfbff > 10 0x14 AP, usable 6 13 0 0xbfebfbff > 11 0x14 AP, usable 6 13 0 0xbfebfbff > -- Presumably 'acpidump -t' also only shows 8 CPUs? In that case, the BIOS needs to be fixed to recognize all 12 cores before FreeBSD will see them. -- John Baldwin