From: Maarten Vanraes <maarten.vanraes@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: ipmisensors
Date: Fri, 7 Aug 2009 10:30:37 +0200 [thread overview]
Message-ID: <200908071030.38084.maarten.vanraes@gmail.com> (raw)
Hello,
( I would like to request that you CC me in replies )
I'm trying to fix the ipmisensors patch to 2.6.30.2 (which is the xen-based
kernel i now use; the patch was written for 2.6.17 and contains numerous
deprecated code)
I do have the problem that the ipmi_msghandler module doesn't seem to generate
events at modprobe.
the ipmisensors_new_smi, ipmisensors_smi_gone & ipmisensors_msg_handler are
never executed...
can i get any hints?
Kind regards,
Maarten
/* ipmisensors driver data */
static struct ipmisensors_data driver_data = {
.driver_name = "bmc",
.bmc_data = LIST_HEAD_INIT(driver_data.bmc_data),
.interfaces = 0,
.smi_watcher = {
.owner = THIS_MODULE,
.new_smi = ipmisensors_new_smi,
.smi_gone = ipmisensors_smi_gone,
},
.ipmi_hndlrs = {
.ipmi_recv_hndl = ipmisensors_msg_handler,
},
};
....
in __init function:
/* register IPMI interface callback(s) */
error = ipmi_smi_watcher_register(&driver_data.smi_watcher);
if (error) {
printk(KERN_WARNING
"ipmisensors: can't register smi watcher\n");
return error;
}
reply other threads:[~2009-08-07 8:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200908071030.38084.maarten.vanraes@gmail.com \
--to=maarten.vanraes@gmail.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox