From: michaelnel@comcast.net (Michael Nelson) Date: Wed, 27 Sep 2006 13:08:21 +0000 Subject: [lm-sensors] coretemp - digital temperature driver for Intel Message-Id: <20060927130821.GA28343@seahunt.dyndns.org> List-Id: References: <4519A5C1.8010207@assembler.cz> In-Reply-To: <4519A5C1.8010207@assembler.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Wed, Sep 27, 2006 at 12:38:30PM +0200, Rudolf Marek wrote: > Find this line: > > data->therm_status = eax; > > on next line add > > printk("EAX from MSR %x\n", eax); > > and find this line: > if (eax & 0x80000000) { > and on next line add > > printk("in temp condition\n"); Ok, I did that, recompiled it using make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules Then copied it to: /lib/modules/2.6.18/kernel/drivers/hwmon/coretemp.ko depmod -a # modprobe coretemp # lsmod | grep core # Hmmmm The end of dmesg says: kobject_add failed for coretemp.0 with -EEXIST, don't try to register things with the same name in the same directory. [] kobject_add+0x10d/0x180 [] device_add+0x86/0x2c0 [] platform_device_add+0xe4/0x150 [] coretemp_init+0xc5/0x15f [coretemp] [] sys_init_module+0x12c/0x1ac0 [] sysenter_past_esp+0x56/0x79 coretemp: Device addition failed (-17) What's next? Michael -- San Francisco, CA