From: Mahmood Naderan Date: Tue, 26 Oct 2010 10:38:21 +0000 Subject: Re: [lm-sensors] k10temp is detected but not shown Message-Id: <536448.3359.qm@web111705.mail.gq1.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============8122053584803375088==" 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 --===============8122053584803375088== Content-Type: multipart/alternative; boundary="0-1099347085-1288089501=:3359" --0-1099347085-1288089501=:3359 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I compiled the k10temp driver with these commands:=0Amahmood@localhost:k10t= emp$ sudo make all=0Amake[1]: Entering directory `/usr/src/linux-headers-2.= 6.32-25-generic'=0A/usr/src/linux-headers-2.6.32-25-generic/arch/x86/Makefi= le:81: stack protector =0Aenabled but no compiler support=0A Building modu= les, stage 2.=0A MODPOST 1 modules=0Amake[1]: Leaving directory `/usr/src/= linux-headers-2.6.32-25-generic'=0Amahmood@localhost:k10temp$ sudo make ins= tall=0Atest -d /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon || mkdir= =0A/lib/modules/2.6.32-25-generic/kernel/drivers/hwmon=0Acp k10temp.ko /li= b/modules/2.6.32-25-generic/kernel/drivers/hwmon=0Adepmod -a -F /lib/module= s/2.6.32-25-generic/build/System.map 2.6.32-25-generic=0A=0AI then restart = the system and check the lsmod:=0Amahmood@localhost:k10temp$ sudo lsmod | g= rep "k10temp"=0Ak10temp 3543 0 =0A=0Athe output of "sensor= s" command is:=0Ak10temp-pci-00c3=0AAdapter: PCI adapter=0Atemp1: +28= .0=B0C (high =3D +70.0=B0C, crit =3D +70.0=B0C) =0A=0Ak10temp-pci-00cb=0A= Adapter: PCI adapter=0Atemp1: +27.0=B0C (high =3D +70.0=B0C) = =0A=0Ak10temp-pci-00d3=0AAdapter: PCI adapter=0Atemp1: +26.= 0=B0C (high =3D +70.0=B0C) =0A=0Ak10temp-pci-00db=0AAdapt= er: PCI adapter=0Atemp1: +26.0=B0C (high =3D +70.0=B0C, crit =3D +70= .0=B0C) =0A=0AIs this correct? I should see 16 temperatures.=0A=0A =0A// N= aderan *Mahmood;=0A=0A=0A=0A=0A________________________________=0AFrom: Jea= n Delvare =0ATo: Mahmood Naderan = =0ACc: lm-sensors =0ASent: Mon, October 25, 2010= 6:37:21 PM=0ASubject: Re: [lm-sensors] k10temp is detected but not shown= =0A=0AOn Mon, 25 Oct 2010 08:00:07 -0700 (PDT), Mahmood Naderan wrote:=0A> = >If your kernel doesn't include this driver, yes=0A>=0A> How can I check?= =0A=0ASensors-detect told you. You even quoted that part in your original= =0Apost. Furthermore, the Devices page in the wiki tells you in which=0Aker= nel version the driver was added, so it should be easy to find out,=0Aassum= ing you know which kernel version you're running.=0A=0A-- =0AJean Delvare= =0A=0A=0A=0A --0-1099347085-1288089501=:3359 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I compiled th= e 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 e= nabled but no compiler support
  Building modules, stage 2.
&nbs= p; 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=B0C  (high =3D +70.0=B0C, crit = =3D +70.0=B0C) 

k10temp-pci-00cb
Adapter: PCI adapt= er
temp1:       +27.0=B0C  (hi= gh =3D +70.0=B0C)         &nbs= p;       

k10temp-pci-00d3
Adapt= er: PCI adapter
temp1:       +26.0= =B0C  (high =3D +70.0=B0C)       &n= bsp;         

k10t= emp-pci-00db
Adapter: PCI adapter
t= emp1:       +26.0=B0C  (high =3D +70.0= =B0C, crit =3D +70.0=B0C) 


Is this correct? I sh= ould see 16 temperatures.
 
// Naderan *Mahmood;



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

=0AOn 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. Furth= ermore, the Devices page in the wiki tells you in which
kernel version t= he driver was added, so it should be easy to find out,
assuming you know= which kernel version you're running.

--
Jean Delvare
<= /div>=0A

=0A=0A --0-1099347085-1288089501=:3359-- --===============8122053584803375088== 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 --===============8122053584803375088==--