ServerWorks and PM/SMB

Stewart Morgan stewart at nameless-uk.com
Fri Oct 22 05:19:56 PDT 2004


-----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 at 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-----
-------------- next part --------------
chip0 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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
-------------- next part --------------
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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  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: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> 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: <PCI bus> on pcib0
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <ATI Mach64-GR graphics accelerator> (vendor=0x1002, dev=0x4752) at 3.0 irq 10
isab0: <PCI to ISA bridge (vendor=1166 device=0201)> at device 15.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> mem 0xf5000000-0xf5000fff irq 11 at device 15.2 on pci0
ohci0: (New OHCI DeviceId=0x02201166)
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> 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: <Host to PCI bridge> 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: <PCI bus> on pcib1
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Host to PCI bridge> 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: <PCI bus> on pcib2
aac0: <Adaptec SCSI RAID 2200S> 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<CLUSTERS,WCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,SGMAP64,ALARM,NONDASD>
aacp0: <SCSI Passthrough Bus> on aac0
aacp1: <SCSI Passthrough Bus> on aac0
pcib3: <Host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib3
pcib4: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci4: <PCI bus> on pcib4
pcib5: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci5: <PCI bus> 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: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 05 a0 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcf0: <PCF8584 I2C bus controller> at port 0x320-0x321 irq 5 on isa0
iicbus0: <Philips I2C bus> on pcf0 addr 0xaa
iicbus: iic devclass not found
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
sio0: irq maps: 0x1001 0x1011 0x1001 0x1001
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1: irq maps: 0x1001 0x1009 0x1001 0x1001
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
isa_probe_children: probing PnP devices
SMP: enabled INTs: 1, 2, 3, 4, 5, 11, 12, 14, apic_imen: 0x00ffa7c1
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
IPv6 packet filtering initialized, default to accept, logging limited to 100 packets/entry
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
bpf: lo0 attached
bpf: ppp0 attached
bpf: ppp1 attached
bpf: ppp2 attached
bpf: ppp3 attached
new masks: bio 68004800, tty 6300001a, net 6700103e
bpf: faith0 attached
bpf: stf0 attached
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled
aacd0: <RAID 0/1> on aac0
aacd0: 139948MB (286613760 sectors)
Creating DISK aacd0
SMP: AP CPU #3 Launched!
SMP: CPU3 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
SMP: AP CPU #2 Launched!
SMP: CPU2 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
pass0 at aacp0 bus 0 target 0 lun 0
pass0: <IBM IC35L073UCDY10-0 S27T> Fixed unknown SCSI-3 device
pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass1 at aacp0 bus 0 target 1 lun 0
pass1: <IBM IC35L073UCDY10-0 S27T> Fixed unknown SCSI-3 device
pass1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass2 at aacp0 bus 0 target 2 lun 0
pass2: <FUJITSU MAP3735NC 0108> Fixed unknown SCSI-3 device
pass2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass3 at aacp0 bus 0 target 3 lun 0
pass3: <FUJITSU MAP3735NC 0108> Fixed unknown SCSI-3 device
pass3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass4 at aacp0 bus 0 target 11 lun 0
pass4: <SDR GEM318 0> Fixed unknown SCSI-2 device
pass4: Serial Number 1
pass4: 3.300MB/s transfers
pass0 at aacp0 bus 0 target 0 lun 0
pass0: <IBM IC35L073UCDY10-0 S27T> Fixed unknown SCSI-3 device
pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass1 at aacp0 bus 0 target 1 lun 0
pass1: <IBM IC35L073UCDY10-0 S27T> Fixed unknown SCSI-3 device
pass1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass2 at aacp0 bus 0 target 2 lun 0
pass2: <FUJITSU MAP3735NC 0108> Fixed unknown SCSI-3 device
pass2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass3 at aacp0 bus 0 target 3 lun 0
pass3: <FUJITSU MAP3735NC 0108> Fixed unknown SCSI-3 device
pass3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
pass4 at aacp0 bus 0 target 11 lun 0
pass4: <SDR GEM318 0> Fixed unknown SCSI-2 device
pass4: Serial Number 1
pass4: 3.300MB/s transfers
Mounting root from ufs:/dev/aacd0s1a
aacd0s1: type 0xa5, start 63, end = 286599599, size 286599537 : OK
start_init: trying /sbin/init


More information about the freebsd-hackers mailing list