From owner-freebsd-questions@FreeBSD.ORG Sun Jul 24 09:15:46 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C56C16A41F; Sun, 24 Jul 2005 09:15:46 +0000 (GMT) (envelope-from jonny@jonny.eng.br) Received: from coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA47643D45; Sun, 24 Jul 2005 09:15:45 +0000 (GMT) (envelope-from jonny@jonny.eng.br) Received: from localhost (localhost [127.0.0.1]) by coe.ufrj.br (Postfix) with ESMTP id BDCA317008; Sun, 24 Jul 2005 06:15:44 -0300 (BRT) Received: from coe.ufrj.br ([146.164.53.65]) by localhost (roma.coe.ufrj.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84119-03; Sun, 24 Jul 2005 06:15:41 -0300 (BRT) Received: from [200.217.89.237] (unknown [200.217.89.237]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by coe.ufrj.br (Postfix) with ESMTP id 6C71417003; Sun, 24 Jul 2005 06:15:40 -0300 (BRT) Message-ID: <42E35C1F.1030004@jonny.eng.br> Date: Sun, 24 Jul 2005 06:15:11 -0300 From: =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= References: <42DE8877.6050808@jonny.eng.br> <8xoe8x9qtu.e8x@mail.opusnet.com> <42DFAF63.5080708@jonny.eng.br> <42E30DFF.4050000@jonny.eng.br> In-Reply-To: <42E30DFF.4050000@jonny.eng.br> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAADBQ TFRFAAAAgAAAAIAAgIAAAACAgACAAICAgICAwMDA/wAAAP8A//8AAAD//wD/AP//////ex+xxAAA Ac9JREFUOMtdk8FupDAMhr1qRbjR2x77GD3uq7BS1TkuhyrmFnppcvOrUlUquXltJ2EAIw1Dvvz+ bRPgrQbU6NpzuY0AF1LABIc4AH9crxLwb/4VztEU42W9SOBezwX4ClzeLuC9PBFRq+2xpJJHN8KQ Oa9Hd/ACnldgUVADvgHKA2usVwW12BVSkrThJH+5lqqQXIAAvRkQM6WqkADpO5gBx5m5VOxRgBZV HRLRcgc4dv3ukbOBm3de8uHIe1n0BBUBIi4hi0U2ownGkkwrwN425ygVPjntsvOmkFyyXYfreHXq f1tugFLCFDhZcsffYIqxKNAB/FkNbBDslUTz0MMQfuRnkN6D5nLVQ0G2H3bWC6KByTZPZWhJ/jgs ChX3e/P5y0VReCUCYm0/pUQd1lQ4/aIty/YtW6y3WMHc8yazpcU8UuqqB+LfMql/wVx4kXNTwGQO PxTuL7+AhbSkWS4z0TdZFbo1BR6qQkA08DnogNNHey/SGc5GejqFttxhjBHd3rjd62nR08gnxeFr Ic2e52we+QC0rIg6KYn1AKQsbF3wcgAP00MZrZ6X0yc5v5TRXgTi/jtVwef5I6Y+J7kyb+d1eB6K 4LoOLphBW/8PdNW9dapKWXwAAAAASUVORK5CYII= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at coe.ufrj.br X-Mailman-Approved-At: Sun, 24 Jul 2005 11:57:55 +0000 Cc: questions@freebsd.org, "Gary W. Swearingen" , archie@freebsd.org Subject: Re: nForce3 SMB and Power Management X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 09:15:46 -0000 Joćo Carlos Mendes Luķs wrote: > > Gary W. Swearingen wrote: > >>Joćo Carlos Mendes Luis writes: >> >> >> >>>gaia::root ~ [647] mbmon -I >>>No ISA-IO HWM available!! >>>InitMBInfo: Unknown error: 0 >>>gaia::root ~ [648] >> >> >>I don't get that with -I (just with -S). It pretends to work OK; just bad data, >>which might be related to the bogus temp. seen in BIOS setup screen. >> >> >> >>>none0@pci0:1:1: class=0x0c0500 card=0x813f1043 chip=0x00e410de rev=0xa1 hdr=0x00 >>> vendor = 'NVIDIA Corporation' >>> device = 'nForce PCI SMB Controller' >>> class = serial bus >>> subclass = SMBus >> >> >>I get: >> >>ichsmb0@pci0:1:1: class=0x0c0500 card=0x0c111458 chip=0x00e410de rev=0xa1 hdr=0x00 >> vendor = 'NVIDIA Corporation' >> device = 'nForce PCI System Management' >> class = serial bus >> subclass = SMBus > > > What's your FreeBSD version? At 5-stable, ichsmb attachs only to Intel devices, > that means that only chips numered 0x????8086 are accepted: > > /* PCI unique identifiers */ > #define ID_82801AA 0x24138086 > #define ID_82801AB 0x24238086 > #define ID_82801BA 0x24438086 > #define ID_82801CA 0x24838086 > #define ID_82801DC 0x24C38086 > #define ID_82801EB 0x24D38086 > #define ID_6300ESB 0x25a48086 > > I'll give it a try, anyway. Maybe compiling a kernel with ALL smb devices. Indeed, my kernel could find ichsmb. But mbmom still does not work. Are you sure you have no other smb device in your board? pciconf: ichsmb0@pci0:1:1: class=0x0c0500 card=0x813f1043 chip=0x00e410de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce PCI SMB Controller' class = serial bus subclass = SMBus dmesg: gaia::root ichsmb [518] grep -i smb /var/run/dmesg.boot netsmb_dev: loaded ichsmb0: port 0x5040-0x507f,0x5000-0x503f,0x5080-0x509f at device 1.1 on pci0 gaia::root ichsmb [519] Note that the kernel found ichsmb, but found no smbus. Looking a bit deeper into the sources, ichsmb does attach to *ANY* PCI device which identifies itself as a class "serial bus" and subclass "SMBus". It is a mistake, and probably a bug. Maybe a leftover from debugging phase. I am CCing: the ichsmb author to remember him.