lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200908071030.38084.maarten.vanraes@gmail.com>
Date:	Fri, 7 Aug 2009 10:30:37 +0200
From:	Maarten Vanraes <maarten.vanraes@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: ipmisensors

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;
        }

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ