From owner-freebsd-current@FreeBSD.ORG Mon May 4 06:34:49 2009 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 DBCD51065673; Mon, 4 May 2009 06:34:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 8A75E8FC14; Mon, 4 May 2009 06:34:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=hvX47kS6qiNbvqGCtap0IFb6UKa7VQ1TMtOL0WHgve/4zaexBRTuoNphHKyu4bHW80vZtvuNB7DVvi799ucvcLPeOpoYa6gQ5egTkOohwDlEFYZAGaXGKo2j+RAuPAJWGGkkVC1qh3hJgOy8Qreyw803r8ujRt8De/W+YrW6n0I=; Received: from amnesiac.at.no.dns (ppp85-141-64-167.pppoe.mtu-net.ru [85.141.64.167]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1M0rlI-000MzV-9r; Mon, 04 May 2009 10:34:48 +0400 Date: Mon, 4 May 2009 10:34:45 +0400 From: Eygene Ryabinkin To: Robert Noland Message-ID: References: <1241418372.78715.1.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1241418372.78715.1.camel@balrog.2hip.net> Sender: rea-fbsd@codelabs.ru Cc: freebsd-current@freebsd.org Subject: Re: Patch for "device_attach: estX attach returned 6" on half of the cores X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 06:34:50 -0000 Robert, good day. Mon, May 04, 2009 at 01:26:12AM -0500, Robert Noland wrote: > On Mon, 2009-05-04 at 09:22 +0400, Eygene Ryabinkin wrote: > > Good day. > > > > Recently I had filed a PR, > > http://www.freebsd.org/cgi/query-pr.cgi?pr=134192 > > that should heal the situation when estX isn't attached properly > > on the half of processor cores (the odd ones). I am seeing this > > only on Asus MBs, but this could show up on other hardware as well. > > > > If anyone sees such symptoms, I encourage them to test the patch. > > The patch itself contained in the PR, but for ease I had put it > > there, > > http://codelabs.ru/fbsd/patches/acpi/attach-children-without-aliases.diff > > and will sync PR's one and this one in the case of any changes. > > I'm seeing this on both an ASUS and an Intel board that I have. Both > have core2duo E7400's in them. I have applied this patch to the Intel > board so far, but unfortunately now both cores fail equally. > > cpu0: on acpi0 > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 6164a2306004a23 > device_attach: est0 attach returned 6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This means that most likely you don't have _PSS entries in your DSDT table at all. The patch helps in the case when some processor names are aliased _and_ half of processors are attached properly even without this patch. One could check if the patch will help by examining the output of 'apicdump -d' and looking for the Alias () directives for the Processor objects. Here's what I have for my laptop: ----- Scope (_PR) { Processor (P001, 0x01, 0x00000810, 0x06) {} Alias (P001, CPU1) } Scope (_PR) { Processor (P002, 0x02, 0x00000810, 0x06) {} Alias (P002, CPU2) } ----- So in this case we essentially have 4 Processor objects under _PR, but only two objects are real ones and only they should be attached. For the completeness, could you, please, show the output of 'acpidump -dt 2>&1' for both of your machines? Thanks! -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #