hwmon: (adm1021) Clarify documentation regarding Xeon
Subsystems (2)
Recent Xeon processor thermal sensors are supported by the coretemp driver and not the adm1021 driver. Only one old generation of Xeon processors (the first Netburst ones) are supported by the adm1021 driver.
--- Documentation/hwmon/adm1021 | 36 +++++++++++++++++++----------------- drivers/hwmon/Kconfig | 3 +-- 2 files changed, 20 insertions(+), 19 deletions(-)
Documentation/hwmon/adm1021 +19 -17
@@ -14,10 +14,6 @@ Supported chips: Prefix: 'gl523sm' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e Datasheet: - * Intel Xeon Processor - Prefix: - any other - may require 'force_adm1021' parameter - Addresses scanned: none - Datasheet: Publicly available at Intel website * Maxim MAX1617 Prefix: 'max1617' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e
@@ -91,21 +87,27 @@ will do no harm, but will return 'old' v ADM1021-clones do faster measurements, but there is really no good reason for that. -Xeon support ------------- -Some Xeon processors have real max1617, adm1021, or compatible chips -within them, with two temperature sensors. +Netburst-based Xeon support +--------------------------- -Other Xeons have chips with only one sensor. +Some Xeon processors based on the Netburst (early Pentium 4, from 2001 to +2003) microarchitecture had real MAX1617, ADM1021, or compatible chips +within them, with two temperature sensors. Other Xeon processors of this +era (with 400 MHz FSB) had chips with only one temperature sensor. -If you have a Xeon, and the adm1021 module loads, and both temperatures -appear valid, then things are good. +If you have such an old Xeon, and you get two valid temperatures when +loading the adm1021 module, then things are good. -If the adm1021 module doesn't load, you should try this: - modprobe adm1021 force_adm1021=BUS,ADDRESS - ADDRESS can only be 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. +If nothing happens when loading the adm1021 module, are you are certain +that your specific Xeon processor model includes compatible sensors, you +will have to explicitly instantiate the sensor chips from user-space. See +method 4 in Documentation/i2c/instantiating-devices. Possible slave +addresses are 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. It is likely that +only temp2 will be correct and temp1 will have to be ignored. -If you have dual Xeons you may have appear to have two separate -adm1021-compatible chips, or two single-temperature sensors, at distinct -addresses. +Previous generations of the Xeon processor (based on Pentium II/III) +didn't have these sensors. Next generations of Xeon processors (533 MHz +FSB and faster) lost them, until the Core-based generation which +introduced integrated digital thermal sensors. These are supported by +the coretemp driver.
drivers/hwmon/Kconfig +1 -2
@@ -110,8 +110,7 @@ config SENSORS_ADM1021 help If you say yes here you get support for Analog Devices ADM1021 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A, - Genesys Logic GL523SM, National Semiconductor LM84, TI THMC10, - and the XEON processor built-in sensor. + Genesys Logic GL523SM, National Semiconductor LM84 and TI THMC10. This driver can also be built as a module. If so, the module will be called adm1021.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Guenter Roeck
Acked-byRe: [lm-sensors] hwmon: (adm1021) Clarify documentation regarding
Quoted 7 lines · Jean Delvare
Recent Xeon processor thermal sensors are supported by the coretemp driver and not the adm1021 driver. Only one old generation of Xeon processors (the first Netburst ones) are supported by the adm1021 driver.
Reported-by Darren Hart <[email protected]>Signed-off-by Jean Delvare <[email protected]>
Nitpick below, otherwise
Quoted 35 lines
--- Documentation/hwmon/adm1021 | 36 +++++++++++++++++++----------------- drivers/hwmon/Kconfig | 3 +-- 2 files changed, 20 insertions(+), 19 deletions(-)Documentation/hwmon/adm1021 +6
-9@@ -14,10 +14,6 @@ Supported chips: Prefix: 'gl523sm' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e Datasheet: - * Intel Xeon Processor - Prefix: - any other - may require 'force_adm1021' parameter - Addresses scanned: none - Datasheet: Publicly available at Intel website * Maxim MAX1617 Prefix: 'max1617' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e@@ -91,21 +87,27 @@ will do no harm, but will return 'old' v ADM1021-clones do faster measurements, but there is really no good reason for that. -Xeon support ------------- -Some Xeon processors have real max1617, adm1021, or compatible chips -within them, with two temperature sensors. +Netburst-based Xeon support +--------------------------- -Other Xeons have chips with only one sensor. +Some Xeon processors based on the Netburst (early Pentium 4, from 2001 to +2003) microarchitecture had real MAX1617, ADM1021, or compatible chips +within them, with two temperature sensors. Other Xeon processors of this +era (with 400 MHz FSB) had chips with only one temperature sensor.
Documentation/hwmon/adm1021 will do no harm, but will return 'old' v · line 102
Quoted 10 lines
Documentation/hwmon/adm1021 +3
-5-If you have a Xeon, and the adm1021 module loads, and both temperatures -appear valid, then things are good. +If you have such an old Xeon, and you get two valid temperatures when +loading the adm1021 module, then things are good. -If the adm1021 module doesn't load, you should try this: - modprobe adm1021 force_adm1021=BUS,ADDRESS - ADDRESS can only be 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. +If nothing happens when loading the adm1021 module, are you are certain
are you are -> and you are
Quoted 35 lines
Documentation/hwmon/adm1021 +10
-3+that your specific Xeon processor model includes compatible sensors, you +will have to explicitly instantiate the sensor chips from user-space. See +method 4 in Documentation/i2c/instantiating-devices. Possible slave +addresses are 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. It is likely that +only temp2 will be correct and temp1 will have to be ignored. -If you have dual Xeons you may have appear to have two separate -adm1021-compatible chips, or two single-temperature sensors, at distinct -addresses. +Previous generations of the Xeon processor (based on Pentium II/III) +didn't have these sensors. Next generations of Xeon processors (533 MHz +FSB and faster) lost them, until the Core-based generation which +introduced integrated digital thermal sensors. These are supported by +the coretemp driver.drivers/hwmon/Kconfig +1
-2@@ -110,8 +110,7 @@ config SENSORS_ADM1021 help If you say yes here you get support for Analog Devices ADM1021 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A, - Genesys Logic GL523SM, National Semiconductor LM84, TI THMC10, - and the XEON processor built-in sensor. + Genesys Logic GL523SM, National Semiconductor LM84 and TI THMC10. This driver can also be built as a module. If so, the module will be called adm1021.Signature · 7 lines
-- Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] hwmon: (adm1021) Clarify documentation regarding
In reply to Jean DelvareQuoted 6 lines · Guenter Roeck
Quoted 5 lines · Jean Delvare
Recent Xeon processor thermal sensors are supported by the coretemp driver and not the adm1021 driver. Only one old generation of Xeon processors (the first Netburst ones) are supported by the adm1021 driver.
Quoted 6 lines
Quoted 2 lines
Reported-by Darren Hart <[email protected]>Signed-off-by Jean Delvare <[email protected]>Nitpick below, otherwise
Acked-by Guenter Roeck <[email protected]>
Thanks for the review :)
Quoted 41 lines
Quoted 41 lines
--- Documentation/hwmon/adm1021 | 36 +++++++++++++++++++----------------- drivers/hwmon/Kconfig | 3 +-- 2 files changed, 20 insertions(+), 19 deletions(-)Documentation/hwmon/adm1021 +8
-11@@ -14,10 +14,6 @@ Supported chips: Prefix: 'gl523sm' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e Datasheet: - * Intel Xeon Processor - Prefix: - any other - may require 'force_adm1021' parameter - Addresses scanned: none - Datasheet: Publicly available at Intel website * Maxim MAX1617 Prefix: 'max1617' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e@@ -91,21 +87,27 @@ will do no harm, but will return 'old' v ADM1021-clones do faster measurements, but there is really no good reason for that. -Xeon support ------------- -Some Xeon processors have real max1617, adm1021, or compatible chips -within them, with two temperature sensors. +Netburst-based Xeon support +--------------------------- -Other Xeons have chips with only one sensor. +Some Xeon processors based on the Netburst (early Pentium 4, from 2001 to +2003) microarchitecture had real MAX1617, ADM1021, or compatible chips +within them, with two temperature sensors. Other Xeon processors of this +era (with 400 MHz FSB) had chips with only one temperature sensor. -If you have a Xeon, and the adm1021 module loads, and both temperatures -appear valid, then things are good. +If you have such an old Xeon, and you get two valid temperatures when +loading the adm1021 module, then things are good.
Quoted 6 lines
Documentation/hwmon/adm1021 will do no harm, but will return 'old' v · line 102
Quoted 4 lines
Documentation/hwmon/adm1021 +1
-3-If the adm1021 module doesn't load, you should try this: - modprobe adm1021 force_adm1021=BUS,ADDRESS - ADDRESS can only be 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. +If nothing happens when loading the adm1021 module, are you are certainare you are -> and you are
Good catch, thanks!
Quoted 36 lines
Quoted 36 lines
Documentation/hwmon/adm1021 +10
-3+that your specific Xeon processor model includes compatible sensors, you +will have to explicitly instantiate the sensor chips from user-space. See +method 4 in Documentation/i2c/instantiating-devices. Possible slave +addresses are 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. It is likely that +only temp2 will be correct and temp1 will have to be ignored. -If you have dual Xeons you may have appear to have two separate -adm1021-compatible chips, or two single-temperature sensors, at distinct -addresses. +Previous generations of the Xeon processor (based on Pentium II/III) +didn't have these sensors. Next generations of Xeon processors (533 MHz +FSB and faster) lost them, until the Core-based generation which +introduced integrated digital thermal sensors. These are supported by +the coretemp driver.drivers/hwmon/Kconfig +1
-2@@ -110,8 +110,7 @@ config SENSORS_ADM1021 help If you say yes here you get support for Analog Devices ADM1021 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A, - Genesys Logic GL523SM, National Semiconductor LM84, TI THMC10, - and the XEON processor built-in sensor. + Genesys Logic GL523SM, National Semiconductor LM84 and TI THMC10. This driver can also be built as a module. If so, the module will be called adm1021.Signature · 7 lines
-- Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] hwmon: (adm1021) Clarify documentation regarding
In reply to Jean DelvareQuoted 5 lines · Guenter Roeck
Quoted 4 lines · Jean Delvare
Recent Xeon processor thermal sensors are supported by the coretemp driver and not the adm1021 driver. Only one old generation of Xeon processors (the first Netburst ones) are supported by the adm1021 driver.
In addition to changing the kernel config help, is there a way to avoid loading this driver for non netburst type CPUs? Someway to blacklist later CPUs from using this driver? Seems this would make sensors-detect and such behave better.
Thanks,
Darren
Quoted 91 lines
Quoted 3 lines
Reported-by Darren Hart <[email protected]>Signed-off-by Jean Delvare <[email protected]>Nitpick below, otherwise
Acked-by Guenter Roeck <[email protected]>Quoted 35 lines
--- Documentation/hwmon/adm1021 | 36 +++++++++++++++++++----------------- drivers/hwmon/Kconfig | 3 +-- 2 files changed, 20 insertions(+), 19 deletions(-)Documentation/hwmon/adm1021 +6
-9@@ -14,10 +14,6 @@ Supported chips: Prefix: 'gl523sm' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e Datasheet: - * Intel Xeon Processor - Prefix: - any other - may require 'force_adm1021' parameter - Addresses scanned: none - Datasheet: Publicly available at Intel website * Maxim MAX1617 Prefix: 'max1617' Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e@@ -91,21 +87,27 @@ will do no harm, but will return 'old' v ADM1021-clones do faster measurements, but there is really no good reason for that. -Xeon support ------------- -Some Xeon processors have real max1617, adm1021, or compatible chips -within them, with two temperature sensors. +Netburst-based Xeon support +--------------------------- -Other Xeons have chips with only one sensor. +Some Xeon processors based on the Netburst (early Pentium 4, from 2001 to +2003) microarchitecture had real MAX1617, ADM1021, or compatible chips +within them, with two temperature sensors. Other Xeon processors of this +era (with 400 MHz FSB) had chips with only one temperature sensor.Documentation/hwmon/adm1021 will do no harm, but will return 'old' v · line 102
Quoted 10 lines
Documentation/hwmon/adm1021 +3
-5-If you have a Xeon, and the adm1021 module loads, and both temperatures -appear valid, then things are good. +If you have such an old Xeon, and you get two valid temperatures when +loading the adm1021 module, then things are good. -If the adm1021 module doesn't load, you should try this: - modprobe adm1021 force_adm1021=BUS,ADDRESS - ADDRESS can only be 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. +If nothing happens when loading the adm1021 module, are you are certainare you are -> and you areQuoted 35 lines
Documentation/hwmon/adm1021 +10
-3+that your specific Xeon processor model includes compatible sensors, you +will have to explicitly instantiate the sensor chips from user-space. See +method 4 in Documentation/i2c/instantiating-devices. Possible slave +addresses are 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. It is likely that +only temp2 will be correct and temp1 will have to be ignored. -If you have dual Xeons you may have appear to have two separate -adm1021-compatible chips, or two single-temperature sensors, at distinct -addresses. +Previous generations of the Xeon processor (based on Pentium II/III) +didn't have these sensors. Next generations of Xeon processors (533 MHz +FSB and faster) lost them, until the Core-based generation which +introduced integrated digital thermal sensors. These are supported by +the coretemp driver.drivers/hwmon/Kconfig +1
-2@@ -110,8 +110,7 @@ config SENSORS_ADM1021 help If you say yes here you get support for Analog Devices ADM1021 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A, - Genesys Logic GL523SM, National Semiconductor LM84, TI THMC10, - and the XEON processor built-in sensor. + Genesys Logic GL523SM, National Semiconductor LM84 and TI THMC10. This driver can also be built as a module. If so, the module will be called adm1021.Signature · 7 lines
-- Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Signature · 8 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] hwmon: (adm1021) Clarify documentation regarding
In reply to Jean DelvareHi Darren,
Quoted 11 lines · Darren Hart
Quoted 5 lines · Guenter Roeck
Quoted 4 lines · Jean Delvare
Recent Xeon processor thermal sensors are supported by the coretemp driver and not the adm1021 driver. Only one old generation of Xeon processors (the first Netburst ones) are supported by the adm1021 driver.
In addition to changing the kernel config help, is there a way to avoid loading this driver for non netburst type CPUs? Someway to blacklist later CPUs from using this driver? Seems this would make sensors-detect and such behave better.
This is all the other way around. The adm1021 driver doesn't auto-load on PC systems. The way it usually goes is that sensors-detect will detect a compatible device, and it will set the adm1021 driver to be loaded when the lm_sensors service is started. The adm1021 driver, in turn, tries to detect compatible devices, and bind to them if found.
So the problem boils down to two related issues:
* The sensors-detect script seemingly misdetected a device on your system.
* The adm1021 got loaded and misdetected the same device. Which is expected as in general sensors-detect has the same detection code as hwmon drivers on the kernel side.
That being said, this can only be fixed if you provide the full output of sensors-detect on your system after unloading all hwmon drivers (stopping the lm_sensors service sometimes do, but not always, depends on the distribution) and a dump of the misdetected device. This will confirm the misdetection and hopefully offer a way to avoid it.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] hwmon: (adm1021) Clarify documentation regarding
In reply to Jean DelvareQuoted 28 lines · Jean Delvare
Hi Darren,
Quoted 11 lines · Darren Hart
Quoted 5 lines · Guenter Roeck
Quoted 4 lines · Jean Delvare
Recent Xeon processor thermal sensors are supported by the coretemp driver and not the adm1021 driver. Only one old generation of Xeon processors (the first Netburst ones) are supported by the adm1021 driver.
In addition to changing the kernel config help, is there a way to avoid loading this driver for non netburst type CPUs? Someway to blacklist later CPUs from using this driver? Seems this would make sensors-detect and such behave better.
This is all the other way around. The adm1021 driver doesn't auto-load on PC systems. The way it usually goes is that sensors-detect will detect a compatible device, and it will set the adm1021 driver to be loaded when the
lm_sensorsservice is started. The adm1021 driver, in turn, tries to detect compatible devices, and bind to them if found.So the problem boils down to two related issues:
* The sensors-detect script seemingly misdetected a device on your system.
* The adm1021 got loaded and misdetected the same device. Which is expected as in general sensors-detect has the same detection code as hwmon drivers on the kernel side.
Quoted 5 lines
That being said, this can only be fixed if you provide the full output of sensors-detect on your system after unloading all hwmon drivers (stopping the
lm_sensorsservice sometimes do, but not always, depends on the distribution) and a dump of the misdetected device. This will confirm the misdetection and hopefully offer a way to avoid it.
This system is really throwing me for a loop. After returning from ELC I powered it back up and have been completely unable to get sensors to read anything from w83795 or ipmi-si even. Running sensors-detect (without any hwmon modules loaded) finds only ipmi-si and w83627ehf, but sensors only reports on w83627ehf).
I have attached the typescript of the sensors-detect session, but it isn't very interesting. If I stumble across another odd set modules detected, I'll report back to the list.
/me scratches head...
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] hwmon: (adm1021) Clarify documentation regarding
In reply to Jean DelvareQuoted 20 lines · Darren Hart
Quoted 13 lines · Jean Delvare
This is all the other way around. The adm1021 driver doesn't auto-load on PC systems. The way it usually goes is that sensors-detect will detect a compatible device, and it will set the adm1021 driver to be loaded when the
lm_sensorsservice is started. The adm1021 driver, in turn, tries to detect compatible devices, and bind to them if found.So the problem boils down to two related issues:
* The sensors-detect script seemingly misdetected a device on your system.
* The adm1021 got loaded and misdetected the same device. Which is expected as in general sensors-detect has the same detection code as hwmon drivers on the kernel side.Quoted 5 lines
That being said, this can only be fixed if you provide the full output of sensors-detect on your system after unloading all hwmon drivers (stopping the
lm_sensorsservice sometimes do, but not always, depends on the distribution) and a dump of the misdetected device. This will confirm the misdetection and hopefully offer a way to avoid it.
Quoted 3 lines
This system is really throwing me for a loop. After returning from ELC I powered it back up and have been completely unable to get sensors to read anything from w83795 or ipmi-si even.
Try a complete power-off including removal from the mains power plug for 1 minute.
Quoted 7 lines
Running sensors-detect
(without any hwmon modules loaded) finds only ipmi-si and w83627ehf, but sensors only reports on w83627ehf).I have attached the typescript of the sensors-detect session, but it isn't very interesting. If I stumble across another odd set modules detected, I'll report back to the list.
From the sensors-detect log:
Quoted 2 lines
FATAL: Module
i2c_devnot found.
Failed to load module i2c-dev.
You'll have to check where this module has gone. If this is a self-built kernel, check that you have:CONFIG_I2C_CHARDEV=m
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors