<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Hans,<div class=""><br class=""></div><div class="">Thanks for you reply. I have solved this problem by install DCMI, and there is no IPMI supported on my host.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On May 25, 2016, at 11:21 PM, Hans Ecke &lt;<a href="mailto:hans@ecke.ws" class="">hans@ecke.ws</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Frank,<div class=""><br class=""></div><div class="">The error message means that the module&nbsp;ipmi_si could not find the IPMI hardware device to talk to.</div><div class=""><br class=""></div><div class="">In the case of success it works like this:</div><div class=""><br class=""></div><div class="">* you call modprobe&nbsp;ipmi_si</div><div class="">* kernel loads that module into memory</div><div class="">* kernel calls initialization routine within that module</div><div class="">* initialization routine finds hardware device and tells the kernel that all is well</div><div class="">* there is a song and dance involving udev to create the /dev/*ipmi* device nodes<br class=""></div><div class="">* ipmitool uses those device nodes to talk to the hardware</div><div class=""><br class=""></div><div class="">In your case, this is what happened:</div><div class=""><div class=""><br class=""></div><div class="">* you call modprobe&nbsp;ipmi_si</div><div class="">* kernel loads that module into memory</div><div class="">* kernel calls initialization routine within that module</div><div class="">* initialization routine does not find hardware device and tells the kernel that it failed</div><div class="">* kernel unloads the module again. It passes a very short error status back to you. This is where the "Error inserting ... no such device" message comes from. This is also why "lsmod" does not show the ipmi_si module.</div><div class="">* no /dev/*ipmi* device nodes were created<br class=""></div><div class="">* ipmitool does not see the device nodes</div></div><div class=""><br class=""></div><div class="">If you look at dmesg, the module&nbsp;initialization routine might have printed a more specific error message there. If you find such an error message, chances are you can use google to fix your situation. (or maybe you just need a different ipmi module for your computer)</div><div class=""><br class=""></div><div class="">Hans</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, May 25, 2016 at 5:20 AM, Frank Yu <span dir="ltr" class="">&lt;<a href="mailto:flyxiaoyu@gmail.com" target="_blank" class="">flyxiaoyu@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="gmail_default" style="font-family:simsun,serif;font-size:large">Hi all,<br class=""><br class="">I am trying to load kernel module ipmi_si, while failed with error "No such device", truth is I can find file in ../kernel/drivers/char/ipmi/ipmi_si.ko. So why I&nbsp; can't load it?<br class=""><br class=""><br class="">Steps:<br class=""><br class=""># ls -l /lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko<br class="">-rwxr--r--. 1 root root 93080 Jul 23&nbsp; 2015 /lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko<br class=""><br class=""># modprobe ipmi_si<br class="">FATAL: Error inserting ipmi_si (/lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko): No such device<br class=""><br class=""># lsmod |grep ipmi<br class="">ipmi_devintf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7729&nbsp; 0 <br class="">ipmi_poweroff&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8532&nbsp; 0 <br class="">ipmi_watchdog&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17874&nbsp; 0 <br class="">ipmi_msghandler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 38701&nbsp; 3 ipmi_devintf,ipmi_poweroff,ipmi_watchdog<br class=""><br class=""># ipmitool <br class="">Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory<br clear="all" class=""></div><br class=""><div class="gmail_default" style="font-family:simsun,serif;font-size:large">​What should I do if I want to setup IPMI on my centos host?<br class=""></div><div class="gmail_default" style="font-family:simsun,serif;font-size:large">​</div><span class="HOEnZb"><font color="#888888" class=""><br class="">-- <br class=""><div class=""><div dir="ltr" class="">Regards<br class="">Frank Yu<br class=""></div></div>
</font></span></div>
<br class="">_______________________________________________<br class="">
CentOS-devel mailing list<br class="">
<a href="mailto:CentOS-devel@centos.org" class="">CentOS-devel@centos.org</a><br class="">
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank" class="">https://lists.centos.org/mailman/listinfo/centos-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">CentOS-devel mailing list<br class=""><a href="mailto:CentOS-devel@centos.org" class="">CentOS-devel@centos.org</a><br class=""><a href="https://lists.centos.org/mailman/listinfo/centos-devel" class="">https://lists.centos.org/mailman/listinfo/centos-devel</a><br class=""></div></blockquote></div><br class=""></div></body></html>