From: Mahmood Naderan Date: Tue, 26 Oct 2010 14:00:31 +0000 Subject: Re: [lm-sensors] k10temp is detected but not shown Message-Id: <214578.81860.qm@web111702.mail.gq1.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0019158391596536538==" List-Id: References: <578838.74607.qm@web111714.mail.gq1.yahoo.com> In-Reply-To: <578838.74607.qm@web111714.mail.gq1.yahoo.com> To: lm-sensors@vger.kernel.org --===============0019158391596536538== Content-Type: multipart/alternative; boundary="0-795968659-1288101631=:81860" --0-795968659-1288101631=:81860 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable >It looks as if the two sensors in each CPU have the same value.=A0 Is this= =0A>always the case?=0AI think so, with one core set to high, I see these v= alues=0A=0Amahmood@localhost:bin$=A0sensors=0Ak10temp-pci-00c3=0AAdapter: P= CI adapter=0Atemp1:=A0=A0=A0=A0=A0=A0 +32.5=C2=B0C=A0 (high =3D +70.0=C2=B0= C, crit =3D +70.0=C2=B0C)=A0 =0Ak10temp-pci-00cb=0AAdapter: PCI adapter=0At= emp1:=A0=A0=A0=A0=A0=A0 +32.0=C2=B0C=A0 (high =3D +70.0=C2=B0C)=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0Ak10temp-pci-00d3=0AAdapter: PCI = adapter=0Atemp1:=A0=A0=A0=A0=A0=A0 +34.0=C2=B0C=A0 (high =3D +70.0=C2=B0C)= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0Ak10temp-pci-00db=0AA= dapter: PCI adapter=0Atemp1:=A0=A0=A0=A0=A0=A0 +34.0=C2=B0C=A0 (high =3D +7= 0.0=C2=B0C, crit =3D +70.0=C2=B0C)=A0 =0A=0A>The limit is set by the BIOS.= =A0 I'd guess the BIOS knows that two sensors=0A>are actually the same, an = so doesn't bother to set the limit on the=0A>superfluous ones.=0AAgree with= that. So [00c3 and 00cb] are for one cpu and [00d3 and 00db] are=A0for =0A= the other.=0A=0AThank you=A0all for the quick help=A0=0A// Naderan *Mahmood= ;=0A=0A=0A=0A=0A________________________________=0AFrom: Clemens Ladisch =0ATo: Jean Delvare =0ACc: Mahmood Na= deran ; lm-sensors =0A=0AS= ent: Tue, October 26, 2010 5:23:29 PM=0ASubject: Re: [lm-sensors] k10temp i= s detected but not shown=0A=0AJean Delvare wrote:=0A> > > Doh. You are awar= e that Core i7 CPUs are made by Intel and Family 10h=0A> > > (aka K10) CPUs= are made by AMD, aren't you? They are different CPU=0A> > > models, they d= on't have to be designed the same way.=0A> > =0A> > I know that :)=0A> > I = thought maybe that is a standard and each cpu temperature must be show=0A> = > separetly.=0A> =0A> There is no such standard.=0A=0AAnd on the newest CPU= s, Intel has switched to one temperature sensor per=0Apackage.=0A=0A> On Tu= e, 26 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:=0A> > One more = question, Is it possible to find out which two modules are tied to =0A>one = =0A>=0A> > processor?=0A> =0A> Modules?=0A> =0A> > Currently there are:=0A>= > k10temp-pci-00c3=0A> > temp1:=A0 =A0 =A0 +27.0=B0C=A0 (high =3D +70.0=B0= C, crit =3D +70.0=B0C)=0A> > k10temp-pci-00cb=0A> > temp1:=A0 =A0 =A0 +27.0= =B0C=A0 (high =3D +70.0=B0C)=0A> > k10temp-pci-00d3=0A> > temp1:=A0 =A0 =A0= +26.0=B0C=A0 (high =3D +70.0=B0C)=0A> > k10temp-pci-00db=0A> > temp1:=A0 = =A0 =A0 +26.0=B0C=A0 (high =3D +70.0=B0C, crit =3D +70.0=B0C)=0A> >=A0 =0A>= > Is it true that [00c3 and 00cb] are for one physical cpu and [00d3 and 0= 0db] =0A>are =0A>=0A> > for the other cpu?=0A=0AI conclude from this questi= on that you have two CPUs, and that each CPU=0Ahas two temperature sensors.= =0A=0AThe temperature sensor is part of the PCI device that associated with= =0Athe CPU's internal northbridge.=A0 IIRC the six-core CPUs have two=0Anor= thbridges, for whatever technical reason, so they present two=0Atemparature= sensors to the OS.=0A=0AIt looks as if the two sensors in each CPU have th= e same value.=A0 Is this=0Aalways the case?=0A=0A(I don't know where the c3= /cb/d3/db names come from.)=0A=0A> All entries in cpuinfo look the same, so= I can't explain why some have=0A> the critical limit and some don't.=0A=0A= The limit is set by the BIOS.=A0 I'd guess the BIOS knows that two sensors= =0Aare actually the same, an so doesn't bother to set the limit on the=0Asu= perfluous ones.=0A=0AI'll look into the datasheet to see if this situation = (two northbridges=0Aper CPU) is documented and can be detected so that the = driver can ignore=0Athese superfluous sensors.=0A=0A=0ARegards,=0AClemens= =0A=0A=0A=0A --0-795968659-1288101631=:81860 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
=0A
>It looks as if the two sensors in each CPU ha= ve the same value.  Is this
>always the case?
I think so, wit= h one core set to high, I see these values
=0A
mahmood@localh= ost:bin$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1:=        +32.5=C2=B0C  (high =3D +70.0=C2= =B0C, crit =3D +70.0=C2=B0C) 
=0A
k10temp-pci-00cbAdapter: PCI adapter
temp1:       +32.0= =C2=B0C  (high =3D +70.0=C2=B0C)      &n= bsp;          
=0A
k10temp-pci-00d3
Adapter: PCI adapter
temp1:  &= nbsp;    +34.0=C2=B0C  (high =3D +70.0=C2=B0C) &nb= sp;            =    
=0A
k10temp-pci-00db
Adapter: PCI a= dapter
temp1:       +34.0=C2=B0C  (hi= gh =3D +70.0=C2=B0C, crit =3D +70.0=C2=B0C) 
=0A
&nbs= p;
=0A
>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 t= o set the limit on the
>superfluous ones.
=0A
Agree with tha= t. So [00c3 and 00cb] are for one cpu and [00d3 and 00db] are for the = other.
=0A
 
=0A
Thank you all for the quick he= lp 
=0A
=0A
// Nade= ran *Mahmood;
=0A

=0A

=0A
=0A
=0AFrom: Clemens Ladisch <clemens@ladisch.de>
To: Jean Delvare <khali@linux-= fr.org>
Cc: Mahmood N= aderan <nt_mahmood@yahoo.com>; lm-sensors <lm-sensors@lm-sensors.o= rg>
Sent: Tue, Octobe= r 26, 2010 5:23:29 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

Jea= n 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 h= as switched to one temperature sensor per
package.

> On Tue, 2= 6 Oct 2010 06:06:53 -0700 (PDT), Mahmood Naderan wrote:
> > One mo= re question, Is it possible to find out which two modules are tied to one <= BR>> > processor?
>
> Modules?
>
> > Cur= rently there are:
> > k10temp-pci-00c3
> > temp1:  &= nbsp;   +27.0=B0C  (high =3D +70.0=B0C, crit =3D +70.0=B0C)
&g= t; > k10temp-pci-00cb
> > temp1:      +27.0=B0C&= nbsp; (high =3D +70.0=B0C)
> > k10temp-pci-00d3
> > temp1= :      +26.0=B0C  (high =3D +70.0=B0C)
> > k10= temp-pci-00db
> > temp1:      +26.0=B0C  (high= =3D +70.0=B0C, crit =3D +70.0=B0C)
> > 
> > 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 temperat= ure sensor is part of the PCI device that associated with
the CPU's inte= rnal northbridge.  IIRC the six-core CPUs have two
northbridges, fo= r 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 val= ue.  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, s= o I can't explain why some have
> the critical limit and some don't.<= BR>
The limit is set by the BIOS.  I'd guess the BIOS knows that tw= o sensors
are actually the same, an so doesn't bother to set the limit o= n the
superfluous ones.

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

Regards,
Clemens

=0A=0A --0-795968659-1288101631=:81860-- --===============0019158391596536538== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors --===============0019158391596536538==--