From owner-freebsd-current@FreeBSD.ORG Wed Sep 12 16:29:46 2007 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 9857216A421; Wed, 12 Sep 2007 16:29:46 +0000 (UTC) (envelope-from cnst@FreeBSD.org) Received: from mojo.ru (mojo.ru [84.252.152.63]) by mx1.freebsd.org (Postfix) with ESMTP id 0573313C457; Wed, 12 Sep 2007 16:29:45 +0000 (UTC) (envelope-from cnst@FreeBSD.org) Received: from [192.168.0.16] (nc-76-4-28-21.dhcp.embarqhsd.net [76.4.28.21]) (authenticated bits=0) by mojo.ru (8.12.11.20060308/8.12.10) with ESMTP id l8CGTiOQ010109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Sep 2007 20:29:53 +0400 Message-ID: <46E813EA.4020908@FreeBSD.org> Date: Wed, 12 Sep 2007 12:29:30 -0400 From: "Constantine A. Murenin" Organization: Google Summer of Code 2007 Student @ The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-gb, en-gb-oed, en, en-us, ru, ru-ru, ru-su MIME-Version: 1.0 To: Harald Schmalzbauer , freebsd-current@FreeBSD.org References: <200708210339.l7L3dUX0038042@repoman.freebsd.org> <200708260054.42892.h.schmalzbauer@omnisec.de> <46D0BEEF.1020601@FreeBSD.org> <200709112348.07052.h.schmalzbauer@omnisec.de> In-Reply-To: <200709112348.07052.h.schmalzbauer@omnisec.de> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: Shteryana Shopova , "Constantine A. Murenin" Subject: Re: GSoC2007: cnst-sensors.2007-08-20.patch 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, 12 Sep 2007 16:29:46 -0000 On 11/09/2007 17:47, Harald Schmalzbauer wrote: > Am Sonntag, 26. August 2007 01:44:47 schrieb Constantine A. Murenin: > [schnip] > >>P.S. BTW, please do report back how the tests went. Don't forget to >>include the information on which exact chip you tested (for example, you >>might have tried this code on Winbond W83627DHG and Core 2 Duo E4300). > > > Hello, > > I had only tested some newer hardware with core2 CPU (E6750) and coretemp > doesn't report correct values for that CPU (25œC, this is at least 10œ Thanks, but this must be a bug in the default coretemp(4), not really related to the framework, so you might want to report to rpaulo@, cc'ing des@ and cnst@. > difference) and the boards doesn't neccessarily have a HW monitor chip, so I > haven't reported anything yet. > > But, > I'm about to test some VIA C7 boards and accidentaly found that if I disable > ACPI (hint.acpi.0.disabled=1), dmesg shows a lm sensor: > lm0: at port 0x290-0x297 on isa0 > > Also systat -sensors shows adaequat values corresponding to what the BIOS HW > monitor reports. > > But as soon as I boot default with ACPI enabled, lm0 vanishes. It's probably something to do with ACPI (duh!), I'm not certain what it is or why it happens. I have the following chip: lm0: at port 0x290-0x297 on isa0 And it works fine with acpi turned on, so I tend to think that you're experiencing a bug that is somewhere else in the tree. > Thanks for any hints. > > -Harry > > P.S. The patch doesn't apply cleanly for the sysctl man page, haven't had time > to investigate yet. That's a good thing, because it means that some fixes were already integrated into CVS. ;) P.S. I'll have a new patch soon, which will improve sysctl(3) support and compatibility with OpenBSD, will feature sysctl(8) support, and will include a new driver for ITE Tech Super I/O Hardware Monitors, too. ;) C.