HP Compaq ProLiant DL380 detect failure
Anyone have any luck getting lm_sensors to work with the HP/Compaq ProLiant DL series (i.e. DL380)? With the latest 'sensors-detect' script I get "Sorry, no sensors were detected."
Here is some data for your perusal:
dmesg output:piix4_smbus 0000:00:0f.0: Found 0000:00:0f.0 device piix4_smbus 0000:00:0f.0: SMB base address uninitialized - upgrade BIOS or use force_addr=0xaddr
lspci output:
00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23) 00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01) 00:01.0 RAID bus controller: Compaq Computer Corporation Smart Array 5i/532 (rev 01)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:06.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 51) 00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04) 01:03.0 PCI bridge: Intel Corporation 80960RP [i960 RP Microprocessor/Bridge] (rev 05)
01:03.1 Memory controller: Intel Corporation 80960RP [i960RP Microprocessor] (rev 05)
02:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 7a)
07:03.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
07:07.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 12)
HP has a utility to read data from the Internal Lights Out Management board:
# hplog -t ID TYPE LOCATION STATUS CURRENT THRESHOLD 1 ADM1022 Processor Zone Nominal 113F/ 45C 143F/ 62C 2 ADM1022 CPU (1) Nominal 113F/ 45C 156F/ 69C 3 ADM1022 I/O Zone Nominal 113F/ 45C 145F/ 63C 4 ADM1022 CPU (2) Nominal 111F/ 44C 156F/ 69C 5 ADM1022 Pwr. Supply Bay Nominal 100F/ 38C 129F/ 54C
# hplog -f ID TYPE LOCATION STATUS REDUNDANT FAN SPEED 1 Var. Speed Processor Zone Nominal Yes Low ( 10) 2 Var. Speed Processor Zone Nominal Yes Low ( 10) 3 Var. Speed I/O Zone Nominal Yes Low ( 20) 4 Var. Speed I/O Zone Nominal Yes Low ( 20) 5 Var. Speed Processor Zone Nominal Yes Low ( 10) 6 Var. Speed Processor Zone Nominal Yes Low ( 10) 7 Var. Speed Pwr. Supply Bay Nominal Yes Low ( 20) 8 Var. Speed Pwr. Supply Bay Nominal Yes Low ( 20)
# hplog -p ID TYPE LOCATION STATUS REDUNDANT 1 Standard Pwr. Supply Bay Nominal No 2 Standard Pwr. Supply Bay Absent No
Here is the full output of sensors-detect:
# wget "http://www.lm-sensors.org/browser/lm-sensors/trunk/prog/detect/sensors-detect?format=txt" --16:58:03-- http://www.lm-sensors.org/browser/lm-sensors/trunk/prog/detect/sensors-detect?format=txt => `sensors-detect?format=txt' Resolving www.lm-sensors.org... 130.133.35.30 Connecting to www.lm-sensors.org|130.133.35.30|:80... connected. HTTP request sent, awaiting response... 200 Ok Length: 174,692 (171K) [text/plain]
100%[============================>]
174,692 136.51K/s
16:58:05 (136.06 KB/s) - `sensors-detect?format=txt' saved [174692/174692]
# perl "sensors-detect?format=txt" # sensors-detect revision $Revision$
This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.
We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Use driver `i2c-piix4' for device 0000:00:0f.0: ServerWorks OSB4 South Bridge
We will now try to load each adapter module in turn. Module `i2c-piix4' already loaded.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.
We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.
Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no): YES
Probing for `National Semiconductor LM78' at 0x290... No Probing for `National Semiconductor LM78-J' at 0x290... No Probing for `National Semiconductor LM79' at 0x290... No Probing for `Winbond W83781D' at 0x290... No Probing for `Winbond W83782D' at 0x290... No Probing for `Winbond W83627HF' at 0x290... No Probing for `Silicon Integrated Systems SIS5595'... No Probing for `VIA VT82C686 Integrated Sensors'... No Probing for `VIA VT8231 Integrated Sensors'... No Probing for `IPMI BMC KCS' at 0xca0... No Probing for `IPMI BMC SMIC' at 0xca8... No
Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no): YES Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'... Yes
Found unknown chip with ID 0xffbf
Trying family `National Semiconductor'... Yes
Found unknown chip with ID 0xffbf
Trying family `SMSC'... Yes
Found unknown chip with ID 0xffbf
Trying family `VIA/Winbond/Fintek'... Yes
Found unknown chip with ID 0xffbf
Probing for Super-I/O at 0x4e/0x4f
Trying family `ITE'... No Trying family `National Semiconductor'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Fintek'... No
Some CPU may also contain embedded sensors.
Do you want to scan for CPU embedded sensors? (YES/no): YES
AMD K8 thermal sensors... No
Intel Core family thermal sensor... No
Sorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an I2C or SMBus adapter that is not supported. See doc/FAQ, doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
Thanks much!
-Tom
Hi Thomas,
Quoted 11 lines · Thomas Brown
Anyone have any luck getting
lm_sensorsto work with the HP/Compaq ProLiant DL series (i.e. DL380)? With the latest 'sensors-detect' script I get "Sorry, no sensors were detected."Here is some data for your perusal:
dmesg output:
piix4_smbus0000:00:0f.0: Found 0000:00:0f.0 devicepiix4_smbus0000:00:0f.0: SMB base address uninitialized - upgrade BIOS or use force_addr=0xaddr
This is a fatal error. If there are sensor chips connected to the SMBus, you cannot reach them until the SMBus itself works. Try upgrading the BIOS as suggested. Or try using force_addr as instructed, just make sure you pick an unused I/O area (check in /proc/ioports.)
But it is also possible that the sensor chips are hidden elsewhere, and the SMBus isn't used, and that's why it is disabled. I can't tell. You'd need to ask the manufacturer for technical information.
Quoted 8 lines
HP has a utility to read data from the Internal Lights Out Management board:
# hplog -t ID TYPE LOCATION STATUS CURRENT THRESHOLD 1 ADM1022 Processor Zone Nominal 113F/ 45C 143F/ 62C 2 ADM1022 CPU (1) Nominal 113F/ 45C 156F/ 69C 3 ADM1022 I/O Zone Nominal 113F/ 45C 145F/ 63C 4 ADM1022 CPU (2) Nominal 111F/ 44C 156F/ 69C 5 ADM1022 Pwr. Supply Bay Nominal 100F/ 38C 129F/ 54C
The driver for the ADM1022 (thmc50) wasn't ported to Linux 2.6 yet, only Linux 2.4 is supported. Not that it really matters until you can actually reach these chips.
Quoted 12 lines
# hplog -f ID TYPE LOCATION STATUS REDUNDANT FAN SPEED 1 Var. Speed Processor Zone Nominal Yes Low ( 10) 2 Var. Speed Processor Zone Nominal Yes Low ( 10) 3 Var. Speed I/O Zone Nominal Yes Low ( 20) 4 Var. Speed I/O Zone Nominal Yes Low ( 20) 5 Var. Speed Processor Zone Nominal Yes Low ( 10) 6 Var. Speed Processor Zone Nominal Yes Low ( 10) 7 Var. Speed Pwr. Supply Bay Nominal Yes Low ( 20) 8 Var. Speed Pwr. Supply Bay Nominal Yes Low ( 20)
Quoted 4 lines
# hplog -p ID TYPE LOCATION STATUS REDUNDANT 1 Standard Pwr. Supply Bay Nominal No 2 Standard Pwr. Supply Bay Absent No
Do you have the source code of that tool? If you do, just check where it gets the information from.
I also invite you to bug HP themselves about it. Ask them why lm_sensors doesn't work with their hardware, see what they answer.
Signature · 1 line
Jean Delvare
Well, I happen to work for HP, different organization though. But we're about to be using the DL385 out of ISS to integrate into our product line. We'll be running Debian and we need to be able to read temp and fan information but we'll rely on hp tools to get there (not my choice). Anyways, we might have a business need to get the source and I might be able to pass some information along. No promise though since we're pretty uptight about those things (not my choice either).
Anyways, let me know what you want to know and I'll see what I can do...
...juerg
Quoted 68 lines · Jean Delvare
Hi Thomas,
Quoted 11 lines · Thomas Brown
Anyone have any luck getting
lm_sensorsto work with the HP/Compaq ProLiant DL series (i.e. DL380)? With the latest 'sensors-detect' script I get "Sorry, no sensors were detected."Here is some data for your perusal:
dmesg output:
piix4_smbus0000:00:0f.0: Found 0000:00:0f.0 devicepiix4_smbus0000:00:0f.0: SMB base address uninitialized - upgrade BIOS or use force_addr=0xaddrThis is a fatal error. If there are sensor chips connected to the SMBus, you cannot reach them until the SMBus itself works. Try upgrading the BIOS as suggested. Or try using
force_addras instructed, just make sure you pick an unused I/O area (check in/proc/ioports.)But it is also possible that the sensor chips are hidden elsewhere, and the SMBus isn't used, and that's why it is disabled. I can't tell. You'd need to ask the manufacturer for technical information.
Quoted 8 lines
HP has a utility to read data from the Internal Lights Out Management board:
# hplog -t ID TYPE LOCATION STATUS CURRENT THRESHOLD 1 ADM1022 Processor Zone Nominal 113F/ 45C 143F/ 62C 2 ADM1022 CPU (1) Nominal 113F/ 45C 156F/ 69C 3 ADM1022 I/O Zone Nominal 113F/ 45C 145F/ 63C 4 ADM1022 CPU (2) Nominal 111F/ 44C 156F/ 69C 5 ADM1022 Pwr. Supply Bay Nominal 100F/ 38C 129F/ 54CThe driver for the ADM1022 (thmc50) wasn't ported to Linux 2.6 yet, only Linux 2.4 is supported. Not that it really matters until you can actually reach these chips.
Quoted 12 lines
# hplog -f ID TYPE LOCATION STATUS REDUNDANT FAN SPEED 1 Var. Speed Processor Zone Nominal Yes Low ( 10) 2 Var. Speed Processor Zone Nominal Yes Low ( 10) 3 Var. Speed I/O Zone Nominal Yes Low ( 20) 4 Var. Speed I/O Zone Nominal Yes Low ( 20) 5 Var. Speed Processor Zone Nominal Yes Low ( 10) 6 Var. Speed Processor Zone Nominal Yes Low ( 10) 7 Var. Speed Pwr. Supply Bay Nominal Yes Low ( 20) 8 Var. Speed Pwr. Supply Bay Nominal Yes Low ( 20)Quoted 4 lines
# hplog -p ID TYPE LOCATION STATUS REDUNDANT 1 Standard Pwr. Supply Bay Nominal No 2 Standard Pwr. Supply Bay Absent NoDo you have the source code of that tool? If you do, just check where it gets the information from.
I also invite you to bug HP themselves about it. Ask them why
lm_sensorsdoesn't work with their hardware, see what they answer.--
Jean Delvare_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Juerg,
Quoted 9 lines · Juerg Haefliger
Well, I happen to work for HP, different organization though. But we're about to be using the DL385 out of ISS to integrate into our product line. We'll be running Debian and we need to be able to read temp and fan information but we'll rely on hp tools to get there (not my choice). Anyways, we might have a business need to get the source and I might be able to pass some information along. No promise though since we're pretty uptight about those things (not my choice either).
Anyways, let me know what you want to know and I'll see what I can do...
Thanks for the proposal. Basically we want to know what hardware monitoring chips are used in the system, and how they are wired. I suspect that HP uses a non-standard I2C bus, possibly GPIO-driven.
Thomas, I've thought a bit more about your problem, and I'm now almost certain that you won't find anything attached to your motherboard's SMBus, even if you upgrade the BIOS or force the SMBus base address. You said that the "hplog" utility was printing temperature values, so it must get them from somewhere, and it definitely can't get them from anything connected to the currently disabled SMBus. So there has to be another, non-standard I2C bus somewhere on the board.
Signature · 1 line
Jean Delvare
Hi Jean,
Quoted 3 lines
Thanks for the proposal. Basically we want to know what hardware monitoring chips are used in the system, and how they are wired. I suspect that HP uses a non-standard I2C bus, possibly GPIO-driven.
If I'm not totaly mistaken it's all controlled by the proprietary iLO ASIC which shows up as a PCI device. I don't know the interface to that beast and how temp and sensors are connected to it. I'll check the schematics as soon as I have established connection to the HP intranet. I'm currently slacking away in Switzerland but am supposed to work remotely... :-)
Not a big deal until it starts snowing...
...juerg
Quoted 11 lines
Thomas, I've thought a bit more about your problem, and I'm now almost certain that you won't find anything attached to your motherboard's SMBus, even if you upgrade the BIOS or force the SMBus base address. You said that the "hplog" utility was printing temperature values, so it must get them from somewhere, and it definitely can't get them from anything connected to the currently disabled SMBus. So there has to be another, non-standard I2C bus somewhere on the board.
--
Jean Delvare
Thanks all--if we can get this working there is a large community of HP ProLiant server users who will benefit.
Upon tracing the "hplog" process behavior, it seems to read the data is by using message queues attached to the Proliant System Health Monitor (hpasmd) process which, in turn, may also rely on data from the HP Lights-Out Drivers and Agents (hprsm) daemon.
There are two routes that might be taken here:
1. Reverse-engineer the hpasmd process and read values directly from the HP/Compaq hardware.
or
2. Write a shim to work in concert with an existing hpasmd process and feed data back using existing drivers (i.e. /dev/cpqhealth/proc, /dev/cpqhealth/cevt, etc.)
-Tom
I contacted the iLO ASIC guys and they are checking the request for providing technical information. I also checked the schematics of the DL385G2. The iLO ASIC provides 4 I2C buses to which the temp sensors (SMSC EMC1043) are attached to.
I already wrote the driver for the EMC1043 and have a framework in place for the iLO driver. More later...
...juerg
Quoted 19 lines · Thomas Brown
Thanks all--if we can get this working there is a large community of HP ProLiant server users who will benefit.
Upon tracing the "hplog" process behavior, it seems to read the data is by using message queues attached to the Proliant System Health Monitor (hpasmd) process which, in turn, may also rely on data from the HP Lights-Out Drivers and Agents (hprsm) daemon.
There are two routes that might be taken here:
1. Reverse-engineer the hpasmd process and read values directly from the HP/Compaq hardware.
or
2. Write a shim to work in concert with an existing hpasmd process and feed data back using existing drivers (i.e./dev/cpqhealth/proc,/dev/cpqhealth/cevt, etc.)-Tom
Hi Juerg,
Quoted 6 lines · Juerg Haefliger
I contacted the iLO ASIC guys and they are checking the request for providing technical information. I also checked the schematics of the DL385G2. The iLO ASIC provides 4 I2C buses to which the temp sensors (SMSC EMC1043) are attached to.
I already wrote the driver for the EMC1043 and have a framework in place for the iLO driver. More later...
Hey, it's great to hear you're making progress :) Please keep informed, and good luck!
Signature · 1 line
Jean Delvare
Hi Jean,
Quoted 2 lines
Hey, it's great to hear you're making progress :) Please keep informed, and good luck!
The iLO people came back to me and they are a little bit reluctant at this point. They are concerned that we screw up the HW or interfere with the BMC if we mock around with fans and I2C registers :-)
They suggested to use IPMI, so I started to look into it and it does seem promising. I noticed that Yani has a patch to interface IPMI to lm-sensors (see
http://lists.lm-sensors.org/pipermail/lm-sensors/2006-August/017071.html).
What is the state of this patch and is there any chance it'll make it into mainline? Anything I can help with, Yani?
I have a DL385 G2 at my hand that I can use and I'll play around with the patch probably next week after returning from vacation.
...juerg