回复: Fail to load kernel module ipmi_si on CentOS-6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 Yu<flyxiaoyu@xxxxxxxxx>写道:

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




-- 
Regards
Frank Yu
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux