Skip to contentSkip to conversation

Jetway NC92-330-LF motherboard sensors.conf

lm-sensors Maciej Żenczykowski 2 participants 5 messages Jun 5, 2009 – Jun 15, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

submitting a sensors.conf file for a Jetway NC92-330-LF motherboard with f71882fg monitoring chip.

# uname -a
Linux gaia 2.6.29.4-168.mz1.fc11.x86_64 #1 SMP Fri Jun 5 11:10:05 CEST
2009 x86_64 x86_64 x86_64 GNU/Linux
# lsmod | head -n 5
Module                  Size  Used by
f71882fg               27120  0
coretemp                6768  0

Also including a slight patch to coretemp.c for atom support.

Hope you include the conf in the wiki.
Thanks,
Maciej

Documentation/hwmon/coretemp +8 -6
diff -Naur vanilla-2.6.29/Documentation/hwmon/coretemp vanilla-2.6.29.coretemp/Documentation/hwmon/coretemp
@@ -4,7 +4,7 @@
 Supported chips:
   * All Intel Core family
     Prefix: 'coretemp'
-    CPUID: family 0x6, models 0xe, 0xf, 0x16, 0x17
+    CPUID: family 0x6, models 0xe, 0xf, 0x16, 0x17, 0x1c
     Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
                Volume 3A: System Programming Guide
                http://softwarecommunity.intel.com/Wiki/Mobility/720.htm
@@ -14,10 +14,11 @@
 Description
 -----------
 
-This driver permits reading temperature sensor embedded inside Intel Core CPU.
-Temperature is measured in degrees Celsius and measurement resolution is
-1 degree C. Valid temperatures are from 0 to TjMax degrees C, because
-the actual value of temperature register is in fact a delta from TjMax.
+This driver permits reading temperature sensor embedded inside Intel
+Core and Intel Atom CPUs. Temperature is measured in degrees Celsius
+and measurement resolution is 1 degree C. Valid temperatures are from 0
+to TjMax degrees C, because the actual value of temperature register is
+in fact a delta from TjMax.
 
 Temperature known as TjMax is the maximum junction temperature of processor.
 Intel defines this temperature as 85C or 100C. At this temperature, protection
@@ -35,4 +36,5 @@
 
 The TjMax temperature is set to 85 degrees C if undocumented model specific
 register (UMSR) 0xee has bit 30 set. If not the TjMax is 100 degrees C as
-(sometimes) documented in processor datasheet.
+(sometimes) documented in processor datasheet. The Intel Atom has TjMax 95C
+as per the specification.
drivers/hwmon/coretemp.c +11 -3
diff -Naur vanilla-2.6.29/drivers/hwmon/coretemp.c vanilla-2.6.29.coretemp/drivers/hwmon/coretemp.c
@@ -1,7 +1,8 @@
 /*
  * coretemp.c - Linux kernel module for hardware monitoring
  *
- * Copyright (C) 2007 Rudolf Marek <[email protected]>
+ * Copyright (C) 2007, 2008 Rudolf Marek <[email protected]>
+ * Atom patch ported by Maciej Zenczykowski <[email protected]>
  *
  * Inspired from many hwmon drivers
  *
@@ -161,6 +162,13 @@
 	int err;
 	u32 eax, edx;
 
+	/* Intel Atom has a fixed TjMax at 95C */
+	if (c->x86_model == 0x1c) {
+		tjmax = 95000;
+		ismobile = 0;
+		return tjmax;
+	}
+	
 	/* Early chips have no MSR for TjMax */
 
 	if ((c->x86_model == 0xf) && (c->x86_mask < 4)) {
@@ -413,11 +421,11 @@
 	for_each_online_cpu(i) {
 		struct cpuinfo_x86 *c = &cpu_data(i);
 
-		/* check if family 6, models 0xe, 0xf, 0x16, 0x17, 0x1A */
+		/* check if family 6, models 0xe, 0xf, 0x16, 0x17, 0x1a, 0x1c */
 		if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
 		    !((c->x86_model == 0xe) || (c->x86_model == 0xf) ||
 			(c->x86_model == 0x16) || (c->x86_model == 0x17) ||
-			(c->x86_model == 0x1A))) {
+			(c->x86_model == 0x1a) || (c->x86_model == 0x1c))) {
 
 			/* supported CPU not found, but report the unknown
 			   family 6 CPU */

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw
Quoted 7 lines · Maciej Å»enczykowski

submitting a sensors.conf file for a Jetway NC92-330-LF motherboard with f71882fg monitoring chip.

# uname -a
Linux gaia 2.6.29.4-168.mz1.fc11.x86_64 #1 SMP Fri Jun 5 11:10:05 CEST
2009 x86_64 x86_64 x86_64 GNU/Linux
Quoted 8 lines
# lsmod | head -n 5
Module                  Size  Used by
f71882fg               27120  0
coretemp                6768  0

Also including a slight patch to coretemp.c for atom support.

Hope you include the conf in the wiki.

Done, thanks for your contribution:
http://www.lm-sensors.org/wiki/Configurations/Jetway/NC92-330-LF

Note: you should really be able to tell which is the CPU temperature sensor by putting significant load on the system and watching which temperature value raises highest and fastest.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Maciej Żenczykowski

Fair enough, but the intel atom 330 chip is only 8W TDP (passive cooling, although using the exhaust heat from the northbridge for cooling) and the northbridge chipset is ~20W TDP (active cooling). As such it's not clear exactly what to expect to get hotter faster. They're marked the way I believe the BIOS marks them, but on an idle machine with plenty of cooling:

Core 0:      +40.0°C  (crit = +95.0°C)
Core 1:      +41.0°C  (crit = +95.0°C)
Core 2:      +42.0°C  (crit = +95.0°C)
Core 3:      +41.0°C  (crit = +95.0°C)
CPUFAN:     1920 RPM
SYSFAN1:    3667 RPM
SYSFAN2:    2008 RPM
?CPU Temp:   +31.0°C  (high = +85.0°C, hyst = +81.0°C)
?Sys Temp:   +41.0°C  (high = +85.0°C, hyst = +81.0°C)
???? Temp:   +47.0°C  (high = +70.0°C, hyst = +68.0°C)
# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             31 C

Unfortunately the core temps may or may not be correct (they may need an offset of +-X degrees, since it's not clear what TjMax actually is for an atom 330, and I'm 'kind of' guessing it to be 95), and the cpu temp being lower than the sys temp actually makes some sense...

The last temperature isn't even shown by the BIOS, but does seem to show a kind of reasonable value (maybe it's the NB?)...

I'm guessing that the CPU does actually run cooler than the northbridge - it's just a tad counter-intuitive.

2009/6/15 Jean Delvare <[email protected]>:

Quoted 20 lines · Maciej Żenczykowski
Quoted 7 lines

submitting a sensors.conf file for a Jetway NC92-330-LF motherboard with f71882fg monitoring chip.

# uname -a
Linux gaia 2.6.29.4-168.mz1.fc11.x86_64 #1 SMP Fri Jun 5 11:10:05 CEST
2009 x86_64 x86_64 x86_64 GNU/Linux
Quoted 8 lines
# lsmod | head -n 5
Module                  Size  Used by
f71882fg               27120  0
coretemp                6768  0

Also including a slight patch to coretemp.c for atom support.

Hope you include the conf in the wiki.

Done, thanks for your contribution:
http://www.lm-sensors.org/wiki/Configurations/Jetway/NC92-330-LF

Quoted 7 lines

Note: you should really be able to tell which is the CPU temperature sensor by putting significant load on the system and watching which temperature value raises highest and fastest.

--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Maciej Żenczykowski

(In case that wasn't clear, the thing marked CPUFAN in the BIOS and in the config is actually on the northbridge, and the exhaust from the northbridge blows over the cpu)

2009/6/15 Maciej Żenczykowski <[email protected]>:

Quoted 27 lines

Fair enough, but the intel atom 330 chip is only 8W TDP (passive cooling, although using the exhaust heat from the northbridge for cooling) and the northbridge chipset is ~20W TDP (active cooling).  As such it's not clear exactly what to expect to get hotter faster. They're marked the way I believe the BIOS marks them, but on an idle machine with plenty of cooling:

Core 0:      +40.0°C  (crit = +95.0°C)
Core 1:      +41.0°C  (crit = +95.0°C)
Core 2:      +42.0°C  (crit = +95.0°C)
Core 3:      +41.0°C  (crit = +95.0°C)

CPUFAN:     1920 RPM
SYSFAN1:    3667 RPM
SYSFAN2:    2008 RPM
?CPU Temp:   +31.0°C  (high = +85.0°C, hyst = +81.0°C) ?Sys Temp:   +41.0°C  (high = +85.0°C, hyst = +81.0°C) ???? Temp:   +47.0°C  (high = +70.0°C, hyst = +68.0°C)

# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             31 C

Unfortunately the core temps may or may not be correct (they may need an offset of +-X degrees, since it's not clear what TjMax actually is for an atom 330, and I'm 'kind of' guessing it to be 95), and the cpu temp being lower than the sys temp actually makes some sense...

Quoted 35 lines

The last temperature isn't even shown by the BIOS, but does seem to show a kind of reasonable value (maybe it's the NB?)...

I'm guessing that the CPU does actually run cooler than the northbridge - it's just a tad counter-intuitive.

2009/6/15 Jean Delvare <[email protected]>:

Quoted 27 lines · Maciej Żenczykowski
Quoted 7 lines

submitting a sensors.conf file for a Jetway NC92-330-LF motherboard with f71882fg monitoring chip.

# uname -a
Linux gaia 2.6.29.4-168.mz1.fc11.x86_64 #1 SMP Fri Jun 5 11:10:05 CEST
2009 x86_64 x86_64 x86_64 GNU/Linux
Quoted 8 lines
# lsmod | head -n 5
Module                  Size  Used by
f71882fg               27120  0
coretemp                6768  0

Also including a slight patch to coretemp.c for atom support.

Hope you include the conf in the wiki.

Done, thanks for your contribution:
http://www.lm-sensors.org/wiki/Configurations/Jetway/NC92-330-LF

Note: you should really be able to tell which is the CPU temperature sensor by putting significant load on the system and watching which temperature value raises highest and fastest.

--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw
In reply to Maciej Żenczykowski

Running mprime295-linux64 test 2 = In-place large FFTs (maximum heat and power consumption, some RAM
tested) with 4 threads.

Core 0:      +55.0°C  (crit = +95.0°C)
Core 1:      +58.0°C  (crit = +95.0°C)
Core 2:      +58.0°C  (crit = +95.0°C)
Core 3:      +55.0°C  (crit = +95.0°C)
?CPU Temp:   +47.0°C  (high = +85.0°C, hyst = +81.0°C)
?Sys Temp:   +43.0°C  (high = +85.0°C, hyst = +81.0°C)
???? Temp:   +47.0°C  (high = +70.0°C, hyst = +68.0°C)

ACPI THRM temperature: 47 C [so this is probably just CPU Temp]

So '?CPU Temp' is probably indeed CPU Temp, but the other two are still unclear (especially the third one, which does oscillate a little, seen 45-48).

The Core Temps do seem to be consistently about ~10 C higher than CPU Temp, which suggest that TjMax is probably closer to 90 C [instead of the assumed 95 C]. Since usually core temps are about 5 C higher than cpu case temp, assuming that that is indeed what is being measured here. Which also is in compliance with the thermal spec of an atom 330 being 85.2C [
http://processorfinder.intel.com/details.aspx?sSpec=SLG9Y ] (+~5C case max to junction max gives a 90C TjMax). But it's really all just guess-work...

Unfortunately my setup has rather good cooling (ran into issues with the 2 HDDs overheating and opened up the case and added an extra huge fan). And as I don't currently have physical access to it (it's on the other side of the pond) I'm not willing to dial it down.

Anyway... to actually include some useful content in this email. How are we going to proceed with the atom coretemp patch? [forward ported from http://bugzilla.kernel.org/show_bug.cgi?id161 ]

Cheers,
Maciej

2009/6/15 Maciej Żenczykowski <[email protected]>:

Quoted 4 lines

(In case that wasn't clear, the thing marked CPUFAN in the BIOS and in the config is actually on the northbridge, and the exhaust from the northbridge blows over the cpu)

Quoted 64 lines

2009/6/15 Maciej Żenczykowski <[email protected]>:

Quoted 62 lines

Fair enough, but the intel atom 330 chip is only 8W TDP (passive cooling, although using the exhaust heat from the northbridge for cooling) and the northbridge chipset is ~20W TDP (active cooling).  As such it's not clear exactly what to expect to get hotter faster. They're marked the way I believe the BIOS marks them, but on an idle machine with plenty of cooling:

Core 0:      +40.0°C  (crit = +95.0°C)
Core 1:      +41.0°C  (crit = +95.0°C)
Core 2:      +42.0°C  (crit = +95.0°C)
Core 3:      +41.0°C  (crit = +95.0°C)

CPUFAN:     1920 RPM
SYSFAN1:    3667 RPM
SYSFAN2:    2008 RPM
?CPU Temp:   +31.0°C  (high = +85.0°C, hyst = +81.0°C) ?Sys Temp:   +41.0°C  (high = +85.0°C, hyst = +81.0°C) ???? Temp:   +47.0°C  (high = +70.0°C, hyst = +68.0°C)

# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             31 C

Unfortunately the core temps may or may not be correct (they may need an offset of +-X degrees, since it's not clear what TjMax actually is for an atom 330, and I'm 'kind of' guessing it to be 95), and the cpu temp being lower than the sys temp actually makes some sense...

The last temperature isn't even shown by the BIOS, but does seem to show a kind of reasonable value (maybe it's the NB?)...

I'm guessing that the CPU does actually run cooler than the northbridge - it's just a tad counter-intuitive.

2009/6/15 Jean Delvare <[email protected]>:

Quoted 27 lines · Maciej Żenczykowski
Quoted 7 lines

submitting a sensors.conf file for a Jetway NC92-330-LF motherboard with f71882fg monitoring chip.

# uname -a
Linux gaia 2.6.29.4-168.mz1.fc11.x86_64 #1 SMP Fri Jun 5 11:10:05 CEST
2009 x86_64 x86_64 x86_64 GNU/Linux
Quoted 8 lines
# lsmod | head -n 5
Module                  Size  Used by
f71882fg               27120  0
coretemp                6768  0

Also including a slight patch to coretemp.c for atom support.

Hope you include the conf in the wiki.

Done, thanks for your contribution:
http://www.lm-sensors.org/wiki/Configurations/Jetway/NC92-330-LF

Note: you should really be able to tell which is the CPU temperature sensor by putting significant load on the system and watching which temperature value raises highest and fastest.

--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors