From owner-freebsd-current@FreeBSD.ORG Wed Apr 19 19:28:41 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F381B16A401; Wed, 19 Apr 2006 19:28:40 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8213143D45; Wed, 19 Apr 2006 19:28:40 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id k3JJSZHw002635; Wed, 19 Apr 2006 15:28:35 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Wed, 19 Apr 2006 15:28:20 -0400 User-Agent: KMail/1.6.2 References: <1145467346.32933.8.camel@BrutusBSD.rochester.rr.com> <200604190728.52759.jhb@freebsd.org> <20060419203500.1b6fe404@Magellan.Leidinger.net> In-Reply-To: <20060419203500.1b6fe404@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200604191528.22342.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/1408/Wed Apr 19 11:13:11 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Alexander Leidinger , Benjamin Adams , John Baldwin Subject: Re: IBM T60 dmsg 6.1-RC1 (problems will test patches) 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, 19 Apr 2006 19:28:41 -0000 On Wednesday 19 April 2006 02:35 pm, Alexander Leidinger wrote: > Am Wed, 19 Apr 2006 07:28:51 -0400 > > schrieb John Baldwin : > > On Wednesday 19 April 2006 01:22 pm, Benjamin Adams wrote: > > > I don't think the kernel is using dual core corrently. 6.0 and > > > 7.0 did not reconize my acpi_bus for my hard drive. > > > Also built in Wireless is not detected, Maybe other problems? > > > > Aside from the wireless it all looks (mostly) ok to me. > > > > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > > cpu0 (BSP): APIC ID: 0 > > > cpu1 (AP): APIC ID: 1 > > > > These are your two cores, though FreeBSD thinks they are HTT > > instead of dual cores for some reason. You can toggle the > > 'machdep.hyperthreading_allowed' sysctl to make the kernel > > schedule threads onto the second core though. > > This is because Intel wants the Dual-Core to work with Windows XP. > They (and AMD) decided to change the semantic of the HTT bits. A > summary of a german article about this is at > > http://lists.freebsd.org/pipermail/cvs-all/2006-April/166131.html > > Feel free to ask for some specific details, I will translate those > parts then. RELENG_6 does not *display* number of cores but -CURRENT should: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/amd64/identcpu.c.diff?r1=1.136&r2=1.140 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/i386/identcpu.c.diff?r1=1.150&r2=1.145 One thing that I neglected to MFC... :-( Actual HTT core detection is done with different algorithm by nectar: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/amd64/mp_machdep.c.diff?r1=1.253&r2=1.254 Jung-uk Kim