From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 22 12:19:56 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A911516A4CE for ; Fri, 22 Oct 2004 12:19:56 +0000 (GMT) Received: from mail.squidge.com (mail0.squidge.com [195.10.252.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9862643D45 for ; Fri, 22 Oct 2004 12:19:55 +0000 (GMT) (envelope-from stewart@nameless-uk.com) Received: from [10.0.2.15] (nameless-uk.demon.co.uk [62.49.20.115]) (authenticated bits=0) by mail.squidge.com (8.12.11/8.12.9) with ESMTP id i9MCJlAw010314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 22 Oct 2004 13:19:48 +0100 (BST) Message-ID: <4178FAE2.7040402@nameless-uk.com> Date: Fri, 22 Oct 2004 13:19:46 +0100 From: Stewart Morgan Organization: Nameless Media Group Ltd User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.7.3) Gecko/20040910 X-Accept-Language: en, en-us MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------060806080309010702080508" X-Virus-Scanned: by AMaViS at mail.squidge.com X-Spam-Level: -2.0 Subject: ServerWorks and PM/SMB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: stewart@nameless-uk.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 12:19:56 -0000 This is a multi-part message in MIME format. --------------060806080309010702080508 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm running a 4-STABLE kernel build from last night's CVS-sources. Trying to get some sort of power/temp/fan system monitoring running on an ASUS PR-DLSR533, dual Xeon based on the ServerWorks chipset. Attached is a dump of "pciconf -vl" and the dmesg.boot file. Neither the ichsmb(4) nor intpm(4) drivers detect anything. That said, I couldn't immediately see any matching PCI IDs in the source :( I have read/heard something like ASUS disabling their PM/SMB by default? If that's the case, how can I tell or turn this back on? The page at the following URL suggests that the CSB6 chip is practically the same as the PIIX4, but adding the chip's ID to the intpm(4) driver fails on the bus_allocate_resource() call. I've tried an alternative base-address with no luck. http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/busses/i2c-piix4 Any help/experience would be appreciated. I'm happy to test things and help out where possible. Please also let me know if there's any other information needed/forgotten. Thanks. Stewart. - -- Stewart Morgan MEng MIEE Technical Director, Nameless-UK Phone : +44 870 757 1625 | A: Nameless-UK Fax : +44 870 168 0210 | The Production House Email : stewart@nameless-uk.com | 147a Saint Michael's Hill Web : www.nameless-uk.com | Bristol PGP ID: 0xECD5CE64 | BS2 8DB - --------------------------------x--------------------------------- PGP Fingerprint: 89DE F8C3 CA14 598C 30DB 504A 3055 DDD7 ECD5 CE64 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBePriMFXd1+zVzmQRAqo2AJwLKzg9EHln7pnHIlTRfsOtCXlT9gCdFwzD LeIPqxN1FYe0ZQzVIzR6y88= =lB3I -----END PGP SIGNATURE----- --------------060806080309010702080508 Content-Type: text/plain; name="pciconf.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pciconf.txt" chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x00141166 rev=0x33 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'CNB20-HE Host Bridge' class = bridge subclass = HOST-PCI chip1@pci0:0:1: class=0x060000 card=0x00000000 chip=0x00141166 rev=0x00 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'CNB20-HE Host Bridge' class = bridge subclass = HOST-PCI chip2@pci0:0:2: class=0x060000 card=0x00000000 chip=0x00141166 rev=0x00 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'CNB20-HE Host Bridge' class = bridge subclass = HOST-PCI em0@pci0:2:0: class=0x020000 card=0x100e8086 chip=0x100e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82544XT PRO/1000 MT Gigabit Ethernet Controller' class = network subclass = ethernet none0@pci0:3:0: class=0x030000 card=0x80081002 chip=0x47521002 rev=0x27 hdr=0x00 vendor = 'ATI Technologies' device = 'Rage XL PCI' class = display subclass = VGA isab0@pci0:15:0: class=0x060100 card=0x02011166 chip=0x02011166 rev=0x93 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'CSB5 PCI to ISA Bridge' class = bridge subclass = PCI-ISA ohci0@pci0:15:2: class=0x0c0310 card=0x02201166 chip=0x02201166 rev=0x05 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'OSB4 OpenHCI Compliant USB Controller' class = serial bus subclass = USB chip3@pci0:15:3: class=0x060000 card=0x02301166 chip=0x02251166 rev=0x00 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'CSB5 PCI Bridge' class = bridge subclass = HOST-PCI chip4@pci0:17:0: class=0x060000 card=0x00000000 chip=0x01011166 rev=0x05 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'CIOB-X2' class = bridge subclass = HOST-PCI chip5@pci0:17:2: class=0x060000 card=0x00000000 chip=0x01011166 rev=0x05 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'CIOB-X2' class = bridge subclass = HOST-PCI em1@pci1:2:0: class=0x020000 card=0x110d8086 chip=0x100d8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82544GC Gigabit Ethernet Controller (LOM)' class = network subclass = ethernet aac0@pci2:3:0: class=0x010400 card=0x02859005 chip=0x02859005 rev=0x01 hdr=0x00 vendor = 'Adaptec' device = 'AAC-RAID RAID Controller' class = mass storage subclass = RAID --------------060806080309010702080508 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.10-STABLE #14: Thu Oct 21 18:47:10 BST 2004 root@laxmi.bristol.squidge.com:/usr/obj.i686/usr/src/sys/NEWSERVER Calibrating clock(s) ... TSC clock: 2391938824 Hz, i8254 clock: 1193136 Hz Timecounter "i8254" frequency 1193136 Hz CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2391.94-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 2147463168 (2097132K bytes) Physical memory chunk(s): 0x000001000 - 0x00009dfff, 643072 bytes (157 pages) 0x000427000 - 0x07fff0fff, 2143068160 bytes (523210 pages) avail memory = 2086989824 (2038076K bytes) Changing APIC ID for IO APIC #0 from 8 to 4 in MP table Changing APIC ID for IO APIC #1 from 9 to 5 in MP table Changing APIC ID for IO APIC #2 from 6 to 10 on chip Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 Programming 16 pins in IOAPIC #2 SMP: CPU0 apic_initialize(): lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 io2 (APIC): apic id: 10, version: 0x000f0011, at 0xfec02000 bios32: Found BIOS32 Service Directory header at 0xc00f1f70 bios32: Entry = 0xf18b0 (c00f18b0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x18e0 pnpbios: Found PnP BIOS data at 0xc00f96b0 pnpbios: Entry = f0000:96e0 Rev = 1.0 pnpbios: OEM ID cd041 Other BIOS signatures found: ACPI: 000f55a0 Preloaded elf kernel "kernel" at 0xc03fd000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled SMP: CPU0 bsp_apic_configure(): lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff pci_open(1): mode 1 addr port (0x0cf8) is 0x800078ac pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=00141166) Using $PIR table, 12 entries at 0xc00f1e80 pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib1 exists, using next available unit number pcib-: pcib2 exists, using next available unit number apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x1166, dev=0x0014, revid=0x33 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0014, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0014, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 IOAPIC #1 intpin 2 -> irq 2 Freeing (NOT implemented) redirected PCI irq 12. found-> vendor=0x8086, dev=0x100e, revid=0x02 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=2 map[10]: type 1, range 32, base f7000000, size 17 map[18]: type 1, range 32, base 0000d800, size 6 IOAPIC #1 intpin 1 -> irq 10 found-> vendor=0x1002, dev=0x4752, revid=0x27 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base f6000000, size 24 map[14]: type 1, range 32, base 0000d400, size 8 map[18]: type 1, range 32, base f5800000, size 12 found-> vendor=0x1166, dev=0x0201, revid=0x93 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0220, revid=0x05 class=0c-03-10, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f5000000, size 12 found-> vendor=0x1166, dev=0x0225, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0101, revid=0x05 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0101, revid=0x05 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 pci0: on pcib0 em0: port 0xd800-0xd83f mem 0xf7000000-0xf701ffff irq 2 at device 2.0 on pci0 bpf: em0 attached em0: Speed:N/A Duplex:N/A pci0: (vendor=0x1002, dev=0x4752) at 3.0 irq 10 isab0: at device 15.0 on pci0 isa0: on isab0 ohci0: mem 0xf5000000-0xf5000fff irq 11 at device 15.2 on pci0 ohci0: (New OHCI DeviceId=0x02201166) usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: on motherboard IOAPIC #1 intpin 8 -> irq 12 Freeing (NOT implemented) redirected PCI irq 15. found-> vendor=0x8086, dev=0x100d, revid=0x02 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=12 map[10]: type 1, range 64, base f4800000, size 17 map[18]: type 1, range 64, base f4000000, size 17 map[20]: type 1, range 32, base 0000a400, size 5 pci1: on pcib1 em1: port 0xa400-0xa41f mem 0xf4000000-0xf401ffff,0xf4800000-0xf481ffff irq 12 at device 2.0 on pci1 bpf: em1 attached em1: Speed:N/A Duplex:N/A pcib2: on motherboard IOAPIC #1 intpin 6 -> irq 14 found-> vendor=0x9005, dev=0x0285, revid=0x01 class=01-04-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=14 map[10]: type 1, range 32, base f8000000, size 26 pci2: on pcib2 aac0: mem 0xf8000000-0xfbffffff irq 14 at device 3.0 on pci2 aac0: Unknown processor 100MHz, 48MB cache memory, optional battery not installed aac0: Kernel 4.1-0, Build 7244, S/N bc1521 aac0: Supported Options=11d7e aacp0: on aac0 aacp1: on aac0 pcib3: on motherboard pci3: on pcib3 pcib4: on motherboard pci4: on pcib4 pcib5: on motherboard pci5: on pcib5 Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: