#817921 freeipmi: ipmi-sensors - Segmentation fault

#817921#5
Date:
2016-03-11 15:38:36 UTC
From:
To:
Dear Maintainer,

On 3 machines using Xen after reboot in the Dom0:

The following command return part of the result and a segmentation
fault:

root@x30:~# ipmi-sensors
...
Segmentation fault

root@x30:~# dmesg
Mar  9 10:47:32 x30 kernel: [ 5424.911251] traps: ipmi-sensors[19089]
general protection ip:7ff78a233479 sp:7ffff1af16c0 error:0 in
libfreeipmi.so.16.0.2[7ff78a0d7000+2b1000]

After a random period of uptime, issue tends to disappear.

Regards,
Raphaël

#817921#10
Date:
2016-03-31 14:21:58 UTC
From:
To:
Issue solved by loading additional kernel modules:
modprobe ipmi_devintf
modprobe ipmi_msghandler
modprobe ipmi_poweroff
modprobe ipmi_si
modprobe ipmi_watchdog

Regards,
Raphaël

#817921#15
Date:
2016-05-25 16:19:14 UTC
From:
To:
I am seeing this issue as well after upgrading to jessie. I already had the ipmi_* kernel modules loaded but the segfaults persist.

May 25 15:33:36 hostname kernel: [166192.339794] traps: ipmi-sensors[17776] general protection ip:7f6814779509 sp:7ffdc5c3a410 error:0 in libfreeipmi.so.16.0.2[7f681461d000+2b1000]
May 25 15:38:35 hostname kernel: [166491.004810] traps: ipmi-sensors[19013] general protection ip:7eff650d2479 sp:7fffc4c8b490 error:0 in libfreeipmi.so.16.0.2[7eff64f76000+2b1000]
May 25 15:39:35 hostname kernel: [166551.157227] traps: ipmi-sensors[19259] general protection ip:7f4168412479 sp:7ffc6beb6850 error:0 in libfreeipmi.so.16.0.2[7f41682b6000+2b1000]
May 25 15:40:35 hostname kernel: [166611.318550] traps: ipmi-sensors[19543] general protection ip:7f0161f5f479 sp:7fff6452d680 error:0 in libfreeipmi.so.16.0.2[7f0161e03000+2b1000]
May 25 15:44:36 hostname kernel: [166851.669959] traps: ipmi-sensors[20535] general protection ip:7fed77079509 sp:7ffde0c224f0 error:0 in libfreeipmi.so.16.0.2[7fed76f1d000+2b1000]
May 25 15:50:34 hostname kernel: [167209.889926] traps: ipmi-sensors[21965] general protection ip:7fdb28045479 sp:7ffc2f362b10 error:0 in libfreeipmi.so.16.0.2[7fdb27ee9000+2b1000]
May 25 15:59:36 hostname kernel: [167751.701645] traps: ipmi-sensors[24264] general protection ip:7f4ea0765509 sp:7ffe9e5013c0 error:0 in libfreeipmi.so.16.0.2[7f4ea0609000+2b1000]
May 25 16:02:12 hostname kernel: [167908.239490] traps: ipmi-sensors[24890] general protection ip:7f778074a479 sp:7ffecb68f870 error:0 in libfreeipmi.so.16.0.2[7f77805ee000+2b1000]
May 25 16:02:36 hostname kernel: [167931.682976] traps: ipmi-sensors[25045] general protection ip:7f90c118e479 sp:7ffc5b203890 error:0 in libfreeipmi.so.16.0.2[7f90c1032000+2b1000]
May 25 16:06:35 hostname kernel: [168171.047132] traps: ipmi-sensors[25999] general protection ip:7f9344b9f509 sp:7ffc6ef626e0 error:0 in libfreeipmi.so.16.0.2[7f9344a43000+2b1000]
hostname:/# lsmod | grep ipmi
ipmi_watchdog          21915  0
ipmi_si                48709  0
ipmi_poweroff          13197  0
ipmi_devintf           17053  0
ipmi_msghandler        39917  4 ipmi_devintf,ipmi_poweroff,ipmi_watchdog,ipmi_si

#817921#22
Date:
2019-09-27 06:29:51 UTC
From:
To:
Hi,

* Todd Fleisher [Wed May 25, 2016 at 09:19:14AM -0700]:

[...]

Can you still reproduce this with freeipmi on either current
stable/buster (v1.6.3-1.1) or the latest version from unstable
(1.6.4-1.1)?

regards
-mika-