On Sunday 06 January 2008, Adam wrote:
> Also, I found out that the CPU includes some register that actually
> measures the on-die core temp, separately from the two sensors connected
> to the IT8718.  Apparently lm_sensors can use the 'coretemp' module to
> read this on supported Intel CPUs, but that module seems to be broken on
> my system:
>
> [EMAIL PROTECTED] ~]$ sudo modprobe coretemp
> FATAL: Error inserting coretemp
> (/lib/modules/2.6.22.15-desktop-1.uc1mdv/kernel/drivers/hwmon/coretemp.ko):
> Unknown symbol in module, or unknown parameter (see dmesg)

   My best guess is that modprobe can't determine which of the lower-level 
device modules are necessary to load, or it's also possible that modprobe 
knows which one to load but the kernel as delivered by Mandriva didn't 
include the required module.
   There's two ways to read "dmesg"; first there's 'dmesg' the command, but 
you can also look at /var/log/dmesg as a file.

> Is there any other way to read this value?  I know it's possible, as
> I've found Win programs that can read it, and it's separate from the
> sensors -- the sensors are usually around 24C and 34C, and core temp is
> around 50C.  I did manage to find C source for a version of the
> 'coretemp' module, but I couldn't understand it.

   There's a key thing to understand: anything that's hardware related has to 
do with the kernel, and more specifically a kernel driver.  So in the case 
where it works in Windows, that means that for whatever reason the Windows 
kernel driver works, but not the Linux kernel driver with the given Mandriva 
kernel.
   Each of the distributions tweaks the kernel source for their own reasons, 
and they each tweak + patch it differently.  That's not a bad thing; usually 
the distributions list the patches they applied and what they were for, or 
what options they removed.  But does mean that the kernel you're running by 
default is not "vanilla".

   If you want to fix your 'coretemp' issue, you don't need the source for 
just the 'coretemp' module, you need the kernel source so that you can 
recompile either the whole thing, or just the unerlying dependencies that may 
be missing.  You can either get the kernel source from Mandriva which has 
their patches applied and options removed, or you can get the "vanilla" 
kernel source from www.kernel.org.  If you get the source from kernel.org, I 
recommend the "full" download of 2.6.23.12, the latest "stable" kernel.

   After expanding the kernel source, if you want a look, there's 
documentation on hardware monitoring in /Documentation/hwmon.  The "it87" 
text file covers the IT8718F.  There are even two downloads for compressed 
PDFs that list which each pin of the IT8718F is for, though you probably 
don't need it.

> I'm not having any problems with voltages or overheating, just curious
> about these things.  Thanks very much for anyone who can point me in the
> right direction!

   Unfortunately it's unclear which direction is the right one; essentially 
the right direction is "forward".  ;-)

   -- Chris

-- 

Chris Knadle
[EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
                              
  Dec 5 - Open Source Show and Tell
  Jan 2 - TBD
  Feb 6 - DBUS
  Mar 5 - Setting up a platform-independent home/small office network using 
Linux

Reply via email to