Error Inserting Coretemp Centos
LM_Sensors on Cent OS 5.4: How To Get And Install The Coretemp Module purehate March 24, 2010 Insights 19 Comments Tweet If you have been following my progress over the last few days you will know that after a complete rebuild of the tools server and a change of the operating system, I have been working hard to get all our temp monitoring back online. The server previously ran Gentoo Linux, which although is still my favorite distro, is just not suited for a production server environment. So we decided to go with Cent OS which is a very well built distro aimed at running on production servers. My only complaint is that its kernel and some of its packages are a little bit out of date. On the bright side, this has given us a few challenges to work through and more importantly some good articles to share. So after getting my GPU temps going and graphing I turned my attention to the cpu. We are currently running a Intel i7 965 Extreme edition which I just put in last night. In the following article I will show how I eventually got lm_sensors and the coretemp module to work on Cent OS 5.4 I actually did fid quite a bit of info on the net about this issue since cpu monitoring is a pretty common thing to do, however, I was pretty unsatisfied with most of the solutions I found so I decided to rewrite a simple article on how to get this going. Te first thing to do is to install lm_sensors with yum: bash yum install lm_sensors Once this is installed you are supposed to run the sensors-detect script but in my case this did not work for two reasons. the first reason was that I did not have the coretemp module loaded (I'll come back to this) and the second reason was that my Intel i7 chip was not even being detected. You may or may not have the second problem depending on how new your hardware is. On my development box, where I do all my testing I have a Intel Q6600 and I did not have this issue. The problem is that the lm_sensors package in the yum repo is a little old so what I did was grabbed the newest version of the sensors-detect script from the lm_sensors web site. The script is located in /usr/sbin: bash [root@tools ~]
| Help | NewAccount | Log In [x] | Forgot Password Login: [x] Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug632682 - FATAL: Error inserting coretemp (/lib/modules/2.6.34.6-47.fc13.x86_64/kernel/drivers/hwmon/coretemp.ko): No such device Summary: FATAL: Error inserting coretemp (/lib/modules/2.6.34.6-47.fc13.x86_64/kernel/... Status: CLOSED NOTABUG Aliases: None Product: Fedora Classification: Fedora Component: kernel (Show other bugs) Sub Component: --- Version: 13 Hardware: All Linux Priority low Severity medium TargetMilestone: --- TargetRelease: --- Assigned To: Kernel Maintainer List QA Contact: Fedora Extras Quality Assurance Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2010-09-10 14:10 EDT by G. Michael Carter Modified: 2010-09-10 15:00 https://www.question-defense.com/2010/03/24/lm_sensors-on-cent-os-5-4-how-to-get-and-install-the-coretemp-module EDT (History) CC List: 10 users (show) anton aquini dougsland gansalmon itamar jonathan kernel-maint madhu.chinakonda mikey sgruszka See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2010-09-10 15:00:48 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed https://bugzilla.redhat.com/show_bug.cgi?id=632682 patch, testcase, etc.) Groups: None (edit) Description G. Michael Carter 2010-09-10 14:10:14 EDT Description of problem: I have two computers that the coretemp will not load on. (and two it does) The two the don't work happen to be the same motherboard, with different CPUs: [root@prometheus ~]# modprobe coretemp FATAL: Error inserting coretemp (/lib/modules/2.6.34.6-47.fc13.x86_64/kernel/drivers/hwmon/coretemp.ko): No such device [root@prometheus ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping : 4 cpu MHz : 2400.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr pdcm lahf_lm bogomips : 5599.93 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping
Last Prev Next This bug is not in your last search results. Bug11161 - modprobe coretemp fails with Intel Atom (model 1c) https://bugzilla.kernel.org/show_bug.cgi?id=11161 Summary: modprobe coretemp fails with Intel Atom (model 1c) Status: CLOSED CODE_FIX Product: Drivers Classification: Unclassified Component: Hardware Monitoring Hardware: All Linux Importance: P1 high Assigned To: Rudolf Marek URL: Keywords: Depends on: Blocks: Show dependency tree /graph Reported: 2008-07-25 05:56 UTC by Simon Depiets Modified: 2011-02-09 10:04 UTC (History) CC List: 6 users (show) bernhard.hartleb dzhonw jdelvare mozilla_bugs r.marek vajorie See Also: error inserting Kernel Version: 2.6.24 - 2.6.26 Tree: Mainline Regression: No Attachments The support for Intel ATOM (3.47 KB, patch) 2008-08-10 12:06 UTC, Rudolf Marek Details | Diff View All Add an attachment (proposed patch, testcase, etc.) Description Simon Depiets 2008-07-25 05:56:36 UTC Hi, Latest working kernel version: None Earliest failing kernel version: All Distribution: Ubuntu Hardware Environment: Acer Aspire One, http://www.mmo-tools.com/acpi/lspci.txt Problem Description: it seems that error inserting coretemp drivers/hwmon/coretemp.c doesn't support new Intel's Atom CPU the error message is coretemp: Unknown CPU model 1c You can find more about this here on linux-acpi mailing list where the discussion started about fan speed control/cpu temperature http://marc.info/?l=linux-acpi&m=121698923928851&w=2 I'll try do my best to help you, but i'm not a kernel hacker (yet?), I can answer you in french too if i'm not clear enough Steps to reproduce: $sudo modprobe coretemp FATAL: Error inserting coretemp (/lib/modules/2.6.24-19-generic/kernel/drivers/hwmon/coretemp.ko): No such device $dmesg -c coretemp: Unknown CPU model 1c Extra info : ACPI Dump : http://www.mmo-tools.com/acpi/acpidump.txt Sensors Detect : http://www.mmo-tools.com/acpi/sensors-detect-stat.txt Thanks a lot Comment 1 Rudolf Marek 2008-08-10 12:06:15 UTC Created attachment 17169 [details] The support for Intel ATOM Comment 2 Simon Depiets 2008-08-10 18:44:53 UTC OK, I'll test this today Comment 3 Simon Depiets 2008-08-13 05:05:39 UTC I'm sorry it will take additional time I failed at installing kernel from ubuntu... going back to gentoo... It will take a few more days. Comment 4 Simon Depiets 2008-08-14 00:59:37 UTC OK, here we go, I installed a Fedora Core 9, after multiple failings on Gentoo, Debian, Ubuntu... I haven't try Mandriva yet, but building a kernel on Mandrak