Skip to contentSkip to conversation

Regardding Ticket #: 1791

DISCUSSION Jonathan 3 participants 11 messages May 19, 2005

lore
Share & tools
lore

Jonathan

author
#0 lore raw

I did not quite understand the part about ACPI

Here is the output of sensors-detect I hope it reveals something for you.

Regards Jonathan

------------------------------------------------------------------------
------------------------------------------
Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 6300ESB Probe succesfully concluded.

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): NO If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no): NO Well, you will know best. We will just hope you edited
`/etc/modules.conf'
for automatic loading of this module. If not,
you won't be able to open any /dev/i2c/* file (unless youhave it
built-in
into your kernel)

We are now going to do the adapter probings. Some adapters may hang
halfway
through; we can't really help that. Also, some chips will 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. That often includes address 0x69 (clock chip).

Next adapter: SMBus I801 adapter at 0400 (Algorithm unavailable) Do you want to scan it? (YES/no/selectively):
Client found at address 0x08
Client found at address 0x42
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed! Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed! Client found at address 0x50
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Probing for `Maxim MAX6900'... Failed!
Client found at address 0x51
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x69

Some chips are also accessible through the ISA bus. ISA probes are typically a bit more dangerous, as we have to write to I/O ports to do this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Success!

    (confidence 8, driver `w83781d')

Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!

Some Super I/O chips may also contain sensors. Super I/O probes are typically a bit more dangerous, as we have to write to I/O ports to do this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83627HF Super IO Sensors'
Success... found at address 0x0290
Probing for `Winbond W83627THF Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83637HF Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83697HF Super IO Sensors'
Failed! (0x52)
Probing for `Winbond W83697SF/UF Super IO PWM'
Failed! (0x52)
Probing for `Winbond W83L517D Super IO'
Failed! (0x52)

Do you want to scan for secondary Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus I801 adapter at 0400' (Algorithm unavailable) Busdriver i2c-i801', I2C address 0x51
Chip `SPD EEPROM' (confidence: 8)

Driver `w83781d' (may not be inserted):
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

    Chip `Winbond W83627HF' (confidence: 8)

Driver `w83627hf' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip Winbond W83627HF Super IO Sensors' (confidence: 9)

I will now generate the commands needed to load the I2C modules. Sometimes, a chip is available both through the ISA bus and an I2C bus. ISA bus access is faster, but you need to load an additional driver
module
for it. If you have the choice, do you want to use the ISA bus or the I2C/SMBus (ISA/smbus)? smbus

If you want to load the modules at startup, generate a config file below and make sure lm_sensors gets started; e.g

$ rc-update add lm_sensors default.

To make the sensors modules behave correctly, add these lines to /etc/modules.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----end cut here----

WARNING! If you have some things built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.
To load everything that is needed, execute the commands above...

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83627hf

# sleep 2 # optional
/usr/bin/sensors -s # recommended

Do you want to overwrite /etc/conf.d/lm_sensors? Enter s to specify other file name?
(yes/NO/s):

------------------------------------------------------------------------
-------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20041008/2ff677a0/attachment.html

author
#1 lore raw

Hi

ACPI is enablet in kernel. I looked around in /proc/acpi/* but there was nothin under fan or thermal_zone.

Here are the dumps.
Can you see something from them?

Regards Jonathan

# i2cdump 0 0x42
No size specified (using byte-data access)
  WARNING! This program can confuse your I2C bus, cause data loss and
worse!
  I will probe file /dev/i2c-0, address 0x42, mode byte
  You have five seconds to reconsider and press CTRL-C!
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
# i2cdump 0 0x44
No size specified (using byte-data access)
  WARNING! This program can confuse your I2C bus, cause data loss and
worse!
  I will probe file /dev/i2c-0, address 0x44, mode byte
  You have five seconds to reconsider and press CTRL-C!
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 00 0f 04 00 00 00 00 00 00 00 00 00 00 00 00    ..??............
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 8. oktober 2004 20:02
To: Jonathan
Cc: [email protected]
Subject: Re: Regardding Ticket #: 1791

Quoted 1 line

I did not quite understand the part about ACPI

Among other things, ACPI can handle fans speeds and temperatures, so it may be seen as an alternative to lm_sensors. Once ACPI is enabled in your kernel, go and take a look in /proc/acpi/*. Maybe you'll find something.

Quoted 7 lines

Here is the output of sensors-detect I hope it reveals something for you.
(...)
Client found at address 0x42
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed! Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!

Maybe there's something interesting there. Please provide the output of "i2cdump 0 0x42" and "i2cdump 0 0x44". (I assume that your i801 SMBus is i2c bus 0; you can check by using "i2cdetect -l").

Thanks.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
author
#2 lore raw
In reply to Jonathan

Hi again

I sent you information about where to download source code for a IPMI bus. I have a question, Should I be able to get the temperature readings through lm_sensors if the driver works or am I supposed to find another program?
Thanks for the hlp so far :-)

Regards Jonathan

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 11. oktober 2004 18:54
To: Jonathan
Cc: LM Sensors
Subject: Re: Regardding Ticket #: 1791

Quoted 5 lines

Intel states that I can get the thermal info from there own program "Intel server managemnt". This program is for Rehat and I'm running Gentoo. My question is, If their software can access the thermal info,

shouldn't there be a way for lm-sensors aswell?

The fact that there must be a way isn't relevant. As long as we don't know how to do it, that information isn't worth anything.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
author
#3 lore raw
In reply to Jonathan

Hi

I talked with Intel and this is what they said when I asked how to access the temperatur sensors from my OS:

-------------------------------------
There is one thing only you can try to get access to the temperature
readings: You can try using the IPMI source code package for Linux* to get access via a software program to the IPMI bus to access temperature readings. You will find a download here:
http://support.intel.com/support/motherboards/server/ism/ Please scroll down a little and you will see a link to IPMI source code package for Linux* This driver is listed as a courtesy for customers wanting to validate their own solution.
-------------------------------------

Is this source code usefull for you?

Regards Jonathan

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 11. oktober 2004 18:54
To: Jonathan
Cc: LM Sensors
Subject: Re: Regardding Ticket #: 1791

Quoted 5 lines

Intel states that I can get the thermal info from there own program "Intel server managemnt". This program is for Rehat and I'm running Gentoo. My question is, If their software can access the thermal info,

shouldn't there be a way for lm-sensors aswell?

The fact that there must be a way isn't relevant. As long as we don't know how to do it, that information isn't worth anything.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
author
#4 lore raw
In reply to Jonathan

Hi

Intel states that I can get the thermal info from there own program "Intel server managemnt". This program is for Rehat and I'm running Gentoo. My question is, If their software can access the thermal info, shouldn't there be a way for lm-sensors aswell?

Jonathan

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 9. oktober 2004 21:54
To: Jonathan
Cc: [email protected]
Subject: Re: Regardding Ticket #: 1791

Quoted 2 lines

ACPI is enablet in kernel. I looked around in /proc/acpi/* but there was nothin under fan or thermal_zone.

OK, dead end.

Quoted 3 lines

Here are the dumps.
Can you see something from them?

No... Looks like another dead end, sorry.

Your only hope is probably to hassle Intel until they give you technical details about the board, but that's a very thin hope I fear.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#5 lore raw
In reply to Jonathan
Quoted 1 line

I did not quite understand the part about ACPI

Among other things, ACPI can handle fans speeds and temperatures, so it may be seen as an alternative to lm_sensors. Once ACPI is enabled in your kernel, go and take a look in /proc/acpi/*. Maybe you'll find something.

Quoted 7 lines

Here is the output of sensors-detect I hope it reveals something for you.
(...)
Client found at address 0x42
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed! Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!

Maybe there's something interesting there. Please provide the output of "i2cdump 0 0x42" and "i2cdump 0 0x44". (I assume that your i801 SMBus is i2c bus 0; you can check by using "i2cdetect -l").

Thanks.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#6 lore raw
In reply to Jonathan
Quoted 2 lines

ACPI is enablet in kernel. I looked around in /proc/acpi/* but there was nothin under fan or thermal_zone.

OK, dead end.

Quoted 3 lines

Here are the dumps.
Can you see something from them?

No... Looks like another dead end, sorry.

Your only hope is probably to hassle Intel until they give you technical details about the board, but that's a very thin hope I fear.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#7 lore raw
In reply to Jonathan
Quoted 4 lines

Intel states that I can get the thermal info from there own program "Intel server managemnt". This program is for Rehat and I'm running Gentoo. My question is, If their software can access the thermal info, shouldn't there be a way for lm-sensors aswell?

The fact that there must be a way isn't relevant. As long as we don't know how to do it, that information isn't worth anything.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#8 lore raw
In reply to Jonathan
Quoted 14 lines · Jonathan

I talked with Intel and this is what they said when I asked how to access the temperatur sensors from my OS:

-------------------------------------
There is one thing only you can try to get access to the temperature
readings: You can try using the IPMI source code package for Linux* to get access via a software program to the IPMI bus to access temperature readings. You will find a download here:
http://support.intel.com/support/motherboards/server/ism/ Please scroll down a little and you will see a link to IPMI source code package for Linux* This driver is listed as a courtesy for customers wanting to validate their own solution.
-------------------------------------

Quoted 1 line

Is this source code usefull for you?

The LM Sensors project already has some support for IPMI if I remember correctly (maybe only for Linux 2.4 though). Strange that sensors-detect didn't find the device.

At any rate, I don't know anything about IPMI above its existence, nor do I have the time to learn so I will not be able to help you any further in that direction. Maybe Mark D. Studebaker will be able to follow up, maybe not.

Just a side note: I remember you said that Intel had software for Red Hat and it wouldn't work for you because you run Gentoo. Know that with some work you can convert a Red Hat RPM to a different type of package, such a simple tar.gz file. Search for tools named cpio and alien. If your Gentoo systems does have the libs the program needs, it may work. Never done it myself so I can't tell much more, just that you might have given up that possibility a little too early. Note that the trick will only work for user-space tools. Kernel modules for Red Hat kernel won't work on any other systems that the exact one they were meant for.

Good luck.

Jean Delvare

#9 lore raw
In reply to Jonathan
Quoted 5 lines

I sent you information about where to download source code for a IPMI bus. I have a question, Should I be able to get the temperature readings through lm_sensors if the driver works or am I supposed to find another program?

I don't know. All I vaguely know is that we have drivers named i2c-ipmi, i2c-ipmb and bmcsensors which I think can be used to access the IPMI data. I have no idea how well they work nor whether you need additional stuff to get them to work. I never had to use this myself.

Jean

#10 lore raw
In reply to Jonathan

Hi Jonathan,

You can try the bmcsensors driver - this should be able to read the temperatures (amongst other sensors) from the motherboard. For Kernel 2.4.x the bmcsensors driver is included in the standard lm_sensors, however for kernel 2.6.x a port has been made but is not included in the standard lm_sensors (kernel). See
http://bmcsensors-26.sourceforge.net/ for more information.

Let me know how it goes - I need more feedback on how well (or not) the ported driver works on different IPMI implementations. Unfortunatley i havn't got around to updating the path to apply to more recent (2.6.8+) kernels, but I will get around to this shortly. I want to incorporate any changes made to the 2.4 version before doing so and that takes time (the patch probably applies cleanly/with easy modifications to more recent kernels itself).

Yani

Quoted 14 lines · Jean Delvare
Quoted 5 lines

I sent you information about where to download source code for a IPMI bus. I have a question, Should I be able to get the temperature readings through lm_sensors if the driver works or am I supposed to find another program?

I don't know. All I vaguely know is that we have drivers named i2c-ipmi, i2c-ipmb and bmcsensors which I think can be used to access the IPMI data. I have no idea how well they work nor whether you need additional stuff to get them to work. I never had to use this myself.

Jean