Messages in this thread | | | From | Maarten Vanraes <> | Subject | ipmisensors | Date | Fri, 7 Aug 2009 10:30:37 +0200 |
| |
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; }
| |