From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:39:23 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0A1B16A420 for ; Mon, 11 Feb 2008 20:39:23 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 32E4A13C46B for ; Mon, 11 Feb 2008 20:39:22 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so597414uge.37 for ; Mon, 11 Feb 2008 12:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=PtxYYtuzmPM3sWijuMnp1AATA7cQTF2ywP6cr0hWTnY=; b=bAAzPk/SIfygjrZ8sPyUi9khLnwyA00KDORSMIgw7rOB5a/I0jXJQCT8vn+SC7Jiw1kYZQUJjI3x2D2UjVzDGaf8iwKSL09EmwwdD5MbCrv9W+UVDjednzp8PlFZNAIICfzQLenhzNdZqNgnvTMfIp7NgDmBT/Z9M54dQcHV6GE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=vnutvCHMmW0ItHpeo3JNtc0Zxjs/c5MMBXfr3+BfvoL7xxS4ubo7uAoarbEaJnBgI4VcROCtDv665QX8QcvrPtNbXYrLirNIYN1hd74QmWb7IGouILIW2OAzeLOssglMIvKSTDe6IrgKCjSc6nYguGjNgUQ7hXw8YHk5WAbJnXA= Received: by 10.66.254.19 with SMTP id b19mr9544078ugi.7.1202762361556; Mon, 11 Feb 2008 12:39:21 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id j8sm6310087gvb.7.2008.02.11.12.39.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:39:20 -0800 (PST) Message-Id: <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> From: Rui Paulo To: Peter Jeremy In-Reply-To: <20080210183600.GJ64299@server.vk2pj.dyndns.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:39:18 +0000 References: <20080210183600.GJ64299@server.vk2pj.dyndns.org> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:39:23 -0000 On Feb 10, 2008, at 6:36 PM, Peter Jeremy wrote: > On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote: >> Some AMD systems have two thermal sensors on both cores. I wrote a >> simple >> driver to access these temperatures, but I don't have a system to >> test. If >> anyone has a AMD K8 system, I would love if you could test the k8temp >> driver that I wrote based on the Linux one. > > I'll report a failure on a TurionX2 laptop: > CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1607.33-MHz K8- > class CPU) > Origin = "AuthenticAMD" Id = 0x40f82 Stepping = 2 > > Features > = > 0x178bfbff > < > FPU > ,VME > ,DE > ,PSE > ,TSC > ,MSR > ,PAE > ,MCE > ,CX8 > ,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x2001 > AMD Features=0xea500800 3DNow!> > AMD Features2=0x1f > Cores per package: 2 > > Loading k8temp gives: > Feb 11 05:32:41 claus kernel: k8temp0: on > hostb3 > Feb 11 05:32:41 claus kernel: k8temp0: can't clear config > registerdevice_attach: k8temp0 attach returned 6 Hmm. I'm not sure your CPU is supported. Could you try sysutils/k8temp and run it with the -d argument ? Thanks. -- Rui Paulo