купили железку и ipmi-приблуду для неё. плата - asus rs300-e7-ps4. имеющийся в комплекте диск потребовал обновить биос. биос обновили с горем пополам (flashrom косячить начал, обновляли встроенной в биос утилитой). после этого комплектный диск всё равно не заработал
поставили ipmitool - жалуется на отсутствие /dev/ipmi0, /dev/ipmi/0 или /dev/ipmidev/0:
root@debian:~# invoke-rc.d ipmievd restart
[....] Restarting IPMI event daemon ipmievdipmievd: using pidfile /var/run/ipmievd.pid0
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Unable to open interface
failed!
invoke-rc.d: initscript ipmievd, action "restart" failed.
погуглил, загрузил соответствующие модули
root@debian:~# modprobe -vvv ipmi_msghandler
libkmod: DEBUG ../libkmod/libkmod-module.c:519 kmod_module_new_from_lookup: input alias=ipmi_msghandler, normalized=ipmi_msghandler
libkmod: DEBUG ../libkmod/libkmod-module.c:525 kmod_module_new_from_lookup: lookup modules.dep ipmi_msghandler
libkmod: DEBUG ../libkmod/libkmod.c:542 kmod_search_moddep: use mmaped index 'modules.dep' modname=ipmi_msghandler
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='ipmi_msghandler' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:398 kmod_pool_add_module: add 0xb7afa450 key='ipmi_msghandler'
libkmod: DEBUG ../libkmod/libkmod-module.c:184 kmod_module_parse_depline: 0 dependencies for ipmi_msghandler
libkmod: DEBUG ../libkmod/libkmod-module.c:546 kmod_module_new_from_lookup: lookup ipmi_msghandler=0, list=0xb7afa2a8
libkmod: DEBUG ../libkmod/libkmod-module.c:1651 kmod_module_get_initstate: could not open '/sys/module/ipmi_msghandler/initstate': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1661 kmod_module_get_initstate: could not open '/sys/module/ipmi_msghandler': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1651 kmod_module_get_initstate: could not open '/sys/module/ipmi_msghandler/initstate': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1661 kmod_module_get_initstate: could not open '/sys/module/ipmi_msghandler': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_msghandler' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_msghandler.ko'
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_msghandler' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_msghandler.ko'
insmod /lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_msghandler.ko
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_msghandler' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_msghandler.ko'
libkmod: DEBUG ../libkmod/libkmod-module.c:435 kmod_module_unref: kmod_module 0xb7afa450 released
libkmod: DEBUG ../libkmod/libkmod.c:406 kmod_pool_del_module: del 0xb7afa450 key='ipmi_msghandler'
libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0xb7afa110 released
root@debian:~# modprobe -vvv ipmi_devintf
libkmod: DEBUG ../libkmod/libkmod-module.c:519 kmod_module_new_from_lookup: input alias=ipmi_devintf, normalized=ipmi_devintf
libkmod: DEBUG ../libkmod/libkmod-module.c:525 kmod_module_new_from_lookup: lookup modules.dep ipmi_devintf
libkmod: DEBUG ../libkmod/libkmod.c:542 kmod_search_moddep: use mmaped index 'modules.dep' modname=ipmi_devintf
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='ipmi_devintf' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:398 kmod_pool_add_module: add 0xb81c3478 key='ipmi_devintf'
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='ipmi_msghandler' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='ipmi_msghandler' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:398 kmod_pool_add_module: add 0xb81c3350 key='ipmi_msghandler'
libkmod: DEBUG ../libkmod/libkmod-module.c:178 kmod_module_parse_depline: add dep: /lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_msghandler.ko
libkmod: DEBUG ../libkmod/libkmod-module.c:184 kmod_module_parse_depline: 1 dependencies for ipmi_devintf
libkmod: DEBUG ../libkmod/libkmod-module.c:546 kmod_module_new_from_lookup: lookup ipmi_devintf=0, list=0xb81c34c0
libkmod: DEBUG ../libkmod/libkmod-module.c:1651 kmod_module_get_initstate: could not open '/sys/module/ipmi_devintf/initstate': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1661 kmod_module_get_initstate: could not open '/sys/module/ipmi_devintf': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1220 kmod_module_probe_insert_module: Ignoring module 'ipmi_msghandler': already loaded
libkmod: DEBUG ../libkmod/libkmod-module.c:1651 kmod_module_get_initstate: could not open '/sys/module/ipmi_devintf/initstate': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1661 kmod_module_get_initstate: could not open '/sys/module/ipmi_devintf': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_devintf' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_devintf.ko'
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_devintf' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_devintf.ko'
insmod /lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_devintf.ko
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_devintf' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_devintf.ko'
libkmod: DEBUG ../libkmod/libkmod-module.c:435 kmod_module_unref: kmod_module 0xb81c3478 released
libkmod: DEBUG ../libkmod/libkmod.c:406 kmod_pool_del_module: del 0xb81c3478 key='ipmi_devintf'
libkmod: DEBUG ../libkmod/libkmod-module.c:435 kmod_module_unref: kmod_module 0xb81c3350 released
libkmod: DEBUG ../libkmod/libkmod.c:406 kmod_pool_del_module: del 0xb81c3350 key='ipmi_msghandler'
libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0xb81c3110 released
root@debian:~# modprobe -vvv ipmi_si
libkmod: DEBUG ../libkmod/libkmod-module.c:519 kmod_module_new_from_lookup: input alias=ipmi_si, normalized=ipmi_si
libkmod: DEBUG ../libkmod/libkmod-module.c:525 kmod_module_new_from_lookup: lookup modules.dep ipmi_si
libkmod: DEBUG ../libkmod/libkmod.c:542 kmod_search_moddep: use mmaped index 'modules.dep' modname=ipmi_si
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='ipmi_si' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:398 kmod_pool_add_module: add 0xb94d3470 key='ipmi_si'
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='ipmi_msghandler' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:390 kmod_pool_get_module: get module name='ipmi_msghandler' found=(nil)
libkmod: DEBUG ../libkmod/libkmod.c:398 kmod_pool_add_module: add 0xb94d3360 key='ipmi_msghandler'
libkmod: DEBUG ../libkmod/libkmod-module.c:178 kmod_module_parse_depline: add dep: /lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_msghandler.ko
libkmod: DEBUG ../libkmod/libkmod-module.c:184 kmod_module_parse_depline: 1 dependencies for ipmi_si
libkmod: DEBUG ../libkmod/libkmod-module.c:546 kmod_module_new_from_lookup: lookup ipmi_si=0, list=0xb94d32a8
libkmod: DEBUG ../libkmod/libkmod-module.c:1651 kmod_module_get_initstate: could not open '/sys/module/ipmi_si/initstate': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1661 kmod_module_get_initstate: could not open '/sys/module/ipmi_si': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1220 kmod_module_probe_insert_module: Ignoring module 'ipmi_msghandler': already loaded
libkmod: DEBUG ../libkmod/libkmod-module.c:1651 kmod_module_get_initstate: could not open '/sys/module/ipmi_si/initstate': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:1661 kmod_module_get_initstate: could not open '/sys/module/ipmi_si': No such file or directory
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_si' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_si.ko'
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_si' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_si.ko'
insmod /lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_si.ko
libkmod: DEBUG ../libkmod/libkmod-module.c:709 kmod_module_get_path: name='ipmi_si' path='/lib/modules/3.10-0.bpo.3-686-pae/kernel/drivers/char/ipmi/ipmi_si.ko'
libkmod: DEBUG ../libkmod/libkmod-module.c:435 kmod_module_unref: kmod_module 0xb94d3470 released
libkmod: DEBUG ../libkmod/libkmod.c:406 kmod_pool_del_module: del 0xb94d3470 key='ipmi_si'
libkmod: DEBUG ../libkmod/libkmod-module.c:435 kmod_module_unref: kmod_module 0xb94d3360 released
libkmod: DEBUG ../libkmod/libkmod.c:406 kmod_pool_del_module: del 0xb94d3360 key='ipmi_msghandler'
libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0xb94d3110 released
ругается в дмесг:
root@debian:~# dmesg | tail -n 7
[ 906.849670] ipmi device interface
[ 922.225080] IPMI System Interface driver.
[ 922.225123] ipmi_si: probing via SMBIOS
[ 922.225127] ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0
[ 922.225130] ipmi_si: Adding SMBIOS-specified kcs state machine
[ 922.225135] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca2, slave address 0x20, irq 0
[ 922.225142] ipmi_si: Interface detection failed
при этом, устройство, вроде как есть и адрес корректный:
root@debian:~# dmidecode -t 38
# dmidecode 2.11
SMBIOS 2.7 present.
Handle 0x0028, DMI type 38, 18 bytes
IPMI Device Information
Interface Type: KCS (Keyboard Control Style)
Specification Version: 2.0
I2C Slave Address: 0x10
NV Storage Device: Not Present
Base Address: 0x0000000000000CA2 (I/O)
Register Spacing: Successive Byte Boundaries
при этом то, что модуль загрузился сомнений нет:
root@debian:~# cat /sys/module/ipmi_si/initstate
live
root@debian:~# lsmod | grep -i ipmi
ipmi_si 36211 0
ipmi_devintf 12672 0
ipmi_msghandler 31497 2 ipmi_devintf,ipmi_si
с ipmi имел дело только на уровне блэйд-корзины hp, а там уеб-интерфейс из коробки, поэтому вопрос: куда копать? гуглёж ничего не дал, ядра 3.2 и 3.10 (i686), разницы нет