From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 14:48:03 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 3B4BC16A418; Tue, 12 Feb 2008 14:48:03 +0000 (UTC) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.freebsd.org (Postfix) with ESMTP id 903CB13C45B; Tue, 12 Feb 2008 14:48:02 +0000 (UTC) (envelope-from frank@exit.com) Received: from jill.exit.com (jill.exit.com [206.223.0.4]) by tinker.exit.com (8.14.1/8.14.1) with ESMTP id m1CEMmtT056290; Tue, 12 Feb 2008 06:22:48 -0800 (PST) (envelope-from frank@exit.com) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=exit.com; s=tinker; t=1202826168; bh=EAoq2ELeTgBC4fte8z/+TYaP/8g=; h=X-Authentication-Warning:Subject:From:Reply-To:To:Cc:In-Reply-To: References:Content-Type:Content-Transfer-Encoding:Organization: Date:Message-Id:Mime-Version:X-Mailer; b=DEOJOfJVX8IjFUgBVyuuGf6DI 0SFIN1UUu9x5qZppO6esEEg4EXA9SOIOAZ1UYAKXGKUcIEf0MJpX8QBoQN93MYU2JaU ibaY2bXEVbK8Jxc6vGrZRrXHJvJZisTLuMToexF1PI4V1IWOMvOmB/qcO+Ia8bfRJRL 4mxA1ZXqDL3I= Received: from jill.exit.com (localhost [127.0.0.1]) by jill.exit.com (8.14.1/8.14.1) with ESMTP id m1CEMmbp013235; Tue, 12 Feb 2008 06:22:48 -0800 (PST) (envelope-from frank@exit.com) Received: (from frank@localhost) by jill.exit.com (8.14.1/8.14.2/Submit) id m1CEMmA5013234; Tue, 12 Feb 2008 06:22:48 -0800 (PST) (envelope-from frank@exit.com) X-Authentication-Warning: jill.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: Rui Paulo In-Reply-To: <20080212062818.GL64299@server.vk2pj.dyndns.org> References: <20080210183600.GJ64299@server.vk2pj.dyndns.org> <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> <20080212062818.GL64299@server.vk2pj.dyndns.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Exit Consulting Date: Tue, 12 Feb 2008 06:22:47 -0800 Message-Id: <1202826167.10603.3.camel@jill.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV 0.92/5787/Tue Feb 12 03:54:30 2008 on tinker.exit.com X-Virus-Status: Clean Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 14:48:03 -0000 On Tue, 2008-02-12 at 17:28 +1100, Peter Jeremy wrote: > On Mon, Feb 11, 2008 at 08:39:18PM +0000, Rui Paulo wrote: > >> 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 ? > > It looks like it is: > claus# k8temp -d > CPUID: Vendor: AuthenticAMD, Id=0x40f82 Model=8 Family=15 Stepping=2 > Advanced Power Management=0x3f > Temperature sensor: Yes Same here: jill ~/k8temp#kldload ./k8temp.ko jill ~/k8temp#dmesg k8temp0: on hostb3 k8temp0: can't clear config registerdevice_attach: k8temp0 attach returned 6 k8temp1: on hostb7 k8temp1: can't clear config registerdevice_attach: k8temp1 attach returned 6 jill ~/k8temp#k8temp -d CPUID: Vendor: AuthenticAMD, Id=0xf5a Model=5 Family=15 Stepping=10 Advanced Power Management=0xf Temperature sensor: Yes Frequency ID control: Yes Voltage ID control: Yes THERMTRIP support: Yes HW Thermal control: No SW Thermal control: No 100MHz multipliers: No HW P-State control: No TSC Invariant: No Thermtrip=0x0b000424 (CurTmp=0x00 (-49c) TjOffset=0x0b DiodeOffset=0x04 (7c)) Thermtrip=0x0b510420 (CurTmp=0x51 (32c) TjOffset=0x0b DiodeOffset=0x04 (7c)) CPU 0 Core 1 Sensor 0: 32c Thermtrip=0x005a0f20 (CurTmp=0x5a (41c) TjOffset=0x00 DiodeOffset=0x0f (-4c)) CPU 1 Core 1 Sensor 0: 41c -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ http://www.zazzle.com/fmayhar*