From owner-freebsd-current@FreeBSD.ORG Sun Dec 18 21:59:53 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74B9416A420; Sun, 18 Dec 2005 21:59:53 +0000 (GMT) (envelope-from pmurray@nevada.net.nz) Received: from bellagio.open2view.com (ns2.open2view.com [203.97.20.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD6843D75; Sun, 18 Dec 2005 21:59:51 +0000 (GMT) (envelope-from pmurray@nevada.net.nz) Received: from localhost (localhost [127.0.0.1]) by bellagio.open2view.com (Postfix) with ESMTP id 160AA615BD; Mon, 19 Dec 2005 11:04:26 +1300 (NZDT) Received: from bellagio.open2view.com ([127.0.0.1]) by localhost (bellagio.open2view.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97833-04; Mon, 19 Dec 2005 11:04:23 +1300 (NZDT) Received: from [10.58.3.145] (222-153-67-4.jetstream.xtra.co.nz [222.153.67.4]) by bellagio.open2view.com (Postfix) with ESMTP id A4C5A615B4; Mon, 19 Dec 2005 11:04:22 +1300 (NZDT) In-Reply-To: <20051218173028.GV41326@ip.net.ua> References: <20051218173028.GV41326@ip.net.ua> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <69674F40-30B2-4025-B5A5-AC3DE44C00A4@nevada.net.nz> Content-Transfer-Encoding: 7bit From: Philip Murray Date: Mon, 19 Dec 2005 10:59:43 +1300 To: Ruslan Ermilov X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at open2view.com Cc: freebsd-current@freebsd.org Subject: Re: New nfpm.c driver available for testing 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: Sun, 18 Dec 2005 21:59:53 -0000 Hi Ruslan, On 19/12/2005, at 6:30 AM, Ruslan Ermilov wrote: > > This driver supports nVidia nForce2/3/4 and AMD-8111 SMBus 2.0 > controllers. This is on a Dual Dual-Core Opteron 275 on a Tyan S2882-D motherboard w/ 4GB of RAM running -amd64 > 5. Check if nfpm0 and nfpm1 devices have been created. root@stratos# dmesg | grep nf nfpm0: port 0xcc00-0xcc1f irq 19 at device 7.2 on pci0 smbus0: on nfpm0 > 6. Make sure /dev/smb[01] nodes exist. root@stratos# ls -l /dev/smb* crw------- 1 root wheel 0, 33 Dec 19 10:44 /dev/smb0 > 7. Compile and run the smbtest utility, run it twice, first > with /dev/smb0 and then with /dev/smb1 as the only argument. root@stratos# ./smbtest /dev/smb0 found slave device 0 found slave device 1 found slave device 2 found slave device 3 ... found slave device 125 found slave device 126 found slave device 127 > > 8. Run mbmon: root@stratos# mbmon -S -s0 -d mbmon: illegal option -- s root@stratos# mbmon -S -d SMBus[AMD8111] found, but No HWM available on it!! InitMBInfo: Unknown error: 0 > > 9. Send me the output of "pciconf -lv" and mbmon commands above. root@stratos# pciconf -lv pcib1@pci0:6:0: class=0x060400 card=0x000000c0 chip=0x74601022 rev=0x07 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:7:0: class=0x060100 card=0x74681022 chip=0x74681022 rev=0x05 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 LPC Bridge' class = bridge subclass = PCI-ISA atapci1@pci0:7:1: class=0x01018a card=0x74691022 chip=0x74691022 rev=0x03 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 UltraATA/133 Controller' class = mass storage subclass = ATA nfpm0@pci0:7:2: class=0x0c0500 card=0x746a1022 chip=0x746a1022 rev=0x02 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 SMBus 2.0 Controller' class = serial bus subclass = SMBus none0@pci0:7:3: class=0x068000 card=0x746b1022 chip=0x746b1022 rev=0x05 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 ACPI System Management Controller' class = bridge pcib2@pci0:10:0: class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8131 PCI-X Bridge' class = bridge subclass = PCI-PCI none1@pci0:10:1: class=0x080010 card=0x36c01022 chip=0x74511022 rev=0x01 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8131 PCI-X IOAPIC' class = base peripheral subclass = interrupt controller pcib3@pci0:11:0: class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8131 PCI-X Bridge' class = bridge subclass = PCI-PCI none2@pci0:11:1: class=0x080010 card=0x36c01022 chip=0x74511022 rev=0x01 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8131 PCI-X IOAPIC' class = base peripheral subclass = interrupt controller hostb0@pci0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb1@pci0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Address Map' class = bridge subclass = HOST-PCI hostb2@pci0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron DRAM Controller' class = bridge subclass = HOST-PCI hostb3@pci0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Miscellaneous Control' class = bridge subclass = HOST-PCI hostb4@pci0:25:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb5@pci0:25:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Address Map' class = bridge subclass = HOST-PCI hostb6@pci0:25:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron DRAM Controller' class = bridge subclass = HOST-PCI hostb7@pci0:25:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Miscellaneous Control' class = bridge subclass = HOST-PCI ohci0@pci4:0:0: class=0x0c0310 card=0x74641022 chip=0x74641022 rev=0x0b hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 USB OpenHCI Host Controller' class = serial bus subclass = USB ohci1@pci4:0:1: class=0x0c0310 card=0x74641022 chip=0x74641022 rev=0x0b hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 USB OpenHCI Host Controller' class = serial bus subclass = USB atapci0@pci4:5:0: class=0x018000 card=0x31141095 chip=0x31141095 rev=0x02 hdr=0x00 vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' device = 'Sil 3114 SATALink/SATARaid Controller' class = mass storage none3@pci4:6:0: class=0x030000 card=0x80081002 chip=0x47521002 rev=0x27 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Rage XL PCI' class = display subclass = VGA fxp0@pci4:8:0: class=0x020000 card=0x10408086 chip=0x12298086 rev=0x10 hdr=0x00 vendor = 'Intel Corporation' device = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter' class = network subclass = ethernet bge0@pci3:9:0: class=0x020000 card=0x164414e4 chip=0x164814e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5704 NetXtreme Dual Gigabit Adapter' class = network subclass = ethernet bge1@pci3:9:1: class=0x020000 card=0x164414e4 chip=0x164814e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5704 NetXtreme Dual Gigabit Adapter' class = network subclass = ethernet pcib4@pci1:1:0: class=0x060400 card=0x000000dc chip=0x03358086 rev=0x0a hdr=0x01 vendor = 'Intel Corporation' device = '80331 [Lindsay] I/O processor PCI-X bridge' class = bridge subclass = PCI-PCI arcmsr0@pci2:14:0: class=0x010400 card=0x112017d3 chip=0x112017d3 rev=0x00 hdr=0x00 vendor = 'Areca Technology Corporation' device = 'ARC-1120 8-Port PCI-X to SATA RAID Controller' class = mass storage subclass = RAID Cheers Phil