Difference between revisions of "Problem with lm-sensors"

From ThinkWiki
Jump to: navigation, search
(Status)
(Some small fixes, refer to ibm-acpi instead of ACPI, link back to the AT24RF08 page)
Line 2: Line 2:
  
 
==Problem description==
 
==Problem description==
lm_sensors prior to 2.6.5 caused the corruption of the Thinkpads eeprom, leading to the Thinkpad not being bootable anymore.
+
lm_sensors prior to 2.6.5 caused the corruption of the Thinkpad's [[AT24RF08]] EEPROM, leading to the Thinkpad not being bootable anymore.
 
The common error on the affected models was:
 
The common error on the affected models was:
 
  POST ERROR 188 - EEPROM CRC ERROR
 
  POST ERROR 188 - EEPROM CRC ERROR
Line 10: Line 10:
 
Also affected is glms (GNOME LM-Sensors).
 
Also affected is glms (GNOME LM-Sensors).
  
{{NOTE|lm_sensors doesn't work with ThinkPads at all - even if this problem wouldn't occur. So just don't care about lm_sensors and use ACPI if possible.}}
+
{{NOTE|lm_sensors doesn't work with ThinkPads at all - even if this problem wouldn't occur. So just don't care about lm_sensors and use [[ibm-acpi]] if possible.}}
  
 
==Affected Models==
 
==Affected Models==
Line 26: Line 26:
  
 
==Status==
 
==Status==
It is known that the corruption was caused during the execution of sensors-detect and it is also known that its the specific Atmel [[AT24RF08|24RF08]] eeprom, that is affected.
+
It is known that the corruption was caused during the execution of sensors-detect and it is also known that it is the specific Atmel [[AT24RF08|24RF08]] eeprom that is affected.
  
 
Hence the developers of lm_sensors included a Thinkpad detection routine into the software starting from 2.6.5 and published [http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README.thinkpad this readme]. If you try to run sensors-detect on a Thinkpad it just quits with an error message, protecting your Thinkpads eeprom.
 
Hence the developers of lm_sensors included a Thinkpad detection routine into the software starting from 2.6.5 and published [http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README.thinkpad this readme]. If you try to run sensors-detect on a Thinkpad it just quits with an error message, protecting your Thinkpads eeprom.
Line 32: Line 32:
 
However, even though even the inner workings that cause the eeprom to get corrupted seem to be known, it seems impossible to avoid it and make lm_sensors work at the same time.
 
However, even though even the inner workings that cause the eeprom to get corrupted seem to be known, it seems impossible to avoid it and make lm_sensors work at the same time.
  
Currently it is unclear, if newer Thinkpad models are affected or not.
+
Currently it is unclear if newer Thinkpad models are affected or not.
  
 
==Solutions==
 
==Solutions==
  
On more recent models, try to use ACPI to gather information about processor temperature and the like. It is the future anyway.
+
Use [[ibm-acpi]] to gather information about processor temperature and the like. All the interesting Thinkpad I2C buses are not accessible to the host CPU, anyway.  The embedded controller takes care of them.
  
 
{{WARN|In any case, '''avoid lm_sensors and related software!'''}}
 
{{WARN|In any case, '''avoid lm_sensors and related software!'''}}

Revision as of 02:58, 18 January 2007

Information about the problem of lm_sensors corrupting the eeprom of Thinkpads.

Problem description

lm_sensors prior to 2.6.5 caused the corruption of the Thinkpad's AT24RF08 EEPROM, leading to the Thinkpad not being bootable anymore. The common error on the affected models was:

POST ERROR 188 - EEPROM CRC ERROR

or for the Thinkpad 240:

0188: Invalid RFID Serialization Area

Also affected is glms (GNOME LM-Sensors).

NOTE!
lm_sensors doesn't work with ThinkPads at all - even if this problem wouldn't occur. So just don't care about lm_sensors and use ibm-acpi if possible.

Affected Models

Affected Operating Systems

  • Linux, all flavours

Status

It is known that the corruption was caused during the execution of sensors-detect and it is also known that it is the specific Atmel 24RF08 eeprom that is affected.

Hence the developers of lm_sensors included a Thinkpad detection routine into the software starting from 2.6.5 and published this readme. If you try to run sensors-detect on a Thinkpad it just quits with an error message, protecting your Thinkpads eeprom.

However, even though even the inner workings that cause the eeprom to get corrupted seem to be known, it seems impossible to avoid it and make lm_sensors work at the same time.

Currently it is unclear if newer Thinkpad models are affected or not.

Solutions

Use ibm-acpi to gather information about processor temperature and the like. All the interesting Thinkpad I2C buses are not accessible to the host CPU, anyway. The embedded controller takes care of them.

ATTENTION!
In any case, avoid lm_sensors and related software!