From owner-freebsd-stable@FreeBSD.ORG Thu Jan 7 08:05:12 2010 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 7B3991065676 for ; Thu, 7 Jan 2010 08:05:12 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 60C498FC0A for ; Thu, 7 Jan 2010 08:05:11 +0000 (UTC) Received: from OMTA21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id SY2H1d0051u4NiLA3Y5C8R; Thu, 07 Jan 2010 08:05:12 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by OMTA21.emeryville.ca.mail.comcast.net with comcast id SY5B1d0043S48mS8hY5C48; Thu, 07 Jan 2010 08:05:12 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id C2A7E1E301C; Thu, 7 Jan 2010 00:05:10 -0800 (PST) Date: Thu, 7 Jan 2010 00:05:10 -0800 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20100107080510.GA57413@icarus.home.lan> References: <20100105192746.cc627795.lehmann@ans-netz.de> <20100107063413.614058fc.lehmann@ans-netz.de> <20100107063831.GA53300@icarus.home.lan> <20100107074805.59556.qmail@avocado.salatschuessel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100107074805.59556.qmail@avocado.salatschuessel.net> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: smb driver for Nvidia ION (intel ATOM) chipset 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: Thu, 07 Jan 2010 08:05:12 -0000 On Thu, Jan 07, 2010 at 08:48:05AM +0100, Oliver Lehmann wrote: > Re: smb driver for Nvidia ION (intel ATOM) chipset writes: > > >It's easy to get confused by the state of hardware monitoring on not > >only FreeBSD but other OSes as well; they all make it sound like > >monitoring things "just magically works with SMBus", and that isn't the > > This is what I was thinking so far - yeah exactly ;) > I'v now went deeper into mbmon's source and found that stuff out > sorta... > > Looks like I've to do some more research what really is on my board > first. > > Using the ISA-IO access method mbmon thinks I've a LM78 and mbmon > even works but I'm getting false numbers for probably just > everything... > > root@nudel xmbmon205> mbmon > > Temp.= 185.0, 0.0, 0.0; Rot.= 835, 30681, 18750 > Vcore = 1.10, 1.81; Volt. = 3.39, 4.95, 8.21, -7.51, -3.24 > ^C This is the exact sort of situation I was referring to -- at this point your system may be unstable. The mbmon software has initiated a raw LPC (ISA) I/O request on a port which obviously is not tied to an LM78 H/W monitoring IC. Who knows what all of the writes and reads to those offsets just did. I would recommend you reboot and/or power cycle this box ASAP given the nature of what transpired. One has to be very careful when operating with /dev/io that the proper (LPC/ISA) ports are used. The same applies to most bus architectures (SMBus, PCI, etc.), though in the case of PCI, there's existing infrastructure to find out what's on the bus properly. There isn't such with SMBus and LPC/ISA. Now you see why I strongly discourage auto probing. :-) > root@nudel xmbmon205> mbmon -d > SMBus[NVidia nForce2] found, but No HWM available on it!! > Using ISA-IO access method!! > * Nat.Semi.Con. Chip LM78 found. > root@nudel xmbmon205> Yeah, this looks like a very bad assumption made by the software. You're very likely going to have to end up mailing the board manufacturer/vendor and asking them -- that is, assuming there's a H/W monitoring IC on the board at all. If you have access to Windows 2K/XP, you might try using some software there called SpeedFan. If it works, you'll be able to at least figure out what H/W monitoring IC is used, and if it's via SMBus or LPC/ISA. What registers, slave address, etc. it uses are a different matter altogether (I'm not sure the software discloses that). -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |