lkml.org 
[lkml]   [2009]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectipmisensors
Date
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;
}



\
 
 \ /
  Last update: 2009-08-07 10:55    [W:0.021 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site