Hi all,
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 can't load it?
Steps:
# ls -l /lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko -rwxr--r--. 1 root root 93080 Jul 23 2015 /lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko
# modprobe ipmi_si FATAL: Error inserting ipmi_si (/lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko): No such device
# lsmod |grep ipmi ipmi_devintf 7729 0 ipmi_poweroff 8532 0 ipmi_watchdog 17874 0 ipmi_msghandler 38701 3 ipmi_devintf,ipmi_poweroff,ipmi_watchdog
# ipmitool Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
What should I do if I want to setup IPMI on my centos host?
On Wed, May 25, 2016 at 07:34:05PM +0800, Frank Yu wrote:
Hi all,
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 can't load it? [...] # modprobe ipmi_si FATAL: Error inserting ipmi_si (/lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko): No such device [...] What should I do if I want to setup IPMI on my centos host?
The 'No such device' error is occurring because you are trying to load the module, and 'modprobe' is finding the kernel module, but when it loads, the kernel module is unable to discover the hardware, so it fails. Look at the output of 'dmesg' to see if there's any output related to loading the module. ipmi_si has several parameters you can specify which can increase debugging.
It looks to me like your hardware doesn't have a BMC that supports IPMI. Have you verified that the hardware you bought has one? Can you get into the BIOS and set it up that way?
Hi Jonathan
Thanks for your help. Finally I enter into the machine lab and find the there is no IPMI supported on my host, and it support DCMI. I install DCMI module and solve the problem
Thanks
On May 25, 2016, at 10:05 PM, Jonathan Billings billings@negate.org wrote:
On Wed, May 25, 2016 at 07:34:05PM +0800, Frank Yu wrote:
Hi all,
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 can't load it? [...] # modprobe ipmi_si FATAL: Error inserting ipmi_si (/lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko): No such device [...] What should I do if I want to setup IPMI on my centos host?
The 'No such device' error is occurring because you are trying to load the module, and 'modprobe' is finding the kernel module, but when it loads, the kernel module is unable to discover the hardware, so it fails. Look at the output of 'dmesg' to see if there's any output related to loading the module. ipmi_si has several parameters you can specify which can increase debugging.
It looks to me like your hardware doesn't have a BMC that supports IPMI. Have you verified that the hardware you bought has one? Can you get into the BIOS and set it up that way?
-- Jonathan Billings billings@negate.org _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Hi Frank,
For your question, What should I do if I want to setup IPMI on my centos host?
1. Make sure your host hardware has BMC provided, typically a server does, but a PC or laptop won't, 2. If so, use command "modprobe ipmi_si" or ipmi_devintf to load the kernel device driver for BMC If not, your host is not capable to setup IPMI becasue required hardware not exists
If loading kernel device successful, you won't see below error anymore when typing ipmitool in the bash Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Thank Ji Xiang
在2016年5月25日 19:34, Frank Yuflyxiaoyu@gmail.com写道:
Hi all,
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 can't load it?
Steps:
# ls -l /lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko -rwxr--r--. 1 root root 93080 Jul 23 2015 /lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko
# modprobe ipmi_si FATAL: Error inserting ipmi_si (/lib/modules/2.6.32-573.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko): No such device
# lsmod |grep ipmi ipmi_devintf 7729 0 ipmi_poweroff 8532 0 ipmi_watchdog 17874 0 ipmi_msghandler 38701 3 ipmi_devintf,ipmi_poweroff,ipmi_watchdog
# ipmitool