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?
Frank,
The error message means that the module ipmi_si could not find the IPMI hardware device to talk to.
In the case of success it works like this:
* you call modprobe ipmi_si * kernel loads that module into memory * kernel calls initialization routine within that module * initialization routine finds hardware device and tells the kernel that all is well * there is a song and dance involving udev to create the /dev/*ipmi* device nodes * ipmitool uses those device nodes to talk to the hardware
In your case, this is what happened:
* you call modprobe ipmi_si * kernel loads that module into memory * kernel calls initialization routine within that module * initialization routine does not find hardware device and tells the kernel that it failed * 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. * no /dev/*ipmi* device nodes were created * ipmitool does not see the device nodes
If you look at dmesg, the module 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)
Hans
On Wed, May 25, 2016 at 5:20 AM, Frank Yu flyxiaoyu@gmail.com 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?
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?
-- Regards Frank Yu
CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
Hi Hans,
Thanks for you reply. I have solved this problem by install DCMI, and there is no IPMI supported on my host.
On May 25, 2016, at 11:21 PM, Hans Ecke <hans@ecke.ws mailto:hans@ecke.ws> wrote:
Frank,
The error message means that the module ipmi_si could not find the IPMI hardware device to talk to.
In the case of success it works like this:
- you call modprobe ipmi_si
- kernel loads that module into memory
- kernel calls initialization routine within that module
- initialization routine finds hardware device and tells the kernel that all is well
- there is a song and dance involving udev to create the /dev/*ipmi* device nodes
- ipmitool uses those device nodes to talk to the hardware
In your case, this is what happened:
- you call modprobe ipmi_si
- kernel loads that module into memory
- kernel calls initialization routine within that module
- initialization routine does not find hardware device and tells the kernel that it failed
- 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.
- no /dev/*ipmi* device nodes were created
- ipmitool does not see the device nodes
If you look at dmesg, the module 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)
Hans
On Wed, May 25, 2016 at 5:20 AM, Frank Yu <flyxiaoyu@gmail.com mailto:flyxiaoyu@gmail.com> 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?
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?
-- Regards Frank Yu
CentOS-devel mailing list CentOS-devel@centos.org mailto:CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel https://lists.centos.org/mailman/listinfo/centos-devel
CentOS-devel mailing list CentOS-devel@centos.org mailto:CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel https://lists.centos.org/mailman/listinfo/centos-devel