From owner-freebsd-stable@FreeBSD.ORG Fri Sep 12 17:47:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98742106566C; Fri, 12 Sep 2008 17:47:09 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 56AB88FC13; Fri, 12 Sep 2008 17:47:09 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id D4BA2160B41; Fri, 12 Sep 2008 13:47:08 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 12 Sep 2008 13:47:08 -0400 X-Sasl-enc: ES7PtMPstbq+h7ZaIcyd0m8M0ZO30oG3MkG1STChhe/H 1221241628 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id C3BD53A802; Fri, 12 Sep 2008 13:47:07 -0400 (EDT) Message-ID: <48CAAB1A.9070502@incunabulum.net> Date: Fri, 12 Sep 2008 18:47:06 +0100 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: Jeremy Chadwick References: <48C927DC.6000202@incunabulum.net> <48C932D9.50604@thekeelecentre.com> <48C934D1.5030703@incunabulum.net> <48C93582.3080107@thekeelecentre.com> <48C93903.5060604@protected-networks.net> <20080912072037.GC49512@icarus.home.lan> In-Reply-To: <20080912072037.GC49512@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD stable , Richard Tector Subject: Re: Any working ichsmb(4) platforms out there? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2008 17:47:09 -0000 Jeremy Chadwick wrote: > I'm trying my best to make things better, doing things purely from a > userland perspective and using SMBus exclusively (since the interface is > quite reliable, assuming the SMBus driver used on FreeBSD is working > correctly). I understand-- Bruce is having problems with ichsmb(4), > while on every ICH7 board I have (and I have many), I've had nothing but > success. All of bsdhwmon's main development has been done on ICH7 > boards I use and have physical access to, for example. I fished out the A/Open MX3S board I have. It seems to have an ICH2 south bridge. An old version of Gentoo I had installed finds the ICH2. mbmon is able to talk to a Winbond chip over ISA; it sees an SMBus slave 0xA0/0x50, I don't know what that is yet. I got this board years ago, I think because it does actually support smbus. I'm just futzing with Gentoo now to get the HWMON and other i2c drivers up. i2c-i801.ko probes and attaches. i2c-dev.ko created /dev/i2c* nodes ok. I then downloaded i2c-tools from http://www.lm-sensors.org/wiki/I2CTools and built it. %%% raisin i2c-tools-3.0.1 # /usr/local/sbin/i2cdetect 3 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c/3. I will probe address range 0x03-0x77. Continue? [Y/n] Y 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: 30 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- %%% %%% raisin i2c-tools-3.0.1 # mbmon -S -D Probe Request: none >>> Testing Reg's at SMBus <<< [Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5/ICH6), IO-Base:0x5000] SMBus slave 0xA0(0x50) found... SMBus[Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5/ICH6)] found, but No HWM available on it!! InitMBInfo: Success %%% Likely these are old versions of the mbmon tools. %%%raisin i2c-tools-3.0.1 # /usr/local/sbin/i2cdump 3 0x50 b 0 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c/3, address 0x50, mode byte Continue? [Y/n] Y 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 80 08 04 0c 0a 01 40 00 01 80 60 00 80 08 00 01 ??????@.??`.??.? 10: 8f 04 06 01 01 00 0e a0 60 00 00 14 14 14 32 20 ?????.??`..???2 20: 20 10 20 10 00 00 00 00 00 00 00 00 00 00 00 00 ? ?............ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 f6 ..............?? 40: 2c ff ff ff ff ff ff ff 08 38 4c 53 44 54 31 36 ,.......?8LSDT16 50: 36 34 41 47 2d 31 30 45 45 31 20 01 00 03 10 6c 64AG-10EE1 ?.??l 60: 08 95 7e 00 00 00 00 00 00 00 00 00 00 00 00 00 ??~............. 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 af ..............d? 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ %%% Hey, that looks like a Micron DIMM. I didn't see anything on the other two i2c bus addresses. So I can confirm SMBus works on the MX3S from Linux 2.6.x. I'll blow it away with 7.1-BETA and see what happens next. cheers BMS