All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] k10temp is detected but not shown
@ 2010-10-25  8:14 Mahmood Naderan
  2010-10-25 14:45 ` Mahmood Naderan
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-25  8:14 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 6749 bytes --]

Hi,
I want to see AMD sensors with lm-sensors. Here is what I did:

mahmood@localhost:~$ sudo sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: empty empty
# Board: TYAN S8230
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.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           Success!
    (driver `k10temp')
AMD Family 11h thermal sensors...                           No
Intel Core family thermal sensor...                         No
Intel Atom thermal sensor...                                No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No
Some Super I/O chips contain embedded 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 `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found `Winbond W83627DHG-P Super IO Sensors'                Success!
    (address 0xa10, driver `w83627ehf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     Yes
Found unknown chip with ID 0x0b00
Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): yes
Found `IPMI BMC KCS' at 0xca2...                            Success!
    (confidence 8, driver `ipmisensors')
Some hardware monitoring chips are 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 LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): yes
Using driver `i2c-piix4' for device 0000:00:14.0: ATI Technologies Inc 
SB600/SB700/SB800 SMBus
Module i2c-dev loaded successfully.
Next adapter: SMBus PIIX4 adapter at 0b00 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `w83627ehf':
  * ISA bus, address 0xa10
    Chip `Winbond W83627DHG-P Super IO Sensors' (confidence: 9)
Driver `ipmisensors':
  * ISA bus, address 0xca2
    Chip `IPMI BMC KCS' (confidence: 8)
Driver `k10temp':
  * Chip `AMD Family 10h thermal sensors' (confidence: 9)
Warning: the required module ipmisensors is not currently installed
on your system. If it is built into the kernel then it's OK.
Otherwise, check http://www.lm-sensors.org/wiki/Devicesfor
driver availability.
Warning: the required module k10temp is not currently installed
on your system. If it is built into the kernel then it's OK.
Otherwise, check http://www.lm-sensors.org/wiki/Devicesfor
driver availability.
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Adapter drivers
ipmi-si
# Chip drivers
w83627ehf
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!
Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/module-init-tools start'
to load them.
Unloading i2c-dev... OK

I then start the service:
mahmood@localhost:~$ sudo /etc/init.d/module-init-tools start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service module-init-tools start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start module-init-tools
module-init-tools stop/waiting

Seems that all things are fine, however when I run "sensors" there is no cpu 
temps:mahmood@localhost:~$ sensors
w83627dhg-isa-0a10
Adapter: ISA adapter
Vcore:       +1.11 V  (min =  +0.00 V, max =  +1.74 V)
in1:         +1.11 V  (min =  +1.91 V, max =  +1.63 V)   ALARM
AVCC:        +3.33 V  (min =  +2.98 V, max =  +3.63 V)
VCC:         +3.33 V  (min =  +2.98 V, max =  +3.63 V)
in4:         +2.03 V  (min =  +0.80 V, max =  +1.18 V)   ALARM
in5:         +1.66 V  (min =  +1.52 V, max =  +1.02 V)   ALARM
in6:         +1.12 V  (min =  +1.12 V, max =  +1.71 V)
3VSB:        +3.28 V  (min =  +2.98 V, max =  +3.63 V)
Vbat:        +3.25 V  (min =  +2.70 V, max =  +3.30 V)
fan1:          0 RPM  (min = 2109 RPM, div = 128)  ALARM
fan2:          0 RPM  (min = 1757 RPM, div = 128)  ALARM
fan3:          0 RPM  (min = 10546 RPM, div = 128)  ALARM
fan4:          0 RPM  (min =  878 RPM, div = 128)  ALARM
fan5:          0 RPM  (min = 10546 RPM, div = 128)  ALARM
temp1:       +42.0°C  (high = -58.0°C, hyst = +99.0°C)  sensor = thermistor
temp2:       +41.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
temp3:       -60.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = transistor
cpu0_vid:   +0.375 V

 
I use Ubuntu 10.04 on AMD64. Also I used the lm-sensors package from synaptick.
Any idea? k10temp is detected but not shown. Thanks
 
// Naderan *Mahmood;


      

[-- Attachment #1.2: Type: text/html, Size: 13308 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
@ 2010-10-25 14:45 ` Mahmood Naderan
  2010-10-25 14:53 ` Jean Delvare
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-25 14:45 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 7388 bytes --]

What does this statement mean in the wiki page:
(2009-12-06) Embedded sensors are known to be unreliable on the DR-BA, DR-B2, 
DR-B3, RB-C2 and HY-D0 revisions of the family 10h CPU, which will never be 
supported. Driver contributed by Clemens Ladisch, reviewed by Jean Delvare.

Should I download and install the stand alone driver (Makefile and k10temp.c) 
separetly?
 
// Naderan *Mahmood;




________________________________
From: Mahmood Naderan <nt_mahmood@yahoo.com>
To: lm-sensors <lm-sensors@lm-sensors.org>
Sent: Mon, October 25, 2010 11:44:18 AM
Subject: [lm-sensors] k10temp is detected but not shown


Hi,
I want to see AMD sensors with lm-sensors. Here is what I did:

mahmood@localhost:~$ sudo sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: empty empty
# Board: TYAN S8230
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.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           Success!
    (driver `k10temp')
AMD Family 11h thermal sensors...                           No
Intel Core family thermal sensor...                         No
Intel Atom thermal sensor...                                No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No
Some Super I/O chips contain embedded 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 `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found `Winbond W83627DHG-P Super IO Sensors'                Success!
    (address 0xa10, driver `w83627ehf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     Yes
Found unknown chip with ID 0x0b00
Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): yes
Found `IPMI BMC KCS' at 0xca2...                            Success!
    (confidence 8, driver `ipmisensors')
Some hardware monitoring chips are 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 LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): yes
Using driver `i2c-piix4' for device 0000:00:14.0: ATI Technologies Inc 
SB600/SB700/SB800 SMBus
Module i2c-dev loaded successfully.
Next adapter: SMBus PIIX4 adapter at 0b00 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `w83627ehf':
  * ISA bus, address 0xa10
    Chip `Winbond W83627DHG-P Super IO Sensors' (confidence: 9)
Driver `ipmisensors':
  * ISA bus, address 0xca2
    Chip `IPMI BMC KCS' (confidence: 8)
Driver `k10temp':
  * Chip `AMD Family 10h thermal sensors' (confidence: 9)
Warning: the required module ipmisensors is not currently installed
on your system. If it is built into the kernel then it's OK.
Otherwise, check http://www.lm-sensors.org/wiki/Devicesfor
driver availability.
Warning: the required module k10temp is not currently installed
on your system. If it is built into the kernel then it's OK.
Otherwise, check http://www.lm-sensors.org/wiki/Devicesfor
driver availability.
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Adapter drivers
ipmi-si
# Chip drivers
w83627ehf
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!
Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/module-init-tools start'
to load them.
Unloading i2c-dev... OK

I then start the service:
mahmood@localhost:~$ sudo /etc/init.d/module-init-tools start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service module-init-tools start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start module-init-tools
module-init-tools stop/waiting

Seems that all things are fine, however when I run "sensors" there is no cpu 
temps:mahmood@localhost:~$ sensors
w83627dhg-isa-0a10
Adapter: ISA adapter
Vcore:       +1.11 V  (min =  +0.00 V, max =  +1.74 V)
in1:         +1.11 V  (min =  +1.91 V, max =  +1.63 V)   ALARM
AVCC:        +3.33 V  (min =  +2.98 V, max =  +3.63 V)
VCC:         +3.33 V  (min =  +2.98 V, max =  +3.63 V)
in4:         +2.03 V  (min =  +0.80 V, max =  +1.18 V)   ALARM
in5:         +1.66 V  (min =  +1.52 V, max =  +1.02 V)   ALARM
in6:         +1.12 V  (min =  +1.12 V, max =  +1.71 V)
3VSB:        +3.28 V  (min =  +2.98 V, max =  +3.63 V)
Vbat:        +3.25 V  (min =  +2.70 V, max =  +3.30 V)
fan1:          0 RPM  (min = 2109 RPM, div = 128)  ALARM
fan2:          0 RPM  (min = 1757 RPM, div = 128)  ALARM
fan3:          0 RPM  (min = 10546 RPM, div = 128)  ALARM
fan4:          0 RPM  (min =  878 RPM, div = 128)  ALARM
fan5:          0 RPM  (min = 10546 RPM, div = 128)  ALARM
temp1:       +42.0°C  (high = -58.0°C, hyst = +99.0°C)  sensor = thermistor
temp2:       +41.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
temp3:       -60.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = transistor
cpu0_vid:   +0.375 V

 
I use Ubuntu 10.04 on AMD64. Also I used the lm-sensors package from synaptick.
Any idea? k10temp is detected but not shown. Thanks
 
// Naderan *Mahmood;



      

[-- Attachment #1.2: Type: text/html, Size: 14701 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
  2010-10-25 14:45 ` Mahmood Naderan
@ 2010-10-25 14:53 ` Jean Delvare
  2010-10-25 15:00 ` Mahmood Naderan
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-25 14:53 UTC (permalink / raw)
  To: lm-sensors

Please don't top-post.

On Mon, 25 Oct 2010 07:45:16 -0700 (PDT), Mahmood Naderan wrote:
> What does this statement mean in the wiki page:
> (2009-12-06) Embedded sensors are known to be unreliable on the DR-BA, DR-B2, 
> DR-B3, RB-C2 and HY-D0 revisions of the family 10h CPU, which will never be 
> supported. Driver contributed by Clemens Ladisch, reviewed by Jean Delvare.

It means exactly what is written, what else?

> Should I download and install the stand alone driver (Makefile and k10temp.c) 
> separetly?

If your kernel doesn't include this driver, yes.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
  2010-10-25 14:45 ` Mahmood Naderan
  2010-10-25 14:53 ` Jean Delvare
@ 2010-10-25 15:00 ` Mahmood Naderan
  2010-10-25 15:07 ` Jean Delvare
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-25 15:00 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 982 bytes --]

>If your kernel doesn't include this driver, yes
How can I check?
 
// Naderan *Mahmood;




________________________________
From: Jean Delvare <khali@linux-fr.org>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: lm-sensors <lm-sensors@lm-sensors.org>
Sent: Mon, October 25, 2010 6:23:10 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

Please don't top-post.

On Mon, 25 Oct 2010 07:45:16 -0700 (PDT), Mahmood Naderan wrote:
> What does this statement mean in the wiki page:
> (2009-12-06) Embedded sensors are known to be unreliable on the DR-BA, DR-B2, 
> DR-B3, RB-C2 and HY-D0 revisions of the family 10h CPU, which will never be 
> supported. Driver contributed by Clemens Ladisch, reviewed by Jean Delvare.

It means exactly what is written, what else?

> Should I download and install the stand alone driver (Makefile and k10temp.c) 
> separetly?

If your kernel doesn't include this driver, yes.

-- 
Jean Delvare



      

[-- Attachment #1.2: Type: text/html, Size: 1876 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (2 preceding siblings ...)
  2010-10-25 15:00 ` Mahmood Naderan
@ 2010-10-25 15:07 ` Jean Delvare
  2010-10-25 15:30 ` Mahmood Naderan
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-25 15:07 UTC (permalink / raw)
  To: lm-sensors

On Mon, 25 Oct 2010 08:00:07 -0700 (PDT), Mahmood Naderan wrote:
> >If your kernel doesn't include this driver, yes
>
> How can I check?

Sensors-detect told you. You even quoted that part in your original
post. Furthermore, the Devices page in the wiki tells you in which
kernel version the driver was added, so it should be easy to find out,
assuming you know which kernel version you're running.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (3 preceding siblings ...)
  2010-10-25 15:07 ` Jean Delvare
@ 2010-10-25 15:30 ` Mahmood Naderan
  2010-10-26 10:38 ` Mahmood Naderan
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-25 15:30 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 760 bytes --]

I will try. thanks
 
// Naderan *Mahmood;




________________________________
From: Jean Delvare <khali@linux-fr.org>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: lm-sensors <lm-sensors@lm-sensors.org>
Sent: Mon, October 25, 2010 6:37:21 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

On Mon, 25 Oct 2010 08:00:07 -0700 (PDT), Mahmood Naderan wrote:
> >If your kernel doesn't include this driver, yes
>
> How can I check?

Sensors-detect told you. You even quoted that part in your original
post. Furthermore, the Devices page in the wiki tells you in which
kernel version the driver was added, so it should be easy to find out,
assuming you know which kernel version you're running.

-- 
Jean Delvare



      

[-- Attachment #1.2: Type: text/html, Size: 1597 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (4 preceding siblings ...)
  2010-10-25 15:30 ` Mahmood Naderan
@ 2010-10-26 10:38 ` Mahmood Naderan
  2010-10-26 10:59 ` Jean Delvare
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-26 10:38 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 2088 bytes --]

I compiled the k10temp driver with these commands:
mahmood@localhost:k10temp$ sudo make all
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
/usr/src/linux-headers-2.6.32-25-generic/arch/x86/Makefile:81: stack protector 
enabled but no compiler support
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
mahmood@localhost:k10temp$ sudo make install
test -d /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon || mkdir 
/lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
cp k10temp.ko /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
depmod -a -F /lib/modules/2.6.32-25-generic/build/System.map 2.6.32-25-generic

I then restart the system and check the lsmod:
mahmood@localhost:k10temp$ sudo lsmod | grep "k10temp"
k10temp                 3543  0 

the output of "sensors" command is:
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +28.0°C  (high = +70.0°C, crit = +70.0°C)  

k10temp-pci-00cb
Adapter: PCI adapter
temp1:       +27.0°C  (high = +70.0°C)                  

k10temp-pci-00d3
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C)                  

k10temp-pci-00db
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)  

Is this correct? I should see 16 temperatures.

 
// Naderan *Mahmood;




________________________________
From: Jean Delvare <khali@linux-fr.org>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: lm-sensors <lm-sensors@lm-sensors.org>
Sent: Mon, October 25, 2010 6:37:21 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

On Mon, 25 Oct 2010 08:00:07 -0700 (PDT), Mahmood Naderan wrote:
> >If your kernel doesn't include this driver, yes
>
> How can I check?

Sensors-detect told you. You even quoted that part in your original
post. Furthermore, the Devices page in the wiki tells you in which
kernel version the driver was added, so it should be easy to find out,
assuming you know which kernel version you're running.

-- 
Jean Delvare



      

[-- Attachment #1.2: Type: text/html, Size: 6563 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (5 preceding siblings ...)
  2010-10-26 10:38 ` Mahmood Naderan
@ 2010-10-26 10:59 ` Jean Delvare
  2010-10-26 11:09 ` Mahmood Naderan
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-26 10:59 UTC (permalink / raw)
  To: lm-sensors

On Tue, 26 Oct 2010 03:38:21 -0700 (PDT), Mahmood Naderan wrote:
> I compiled the k10temp driver with these commands:
> mahmood@localhost:k10temp$ sudo make all
> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
> /usr/src/linux-headers-2.6.32-25-generic/arch/x86/Makefile:81: stack protector 
> enabled but no compiler support
>   Building modules, stage 2.
>   MODPOST 1 modules
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
> mahmood@localhost:k10temp$ sudo make install
> test -d /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon || mkdir 
> /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
> cp k10temp.ko /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
> depmod -a -F /lib/modules/2.6.32-25-generic/build/System.map 2.6.32-25-generic
> 
> I then restart the system and check the lsmod:
> mahmood@localhost:k10temp$ sudo lsmod | grep "k10temp"
> k10temp                 3543  0 
> 
> the output of "sensors" command is:
> k10temp-pci-00c3
> Adapter: PCI adapter
> temp1:       +28.0°C  (high = +70.0°C, crit = +70.0°C)  
> 
> k10temp-pci-00cb
> Adapter: PCI adapter
> temp1:       +27.0°C  (high = +70.0°C)                  
> 
> k10temp-pci-00d3
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C)                  
> 
> k10temp-pci-00db
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)  

Surprising that some CPUs have the critical limit and some don't... Do
you have several, different CPU models in your system?

> Is this correct? I should see 16 temperatures.

Why should you?

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (6 preceding siblings ...)
  2010-10-26 10:59 ` Jean Delvare
@ 2010-10-26 11:09 ` Mahmood Naderan
  2010-10-26 11:21 ` Jean Delvare
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-26 11:09 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 2190 bytes --]

> Do you have several, different CPU models in your system?
Two AMD cpu (each has 8 cores) on one motherboard

 
>Why should you?
Because the lm-sensor for core-i7 (that has 8 cores) shows 8 cpu temperatures

Regards,

// Naderan *Mahmood;




________________________________
From: Jean Delvare <khali@linux-fr.org>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: lm-sensors <lm-sensors@lm-sensors.org>
Sent: Tue, October 26, 2010 2:29:45 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

On Tue, 26 Oct 2010 03:38:21 -0700 (PDT), Mahmood Naderan wrote:
> I compiled the k10temp driver with these commands:
> mahmood@localhost:k10temp$ sudo make all
> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
> /usr/src/linux-headers-2.6.32-25-generic/arch/x86/Makefile:81: stack protector 

> enabled but no compiler support
>   Building modules, stage 2.
>   MODPOST 1 modules
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
> mahmood@localhost:k10temp$ sudo make install
> test -d /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon || mkdir 
> /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
> cp k10temp.ko /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
> depmod -a -F /lib/modules/2.6.32-25-generic/build/System.map 2.6.32-25-generic
> 
> I then restart the system and check the lsmod:
> mahmood@localhost:k10temp$ sudo lsmod | grep "k10temp"
> k10temp                 3543  0 
> 
> the output of "sensors" command is:
> k10temp-pci-00c3
> Adapter: PCI adapter
> temp1:       +28.0°C  (high = +70.0°C, crit = +70.0°C)  
> 
> k10temp-pci-00cb
> Adapter: PCI adapter
> temp1:       +27.0°C  (high = +70.0°C)                  
> 
> k10temp-pci-00d3
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C)                  
> 
> k10temp-pci-00db
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)  

Surprising that some CPUs have the critical limit and some don't... Do
you have several, different CPU models in your system?

> Is this correct? I should see 16 temperatures.

Why should you?

-- 
Jean Delvare



      

[-- Attachment #1.2: Type: text/html, Size: 4212 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (7 preceding siblings ...)
  2010-10-26 11:09 ` Mahmood Naderan
@ 2010-10-26 11:21 ` Jean Delvare
  2010-10-26 11:57 ` Mahmood Naderan
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-26 11:21 UTC (permalink / raw)
  To: lm-sensors

On Tue, 26 Oct 2010 04:09:10 -0700 (PDT), Mahmood Naderan wrote:
> > Do you have several, different CPU models in your system?
> Two AMD cpu (each has 8 cores) on one motherboard

You only answered to half of my question. Please attach the contents
of /proc/cpuinfo and the output of lspci.

> >Why should you?
> Because the lm-sensor for core-i7 (that has 8 cores) shows 8 cpu temperatures

Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
(aka K10) CPUs are made by AMD, aren't you? They are different CPU
models, they don't have to be designed the same way.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (8 preceding siblings ...)
  2010-10-26 11:21 ` Jean Delvare
@ 2010-10-26 11:57 ` Mahmood Naderan
  2010-10-26 12:38 ` Jean Delvare
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-26 11:57 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

> Please attach the contents of /proc/cpuinfo and the output of lspci.
I have attached them

>Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
>(aka K10) CPUs are made by AMD, aren't you? They are different CPU
>models, they don't have to be designed the same way.
I know that :)
I thought maybe that is a standard and each cpu temperature must be shown 
separetly.


 
// Naderan *Mahmood;



----- Original Message ----
From: Jean Delvare <khali@linux-fr.org>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: lm-sensors <lm-sensors@lm-sensors.org>
Sent: Tue, October 26, 2010 2:51:19 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

On Tue, 26 Oct 2010 04:09:10 -0700 (PDT), Mahmood Naderan wrote:
> > Do you have several, different CPU models in your system?
> Two AMD cpu (each has 8 cores) on one motherboard

You only answered to half of my question. Please attach the contents
of /proc/cpuinfo and the output of lspci.

> >Why should you?
> Because the lm-sensor for core-i7 (that has 8 cores) shows 8 cpu temperatures

Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
(aka K10) CPUs are made by AMD, aren't you? They are different CPU
models, they don't have to be designed the same way.

-- 
Jean Delvare



      

[-- Attachment #2: cpuinfo-lspci.zip --]
[-- Type: application/zip, Size: 1634 bytes --]

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (9 preceding siblings ...)
  2010-10-26 11:57 ` Mahmood Naderan
@ 2010-10-26 12:38 ` Jean Delvare
  2010-10-26 13:06 ` Mahmood Naderan
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-26 12:38 UTC (permalink / raw)
  To: lm-sensors

On Tue, 26 Oct 2010 04:57:25 -0700 (PDT), Mahmood Naderan wrote:
> > Please attach the contents of /proc/cpuinfo and the output of lspci.
> I have attached them

Please use plain text, uncompressed attachments next time. It's easier
to watch directly in my e-mail client.

From lspci:

00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:19.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:1a.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:1b.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control

These are the PCI devices which provide temperature readings. 4 devices
-> 4 entries in "sensors", everything is as expected.

All entries in cpuinfo look the same, so I can't explain why some have
the critical limit and some don't. Please provide the output of:

lspci -xxx -d 1022:1203

> >Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
> >(aka K10) CPUs are made by AMD, aren't you? They are different CPU
> >models, they don't have to be designed the same way.
> I know that :)
> I thought maybe that is a standard and each cpu temperature must be shown 
> separetly.

There is no such standard.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (10 preceding siblings ...)
  2010-10-26 12:38 ` Jean Delvare
@ 2010-10-26 13:06 ` Mahmood Naderan
  2010-10-26 13:21 ` Jean Delvare
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-26 13:06 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 3712 bytes --]

>Please provide the output of:
>lspci -xxx -d 1022:1203

mahmood@localhost:~$ lspci -xxx -d 1022:1203
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
00:19.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
00:1a.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
00:1b.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00

 
One more question, Is it possible to find out which two modules are tied to one 
processor?
Currently there are:
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +27.0°C  (high = +70.0°C, crit = +70.0°C)
k10temp-pci-00cb
Adapter: PCI adapter
temp1:       +27.0°C  (high = +70.0°C)
k10temp-pci-00d3
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C)
k10temp-pci-00db
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)
 
Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 00db] are 
for the other cpu?
Thanks,
// Naderan *Mahmood;



----- Original Message ----
From: Jean Delvare <khali@linux-fr.org>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: lm-sensors <lm-sensors@lm-sensors.org>; Clemens Ladisch <clemens@ladisch.de>
Sent: Tue, October 26, 2010 4:08:01 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

On Tue, 26 Oct 2010 04:57:25 -0700 (PDT), Mahmood Naderan wrote:
> > Please attach the contents of /proc/cpuinfo and the output of lspci.
> I have attached them

Please use plain text, uncompressed attachments next time. It's easier
to watch directly in my e-mail client.

From lspci:

00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00:19.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00:1a.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00:1b.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control

These are the PCI devices which provide temperature readings. 4 devices
-> 4 entries in "sensors", everything is as expected.

All entries in cpuinfo look the same, so I can't explain why some have
the critical limit and some don't. Please provide the output of:

lspci -xxx -d 1022:1203

> >Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
> >(aka K10) CPUs are made by AMD, aren't you? They are different CPU
> >models, they don't have to be designed the same way.
> I know that :)
> I thought maybe that is a standard and each cpu temperature must be shown 
> separetly.

There is no such standard.

-- 
Jean Delvare



      

[-- Attachment #1.2: Type: text/html, Size: 5074 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (11 preceding siblings ...)
  2010-10-26 13:06 ` Mahmood Naderan
@ 2010-10-26 13:21 ` Jean Delvare
  2010-10-26 13:25 ` Mahmood Naderan
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-26 13:21 UTC (permalink / raw)
  To: lm-sensors

Please keep Clemens Cc'd, he wrote the k10temp driver.

On Tue, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
> >Please provide the output of:
> >lspci -xxx -d 1022:1203
> 
> mahmood@localhost:~$ lspci -xxx -d 1022:1203
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
> 00:19.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
> 00:1a.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
> 00:1b.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00

Sorry, I forgot to mention that you had to run this command as root.
Once again please.

> One more question, Is it possible to find out which two modules are tied to one 
> processor?

Modules?

> Currently there are:
> k10temp-pci-00c3
> Adapter: PCI adapter
> temp1:       +27.0°C  (high = +70.0°C, crit = +70.0°C)
> k10temp-pci-00cb
> Adapter: PCI adapter
> temp1:       +27.0°C  (high = +70.0°C)
> k10temp-pci-00d3
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C)
> k10temp-pci-00db
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)
>  
> Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 00db] are 
> for the other cpu?

I have no idea, sorry. All the k10temp driver sees are PCI devices, it
doesn't know about the CPUs behind them.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (12 preceding siblings ...)
  2010-10-26 13:21 ` Jean Delvare
@ 2010-10-26 13:25 ` Mahmood Naderan
  2010-10-26 13:53 ` Clemens Ladisch
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-26 13:25 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 6866 bytes --]

>Please keep Clemens Cc'd, he wrote the k10temp driver.
Thanks for your help

>Sorry, I forgot to mention that you had to run this command as root.
>Once again please.
mahmood@localhost:~$ sudo lspci -xxx -d 1022:1203
[sudo] password for mahmood:
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
40: ff ff ff 3f 58 00 70 4a 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 0f 10 12 10 00 d4 c8 76
60: 00 00 00 00 05 00 24 4a 00 00 00 40 52 80 02 00
70: 53 11 05 00 11 11 08 00 14 0c 20 00 18 0a 09 00
80: 81 e6 00 e6 e6 41 e6 01 08 00 00 00 00 40 58 00
90: 03 00 00 00 10 00 00 00 00 b6 16 02 00 00 00 00
a0: 00 4c 1b a0 ef 0f 6c 1b 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 8c 00 02 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 25 ef 31 c3 15 02 00 03 2d 64 47 01
e0: 00 00 00 00 30 14 c0 1d 5f 7f f0 22 00 00 00 00
f0: 0f 00 10 00 00 00 00 00 00 00 00 00 91 0f 10 00
00:19.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
40: ff ff ff 3f 58 00 70 4a 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 0f 10 12 10 00 c5 c8 96
60: 02 00 00 00 04 00 24 0a 00 00 00 00 52 80 02 00
70: 53 11 05 00 11 11 08 00 14 0c 20 00 18 0a 09 00
80: 81 e6 00 e6 e6 41 e6 01 08 00 00 00 00 40 58 00
90: 03 00 00 00 10 00 00 00 00 b6 16 02 00 00 00 00
a0: 00 4c 1b a0 ef 0f 0c 1b 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 25 ef 31 c3 15 02 00 03 2d 64 47 01
e0: 00 00 00 00 30 14 c0 1d 5f 7f f0 62 00 00 00 00
f0: 0f 00 10 00 00 00 00 00 00 00 00 00 91 0f 10 00
00:1a.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
40: ff ff ff 3f 58 00 70 4a 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 0f 10 12 10 c0 bf c8 96
60: 04 00 00 00 04 00 24 0a 00 00 00 00 52 80 02 00
70: 53 11 05 00 11 11 08 00 14 0c 20 00 18 0a 09 00
80: 81 e6 00 e6 e6 41 e6 01 08 00 00 00 00 40 58 00
90: 03 00 00 00 10 00 00 00 00 b6 16 02 00 00 00 00
a0: 00 4c 1b a0 ef 0f 8c 1a 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 25 ef 31 c3 15 02 00 03 2a 64 47 01
e0: 00 00 00 00 30 14 c0 1d 5f 7f f0 62 00 00 00 00
f0: 0f 00 10 00 00 00 00 00 00 00 00 00 91 0f 10 00
00:1b.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
Sempron] Miscellaneous Control
00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
40: ff ff ff 3f 58 00 70 4a 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 0f 10 12 10 80 af c8 96
60: 06 00 00 00 05 00 24 4a 00 00 00 40 52 80 02 00
70: 53 11 05 00 11 11 08 00 14 0c 20 00 18 0a 09 00
80: 81 e6 00 e6 e6 41 e6 01 08 00 00 00 00 40 58 00
90: 03 00 00 00 10 00 00 00 00 b6 16 02 00 00 00 00
a0: 00 4c 1b a0 ef 0f 8c 1a 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 25 ef 31 c3 15 02 00 03 2a 64 47 01
e0: 00 00 00 00 30 14 c0 1d 5f 7f f0 22 00 00 00 00
f0: 0f 00 10 00 00 00 00 00 00 00 00 00 91 0f 10 00

Regards,
// Naderan *Mahmood;




________________________________
From: Jean Delvare <khali@linux-fr.org>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: lm-sensors <lm-sensors@lm-sensors.org>; Clemens Ladisch <clemens@ladisch.de>
Sent: Tue, October 26, 2010 4:51:56 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

Please keep Clemens Cc'd, he wrote the k10temp driver.

On Tue, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
> >Please provide the output of:
> >lspci -xxx -d 1022:1203
> 
> mahmood@localhost:~$ lspci -xxx -d 1022:1203
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
> 00:19.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
> 00:1a.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00
> 00:1b.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, 
> Sempron] Miscellaneous Control
> 00: 22 10 03 12 00 00 10 00 00 00 00 06 00 00 80 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 f0 00 00 00 00 00 00 00 00 00 00 00

Sorry, I forgot to mention that you had to run this command as root.
Once again please.

> One more question, Is it possible to find out which two modules are tied to one 
>
> processor?

Modules?

> Currently there are:
> k10temp-pci-00c3
> Adapter: PCI adapter
> temp1:       +27.0°C  (high = +70.0°C, crit = +70.0°C)
> k10temp-pci-00cb
> Adapter: PCI adapter
> temp1:       +27.0°C  (high = +70.0°C)
> k10temp-pci-00d3
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C)
> k10temp-pci-00db
> Adapter: PCI adapter
> temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)
>  
> Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 00db] 
>are 
>
> for the other cpu?

I have no idea, sorry. All the k10temp driver sees are PCI devices, it
doesn't know about the CPUs behind them.

-- 
Jean Delvare



      

[-- Attachment #1.2: Type: text/html, Size: 8559 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (13 preceding siblings ...)
  2010-10-26 13:25 ` Mahmood Naderan
@ 2010-10-26 13:53 ` Clemens Ladisch
  2010-10-26 14:00 ` Mahmood Naderan
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Clemens Ladisch @ 2010-10-26 13:53 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:
> > > Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
> > > (aka K10) CPUs are made by AMD, aren't you? They are different CPU
> > > models, they don't have to be designed the same way.
> > 
> > I know that :)
> > I thought maybe that is a standard and each cpu temperature must be show
> > separetly.
> 
> There is no such standard.

And on the newest CPUs, Intel has switched to one temperature sensor per
package.

> On Tue, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
> > One more question, Is it possible to find out which two modules are tied to one 
> > processor?
> 
> Modules?
> 
> > Currently there are:
> > k10temp-pci-00c3
> > temp1:       +27.0°C  (high = +70.0°C, crit = +70.0°C)
> > k10temp-pci-00cb
> > temp1:       +27.0°C  (high = +70.0°C)
> > k10temp-pci-00d3
> > temp1:       +26.0°C  (high = +70.0°C)
> > k10temp-pci-00db
> > temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)
> >  
> > Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 00db] are 
> > for the other cpu?

I conclude from this question that you have two CPUs, and that each CPU
has two temperature sensors.

The temperature sensor is part of the PCI device that associated with
the CPU's internal northbridge.  IIRC the six-core CPUs have two
northbridges, for whatever technical reason, so they present two
temparature sensors to the OS.

It looks as if the two sensors in each CPU have the same value.  Is this
always the case?

(I don't know where the c3/cb/d3/db names come from.)

> All entries in cpuinfo look the same, so I can't explain why some have
> the critical limit and some don't.

The limit is set by the BIOS.  I'd guess the BIOS knows that two sensors
are actually the same, an so doesn't bother to set the limit on the
superfluous ones.

I'll look into the datasheet to see if this situation (two northbridges
per CPU) is documented and can be detected so that the driver can ignore
these superfluous sensors.


Regards,
Clemens

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (14 preceding siblings ...)
  2010-10-26 13:53 ` Clemens Ladisch
@ 2010-10-26 14:00 ` Mahmood Naderan
  2010-10-26 14:15 ` Jean Delvare
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-26 14:00 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 3318 bytes --]

>It looks as if the two sensors in each CPU have the same value.  Is this
>always the case?
I think so, with one core set to high, I see these values

mahmood@localhost:bin$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +32.5°C  (high = +70.0°C, crit = +70.0°C)  
k10temp-pci-00cb
Adapter: PCI adapter
temp1:       +32.0°C  (high = +70.0°C)                  
k10temp-pci-00d3
Adapter: PCI adapter
temp1:       +34.0°C  (high = +70.0°C)                  
k10temp-pci-00db
Adapter: PCI adapter
temp1:       +34.0°C  (high = +70.0°C, crit = +70.0°C)  

>The limit is set by the BIOS.  I'd guess the BIOS knows that two sensors
>are actually the same, an so doesn't bother to set the limit on the
>superfluous ones.
Agree with that. So [00c3 and 00cb] are for one cpu and [00d3 and 00db] are for 
the other.

Thank you all for the quick help 
// Naderan *Mahmood;




________________________________
From: Clemens Ladisch <clemens@ladisch.de>
To: Jean Delvare <khali@linux-fr.org>
Cc: Mahmood Naderan <nt_mahmood@yahoo.com>; lm-sensors 
<lm-sensors@lm-sensors.org>
Sent: Tue, October 26, 2010 5:23:29 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

Jean Delvare wrote:
> > > Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
> > > (aka K10) CPUs are made by AMD, aren't you? They are different CPU
> > > models, they don't have to be designed the same way.
> > 
> > I know that :)
> > I thought maybe that is a standard and each cpu temperature must be show
> > separetly.
> 
> There is no such standard.

And on the newest CPUs, Intel has switched to one temperature sensor per
package.

> On Tue, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
> > One more question, Is it possible to find out which two modules are tied to 
>one 
>
> > processor?
> 
> Modules?
> 
> > Currently there are:
> > k10temp-pci-00c3
> > temp1:      +27.0°C  (high = +70.0°C, crit = +70.0°C)
> > k10temp-pci-00cb
> > temp1:      +27.0°C  (high = +70.0°C)
> > k10temp-pci-00d3
> > temp1:      +26.0°C  (high = +70.0°C)
> > k10temp-pci-00db
> > temp1:      +26.0°C  (high = +70.0°C, crit = +70.0°C)
> >  
> > Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 00db] 
>are 
>
> > for the other cpu?

I conclude from this question that you have two CPUs, and that each CPU
has two temperature sensors.

The temperature sensor is part of the PCI device that associated with
the CPU's internal northbridge.  IIRC the six-core CPUs have two
northbridges, for whatever technical reason, so they present two
temparature sensors to the OS.

It looks as if the two sensors in each CPU have the same value.  Is this
always the case?

(I don't know where the c3/cb/d3/db names come from.)

> All entries in cpuinfo look the same, so I can't explain why some have
> the critical limit and some don't.

The limit is set by the BIOS.  I'd guess the BIOS knows that two sensors
are actually the same, an so doesn't bother to set the limit on the
superfluous ones.

I'll look into the datasheet to see if this situation (two northbridges
per CPU) is documented and can be detected so that the driver can ignore
these superfluous sensors.


Regards,
Clemens



      

[-- Attachment #1.2: Type: text/html, Size: 5305 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (15 preceding siblings ...)
  2010-10-26 14:00 ` Mahmood Naderan
@ 2010-10-26 14:15 ` Jean Delvare
  2010-10-26 14:52 ` Clemens Ladisch
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-26 14:15 UTC (permalink / raw)
  To: lm-sensors

Hi Clemens,

On Tue, 26 Oct 2010 15:53:29 +0200, Clemens Ladisch wrote:
> Jean Delvare wrote:
> > > > Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
> > > > (aka K10) CPUs are made by AMD, aren't you? They are different CPU
> > > > models, they don't have to be designed the same way.
> > > 
> > > I know that :)
> > > I thought maybe that is a standard and each cpu temperature must be show
> > > separetly.
> > 
> > There is no such standard.
> 
> And on the newest CPUs, Intel has switched to one temperature sensor per
> package.

Really? Starting with which CPU model?

> > On Tue, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
> > > One more question, Is it possible to find out which two modules are tied to one 
> > > processor?
> > 
> > Modules?
> > 
> > > Currently there are:
> > > k10temp-pci-00c3
> > > temp1:       +27.0°C  (high = +70.0°C, crit = +70.0°C)
> > > k10temp-pci-00cb
> > > temp1:       +27.0°C  (high = +70.0°C)
> > > k10temp-pci-00d3
> > > temp1:       +26.0°C  (high = +70.0°C)
> > > k10temp-pci-00db
> > > temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)
> > >  
> > > Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 00db] are 
> > > for the other cpu?
> 
> I conclude from this question that you have two CPUs, and that each CPU
> has two temperature sensors.
> 
> The temperature sensor is part of the PCI device that associated with
> the CPU's internal northbridge.  IIRC the six-core CPUs have two
> northbridges, for whatever technical reason, so they present two
> temparature sensors to the OS.
> 
> It looks as if the two sensors in each CPU have the same value.  Is this
> always the case?
> 
> (I don't know where the c3/cb/d3/db names come from.)

This is the PCI bus number in compact hexadecimal form:

00:18.3 -> 00c3
00:19.3 -> 00cb
00:1a.3 -> 00d3
00:1b.3 -> 00db

We had to find a unique ID to differentiate between them, and that ID
had to fit in an int to make libsensors happy.

> > All entries in cpuinfo look the same, so I can't explain why some have
> > the critical limit and some don't.
> 
> The limit is set by the BIOS.  I'd guess the BIOS knows that two sensors
> are actually the same, an so doesn't bother to set the limit on the
> superfluous ones.
> 
> I'll look into the datasheet to see if this situation (two northbridges
> per CPU) is documented and can be detected so that the driver can ignore
> these superfluous sensors.

If these sensors exist, I see no valid reason to ignore them. Two
sensors can be useful, to slightly increase the resolution by combining
them, or simply in case one of them get unreliable for whatever reason.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (16 preceding siblings ...)
  2010-10-26 14:15 ` Jean Delvare
@ 2010-10-26 14:52 ` Clemens Ladisch
  2010-10-26 14:53 ` Jean Delvare
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Clemens Ladisch @ 2010-10-26 14:52 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:
> On Tue, 26 Oct 2010 15:53:29 +0200, Clemens Ladisch wrote:
> > And on the newest CPUs, Intel has switched to one temperature sensor per
> > package.
> 
> Really? Starting with which CPU model?

Sandy Bridge (pkgtemp driver).

> > I'll look into the datasheet to see if this situation (two northbridges
> > per CPU) is documented and can be detected so that the driver can ignore
> > these superfluous sensors.
> 
> If these sensors exist, I see no valid reason to ignore them.

It might be possible that these are just two ways to read the same
sensor, i.e., that two sensors per CPU do not actually exist.


Regards,
Clemens

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (17 preceding siblings ...)
  2010-10-26 14:52 ` Clemens Ladisch
@ 2010-10-26 14:53 ` Jean Delvare
  2010-10-26 15:02 ` Guenter Roeck
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Jean Delvare @ 2010-10-26 14:53 UTC (permalink / raw)
  To: lm-sensors

On Tue, 26 Oct 2010 16:52:15 +0200, Clemens Ladisch wrote:
> Jean Delvare wrote:
> > On Tue, 26 Oct 2010 15:53:29 +0200, Clemens Ladisch wrote:
> > > And on the newest CPUs, Intel has switched to one temperature sensor per
> > > package.
> > 
> > Really? Starting with which CPU model?
> 
> Sandy Bridge (pkgtemp driver).

My understanding was that this was an additional per-package
(meta-)sensor, and not a replacement for the per-core sensors.

> > > I'll look into the datasheet to see if this situation (two northbridges
> > > per CPU) is documented and can be detected so that the driver can ignore
> > > these superfluous sensors.
> > 
> > If these sensors exist, I see no valid reason to ignore them.
> 
> It might be possible that these are just two ways to read the same
> sensor, i.e., that two sensors per CPU do not actually exist.

Ah, that would be different, and I'd agree with you then.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (18 preceding siblings ...)
  2010-10-26 14:53 ` Jean Delvare
@ 2010-10-26 15:02 ` Guenter Roeck
  2010-10-26 15:04 ` Philip Pokorny
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: Guenter Roeck @ 2010-10-26 15:02 UTC (permalink / raw)
  To: lm-sensors

On Tue, Oct 26, 2010 at 10:53:16AM -0400, Jean Delvare wrote:
> On Tue, 26 Oct 2010 16:52:15 +0200, Clemens Ladisch wrote:
> > Jean Delvare wrote:
> > > On Tue, 26 Oct 2010 15:53:29 +0200, Clemens Ladisch wrote:
> > > > And on the newest CPUs, Intel has switched to one temperature sensor per
> > > > package.
> > > 
> > > Really? Starting with which CPU model?
> > 
> > Sandy Bridge (pkgtemp driver).
> 
> My understanding was that this was an additional per-package
> (meta-)sensor, and not a replacement for the per-core sensors.
> 
At least that is what the Intel folks said. There can be one or more package 
level sensors. Those are in addition to the per-core sensors, not a replacement.

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (19 preceding siblings ...)
  2010-10-26 15:02 ` Guenter Roeck
@ 2010-10-26 15:04 ` Philip Pokorny
  2010-10-26 15:05 ` Clemens Ladisch
  2010-10-26 15:33 ` Mahmood Naderan
  22 siblings, 0 replies; 24+ messages in thread
From: Philip Pokorny @ 2010-10-26 15:04 UTC (permalink / raw)
  To: lm-sensors



On Oct 26, 2010, at 7:15 AM, Jean Delvare <khali@linux-fr.org> wrote:

> Hi Clemens,
>
> On Tue, 26 Oct 2010 15:53:29 +0200, Clemens Ladisch wrote:
>> Jean Delvare wrote:
>>>>> Doh. You are aware that Core i7 CPUs are made by Intel and  
>>>>> Family 10h
>>>>> (aka K10) CPUs are made by AMD, aren't you? They are different CPU
>>>>> models, they don't have to be designed the same way.
>>>>
>>>> I know that :)
>>>> I thought maybe that is a standard and each cpu temperature must  
>>>> be show
>>>> separetly.
>>>
>>> There is no such standard.
>>
>> And on the newest CPUs, Intel has switched to one temperature  
>> sensor per
>> package.
>
> Really? Starting with which CPU model?
>
>>> On Tue, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
>>>> One more question, Is it possible to find out which two modules  
>>>> are tied to one
>>>> processor?
>>>
>>> Modules?

I suspect he has Magny Cours processors. They are multi-chip modules  
with two CPU chips per package. /proc/cpuinfo will tell you which  
cores are in which sockets.



>>>> Is it true that [00c3 and 00cb] are for one physical cpu and  
>>>> [00d3 and 00db] are
>>>> for the other cpu?
>>
>> I conclude from this question that you have two CPUs, and that each  
>> CPU
>> has two temperature sensors.
>>
>> The temperature sensor is part of the PCI device that associated with
>> the CPU's internal northbridge.  IIRC the six-core CPUs have two
>> northbridges, for whatever technical reason, so they present two
>> temparature sensors to the OS.
>>
>> It looks as if the two sensors in each CPU have the same value.  Is  
>> this
>> always the case?
>>
>> (I don't know where the c3/cb/d3/db names come from.)
>
> This is the PCI bus number in compact hexadecimal form:
>
> 00:18.3 -> 00c3
> 00:19.3 -> 00cb
> 00:1a.3 -> 00d3
> 00:1b.3 -> 00db
>
> We had to find a unique ID to differentiate between them, and that ID
> had to fit in an int to make libsensors happy.
>
>>> All entries in cpuinfo look the same, so I can't explain why some  
>>> have
>>> the critical limit and some don't.
>>
>> The limit is set by the BIOS.  I'd guess the BIOS knows that two  
>> sensors
>> are actually the same, an so doesn't bother to set the limit on the
>> superfluous ones.
>>
>> I'll look into the datasheet to see if this situation (two  
>> northbridges
>> per CPU) is documented and can be detected so that the driver can  
>> ignore
>> these superfluous sensors.
>
> If these sensors exist, I see no valid reason to ignore them. Two
> sensors can be useful, to slightly increase the resolution by  
> combining
> them, or simply in case one of them get unreliable for whatever  
> reason.
>

If these are Magny Cours, then they are definitely different sensors  
and they come from the different CPU chips in the package. If you ran  
a load on only one CPU chip:

$ numactl --cpunodebind=0 mprime -b4 -t

You should see the temperatures diverge for the sensors in the same  
socket.

Phil P. 

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (20 preceding siblings ...)
  2010-10-26 15:04 ` Philip Pokorny
@ 2010-10-26 15:05 ` Clemens Ladisch
  2010-10-26 15:33 ` Mahmood Naderan
  22 siblings, 0 replies; 24+ messages in thread
From: Clemens Ladisch @ 2010-10-26 15:05 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:
> On Tue, 26 Oct 2010 16:52:15 +0200, Clemens Ladisch wrote:
> > Jean Delvare wrote:
> > > On Tue, 26 Oct 2010 15:53:29 +0200, Clemens Ladisch wrote:
> > > > And on the newest CPUs, Intel has switched to one temperature sensor per
> > > > package.
> > > 
> > > Really? Starting with which CPU model?
> > 
> > Sandy Bridge (pkgtemp driver).
> 
> My understanding was that this was an additional per-package
> (meta-)sensor, and not a replacement for the per-core sensors.

Yes, you're right; I looked only at the coretemp documentation
which isn't quite up to date.


Regards,
Clemens

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [lm-sensors] k10temp is detected but not shown
  2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
                   ` (21 preceding siblings ...)
  2010-10-26 15:05 ` Clemens Ladisch
@ 2010-10-26 15:33 ` Mahmood Naderan
  22 siblings, 0 replies; 24+ messages in thread
From: Mahmood Naderan @ 2010-10-26 15:33 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 3965 bytes --]

>I suspect he has Magny Cours processors. They are multi-chip modules with two 
>CPU chips per >package. /proc/cpuinfo will >tell you which cores are in which 
>sockets
Yes. I think "physical id" shows the socket number
 
>$ numactl --cpunodebind=0 mprime -b4 -t
>You should see the temperatures diverge for the sensors in the same socket.
Yes I saw that the first two temperature are the same but different from other 
two  


// Naderan *Mahmood;




________________________________
From: Philip Pokorny <ppokorny@penguincomputing.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: Clemens Ladisch <clemens@ladisch.de>; lm-sensors <lm-sensors@lm-sensors.org>
Sent: Tue, October 26, 2010 6:34:22 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown



On Oct 26, 2010, at 7:15 AM, Jean Delvare <khali@linux-fr.org> wrote:

> Hi Clemens,
> 
> On Tue, 26 Oct 2010 15:53:29 +0200, Clemens Ladisch wrote:
>> Jean Delvare wrote:
>>>>> Doh. You are aware that Core i7 CPUs are made by Intel and Family 10h
>>>>> (aka K10) CPUs are made by AMD, aren't you? They are different CPU
>>>>> models, they don't have to be designed the same way.
>>>> 
>>>> I know that :)
>>>> I thought maybe that is a standard and each cpu temperature must be show
>>>> separetly.
>>> 
>>> There is no such standard.
>> 
>> And on the newest CPUs, Intel has switched to one temperature sensor per
>> package.
> 
> Really? Starting with which CPU model?
> 
>>> On Tue, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
>>>> One more question, Is it possible to find out which two modules are tied to 
>>>one
>>>> processor?
>>> 
>>> Modules?

I suspect he has Magny Cours processors. They are multi-chip modules with two 
CPU chips per package. /proc/cpuinfo will tell you which cores are in which 
sockets.



>>>> Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 00db] 
>>>>are
>>>> for the other cpu?
>> 
>> I conclude from this question that you have two CPUs, and that each CPU
>> has two temperature sensors.
>> 
>> The temperature sensor is part of the PCI device that associated with
>> the CPU's internal northbridge.  IIRC the six-core CPUs have two
>> northbridges, for whatever technical reason, so they present two
>> temparature sensors to the OS.
>> 
>> It looks as if the two sensors in each CPU have the same value.  Is this
>> always the case?
>> 
>> (I don't know where the c3/cb/d3/db names come from.)
> 
> This is the PCI bus number in compact hexadecimal form:
> 
> 00:18.3 -> 00c3
> 00:19.3 -> 00cb
> 00:1a.3 -> 00d3
> 00:1b.3 -> 00db
> 
> We had to find a unique ID to differentiate between them, and that ID
> had to fit in an int to make libsensors happy.
> 
>>> All entries in cpuinfo look the same, so I can't explain why some have
>>> the critical limit and some don't.
>> 
>> The limit is set by the BIOS.  I'd guess the BIOS knows that two sensors
>> are actually the same, an so doesn't bother to set the limit on the
>> superfluous ones.
>> 
>> I'll look into the datasheet to see if this situation (two northbridges
>> per CPU) is documented and can be detected so that the driver can ignore
>> these superfluous sensors.
> 
> If these sensors exist, I see no valid reason to ignore them. Two
> sensors can be useful, to slightly increase the resolution by combining
> them, or simply in case one of them get unreliable for whatever reason.
> 

If these are Magny Cours, then they are definitely different sensors and they 
come from the different CPU chips in the package. If you ran a load on only one 
CPU chip:

$ numactl --cpunodebind=0 mprime -b4 -t

You should see the temperatures diverge for the sensors in the same socket.

Phil P.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



      

[-- Attachment #1.2: Type: text/html, Size: 5963 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2010-10-26 15:33 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25  8:14 [lm-sensors] k10temp is detected but not shown Mahmood Naderan
2010-10-25 14:45 ` Mahmood Naderan
2010-10-25 14:53 ` Jean Delvare
2010-10-25 15:00 ` Mahmood Naderan
2010-10-25 15:07 ` Jean Delvare
2010-10-25 15:30 ` Mahmood Naderan
2010-10-26 10:38 ` Mahmood Naderan
2010-10-26 10:59 ` Jean Delvare
2010-10-26 11:09 ` Mahmood Naderan
2010-10-26 11:21 ` Jean Delvare
2010-10-26 11:57 ` Mahmood Naderan
2010-10-26 12:38 ` Jean Delvare
2010-10-26 13:06 ` Mahmood Naderan
2010-10-26 13:21 ` Jean Delvare
2010-10-26 13:25 ` Mahmood Naderan
2010-10-26 13:53 ` Clemens Ladisch
2010-10-26 14:00 ` Mahmood Naderan
2010-10-26 14:15 ` Jean Delvare
2010-10-26 14:52 ` Clemens Ladisch
2010-10-26 14:53 ` Jean Delvare
2010-10-26 15:02 ` Guenter Roeck
2010-10-26 15:04 ` Philip Pokorny
2010-10-26 15:05 ` Clemens Ladisch
2010-10-26 15:33 ` Mahmood Naderan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.