From: r.marek@assembler.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] coretemp - digital temperature driver for Intel
Date: Wed, 27 Sep 2006 13:49:25 +0000 [thread overview]
Message-ID: <451A8165.9020103@assembler.cz> (raw)
In-Reply-To: <4519A5C1.8010207@assembler.cz>
Michael Nelson wrote:
> 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.
> [<c01b32fd>] kobject_add+0x10d/0x180
> [<c02109f6>] device_add+0x86/0x2c0
> [<c0213c24>] platform_device_add+0xe4/0x150
> [<f92640c5>] coretemp_init+0xc5/0x15f [coretemp]
> [<c0135d4c>] sys_init_module+0x12c/0x1ac0
> [<c0102c5d>] sysenter_past_esp+0x56/0x79
> coretemp: Device addition failed (-17)
>
> What's next?
>
I think something has been left out in kernel. Did you rmmoded the
driver before inserting the new one?
If you rmmoded, there is some problem. Please reboot and try to load the
driver again.
Thanks
Regards
Rudolf
next prev parent reply other threads:[~2006-09-27 13:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 22:12 [lm-sensors] coretemp - digital temperature driver for Intel Core Rudolf Marek
2006-09-26 22:26 ` [lm-sensors] coretemp - digital temperature driver for Intel Rudolf Marek
2006-09-26 22:56 ` Michael Nelson
2006-09-27 6:20 ` Rudolf Marek
2006-09-27 10:15 ` Michael Nelson
2006-09-27 10:38 ` Rudolf Marek
2006-09-27 13:08 ` Michael Nelson
2006-09-27 13:49 ` Rudolf Marek [this message]
2006-09-27 14:17 ` Michael Nelson
2006-09-27 14:20 ` Michael Nelson
2006-09-27 14:28 ` Rudolf Marek
2006-09-27 14:32 ` Michael Nelson
2006-09-27 16:49 ` Rudolf Marek
2006-09-27 18:06 ` Michael Nelson
2006-09-27 22:11 ` Rudolf Marek
2006-09-28 1:06 ` Michael Nelson
2006-09-29 14:30 ` Rudolf Marek
2006-09-30 17:25 ` [lm-sensors] coretemp - digital temperature driver for Matthias Hentges
2006-09-30 18:05 ` [lm-sensors] coretemp - digital temperature driver for Intel Rudolf Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=451A8165.9020103@assembler.cz \
--to=r.marek@assembler.cz \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.