From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 21:54:14 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 D16E616A41B for ; Sun, 10 Feb 2008 21:54:14 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superman.superhero.nl (superhero.nl [82.95.198.17]) by mx1.freebsd.org (Postfix) with ESMTP id 30B1E13C457 for ; Sun, 10 Feb 2008 21:54:13 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 62918 invoked by uid 80); 10 Feb 2008 21:27:11 -0000 Received: from 10.202.77.197 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Sun, 10 Feb 2008 22:27:10 +0100 (CET) Message-ID: <1678.10.202.77.197.1202678830.squirrel@webmail.superhero.nl> In-Reply-To: References: Date: Sun, 10 Feb 2008 22:27:10 +0100 (CET) From: "Gelsema, P \(Patrick\)" To: "Rui Paulo" User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Sun, 10 Feb 2008 23:57:33 +0000 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: Sun, 10 Feb 2008 21:54:14 -0000 On Sun, February 10, 2008 16:59, Rui Paulo wrote: > Hi, > 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. > > Get it at: > http://people.freebsd.org/~rpaulo/k8temp.tgz > > Compile/test with: > $ tar xzvf k8temp.tgz && cd k8temp > $ make SYSDIR=/path/to/src/sys > # kldload ./k8temp.ko > hulk# uname -a FreeBSD hulk.superhero.nl 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 18:52:08 CET 2007 admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC amd64 hw.machine: amd64 hw.model: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ hw.ncpu: 2 hulk# sysctl -a | grep k8temp k8temp0: on hostb3 k8temp0: 16 20 11 7 dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb3 dev.k8temp.0.sensor0.core0: 19 dev.k8temp.0.sensor0.core1: 21 dev.k8temp.0.sensor1.core0: 19 dev.k8temp.0.sensor1.core1: 19 Rgds, Patrick > This is still pre-alpha quality, so please don't use it on a > production system. > > Thanks in advance. > -- > Rui Paulo > > > > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" >