From owner-freebsd-stable@FreeBSD.ORG Thu Jul 15 12:27:41 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE768106564A for ; Thu, 15 Jul 2010 12:27:41 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE788FC0C for ; Thu, 15 Jul 2010 12:27:41 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o6FCROw1068669; Thu, 15 Jul 2010 14:27:40 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o6FCROGd068668; Thu, 15 Jul 2010 14:27:24 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <201007151227.o6FCROGd068668@lurza.secnetix.de> To: avg@icyb.net.ua (Andriy Gapon) Date: Thu, 15 Jul 2010 14:27:24 +0200 (CEST) In-Reply-To: <4C3EF8FA.4080005@icyb.net.ua> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Thu, 15 Jul 2010 14:27:40 +0200 (CEST) Cc: freebsd-stable@FreeBSD.ORG Subject: Re: 8.1-PRERELEASE: CPU packages not detected correctly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2010 12:27:41 -0000 Andriy Gapon wrote: > on 15/07/2010 14:58 Oliver Fromme said the following: > > Andriy Gapon wrote: > > > Could you please try to do the following? > > > 1. Fetch topo-12212009.tar from the top of this page: > > > http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/ > > > 2. Untar it and apply this patch to the code: > > > http://people.freebsd.org/~avg/cpu-topology.diff > > > 3. Compile it by running sh mk_64.sh (supposing you have amd64 system installed) > > > 4. Run cpu_topology64.out and report back its output. > > > > Ok, did that. This tool seems to get it right, i.e. it > > detects 2 packages with 4 cores each. Here's the output: > > Great! > So perhaps you can now test jkim's patch posted in this thread? Unfortunately, it didn't change. Kernel output during boot is still the same; it displays 1 package x 8 cores. Best regards Oliver PS: "make kernel -j 10" took exactly 8 minutes on this box. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925