Discussion:
[Ipmitool-devel] ipmitool hangs reading /dev/ipmi0 on Centos 7
Vladimir Vul
2015-04-17 13:07:31 UTC
Permalink
Hello!
"Ipmitool lan print" and any other command hangs forever trying to read something from /dev/ipmi0 (see strace.log attached)

ipmitool version 1.8.13 (and 1.8.11 do the same)

[***@sasa ~]# lsmod|grep ipmi
ipmi_devintf 17572 0
ipmi_si 53257 0
ipmi_msghandler 45306 2 ipmi_devintf,ipmi_si


***@sasa ~]# ls -l "/dev/ipmi0"
crw------- 1 root root 245, 0 Apr 17 13:32 /dev/ipmi0

[***@sasa ~]# uname -a
Linux sasa 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[***@sasa ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)

Long logs are attached

BMC console is working and I can login by HTTP. Sorry to say, I may not reboot the server.



___
Steffen Grunewald
2015-04-17 13:29:39 UTC
Permalink
Post by Vladimir Vul
Hello!
"Ipmitool lan print" and any other command hangs forever trying to read something from /dev/ipmi0 (see strace.log attached)
ipmitool version 1.8.13 (and 1.8.11 do the same)
ipmi_devintf 17572 0
ipmi_si 53257 0
ipmi_msghandler 45306 2 ipmi_devintf,ipmi_si
crw------- 1 root root 245, 0 Apr 17 13:32 /dev/ipmi0
Linux sasa 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.1.1503 (Core)
Long logs are attached
BMC console is working and I can login by HTTP. Sorry to say, I may not reboot the server.
Although those OOMs seem to be alarming - did you try to unload and reload the ipmi_* modules?

- S
Vladimir Vul
2015-04-17 14:04:44 UTC
Permalink
Thank you Steffen, it worked.

I am stupid, but now Google knows how to fix ipmitool hang. :-)

rmmod ipmi_devintf ipmi_si ipmi_msghandler
lsmod|grep ipmi
modprobe ipmi_devintf ipmi_si ipmi_msghandler


-----Original Message-----
From: Steffen Grunewald [mailto:***@aei.mpg.de]
Sent: Friday, April 17, 2015 4:30 PM
To: Vladimir Vul
Cc: ipmitool-***@lists.sourceforge.net
Subject: Re: [Ipmitool-devel] ipmitool hangs reading /dev/ipmi0 on Centos 7
Post by Vladimir Vul
Hello!
"Ipmitool lan print" and any other command hangs forever trying to
read something from /dev/ipmi0 (see strace.log attached)
ipmitool version 1.8.13 (and 1.8.11 do the same)
ipmi_devintf 17572 0
ipmi_si 53257 0
ipmi_msghandler 45306 2 ipmi_devintf,ipmi_si
crw------- 1 root root 245, 0 Apr 17 13:32 /dev/ipmi0
Linux sasa 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
(Core)
Long logs are attached
BMC console is working and I can login by HTTP. Sorry to say, I may not reboot the server.
Although those OOMs seem to be alarming - did you try to unload and reload the ipmi_* modules?

- S

Loading...