Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Server Management - Remote Server Management
cancel
Showing results for 
Search instead for 
Did you mean: 

HP-OpenIPMI driver - SLES11SP1

dingleberry
Occasional Visitor

HP-OpenIPMI driver - SLES11SP1


Below are the changes to the hp-openipmi 8.5 source code to be able to compile it for SLES11 SP1. Have compiled kernel module, but not tested yet. A structure had an [unused?] item removed, and a function was renamed. Needs better wrappers, but hey, I'm working on the alpha version...it's cardboard.

diff ipmi_msghandler.c /opt/hp/hp-OpenIPMI/drivers/char/ipmi/ipmi_msghandler.c
45a46
> #include
1971c1972
< file->owner = owner;
---
> /* file->owner = owner; */
1994,1995c1995,1996
< else
< smi->proc_dir->owner = THIS_MODULE;
---
> /* else
> smi->proc_dir->owner = THIS_MODULE; */
4395c4396
< proc_ipmi_root->owner = THIS_MODULE;
---
> /* proc_ipmi_root->owner = THIS_MODULE; */

diff ipmi_devintf.c /opt/hp/hp-OpenIPMI/drivers/char/ipmi/ipmi_devintf.c
874c874
< device_create_drvdata(ipmi_class, device, dev, NULL, "ipmi%d", if_num);
---
> device_create(ipmi_class, device, dev, NULL, "ipmi%d", if_num);
4 REPLIES
Michael Leu
Honored Contributor

Re: HP-OpenIPMI driver - SLES11SP1

Thanks for the effort to track this down.

FYI the driver improvements seem to have finally made their way upstream and are now in RHEL 5.5:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02209673
Daniel Frazier
Frequent Advisor

Re: HP-OpenIPMI driver - SLES11SP1

Yes, and these changes are already included in SLES11 SP1 as well - there is no need/benefit in installing hp-OpenIPMI any longer. There is an advisory pending on this topic.
Daniel Frazier
Frequent Advisor

Re: HP-OpenIPMI driver - SLES11SP1

Michael Leu
Honored Contributor

Re: HP-OpenIPMI driver - SLES11SP1

Thanks for the update Daniel.

One RPM less to worry about for HP :-)