[Bug 1318317] [NEW] openipmi startup script removes kernel modules
Launchpad Bug Tracker
1318317 at bugs.launchpad.net
Wed Dec 9 19:01:01 UTC 2015
You have been subscribed to a public bug by Jon Grimm (jgrimm):
I need some IPMI kernel modules, so I load them during startup. This
worked quite well until I upgraded to Ubuntu 14.04.
As you can see I have the modules in /etc/modules:
# grep ipmi /etc/modules
ipmi_watchdog
ipmi_devintf
ipmi_poweroff
ipmi_si
Right after reboot, the modules are there:
# lsmod |grep -i ipm
ipmi_si 53257 2
ipmi_poweroff 14366 0
ipmi_devintf 17572 0
ipmi_watchdog 24912 0
but disappear after a few seconds/minute. I found out, that the cause is
the /etc/init.d/openipmi script. The behaviour of the script is quite
strange because a stop/start will behave differently then a restart.
I loaded the modules manually using modprobe:
ipmi_si 53257 2
ipmi_poweroff 14366 0
ipmi_devintf 17572 0
ipmi_watchdog 24912 0
when I execute:
# service openipmi stop
the module ipmi_devintf gets removed:
ipmi_si 53257 2
ipmi_poweroff 14366 0
ipmi_watchdog 24912 0
starting the service again with:
# service openipmi start
will remove ALL IPMI kernel modules:
# lsmod |grep -i ipm
#
One of the reasons seems to be the module ipmi_msghandler. This is
already integrated and causes some of the problems.
When I remove it from /etc/init.d/openipmi like this:
65,66c65
< #MODULES_BASE="ipmi_msghandler"
< MODULES_BASE=""
---
> MODULES_BASE="ipmi_msghandler"
325,326c324,325
< # modprobe ipmi_msghandler > /dev/null 2>&1
< # modules_loaded ipmi_msghandler
---
> modprobe ipmi_msghandler > /dev/null 2>&1
> modules_loaded ipmi_msghandler
stoping and starting the service works again. But restarting the service
will still remove all modules and will not load them anymore.
** Affects: openipmi (Ubuntu)
Importance: High
Assignee: Taco Screen team (taco-screen-team)
Status: Confirmed
** Tags: taco-screen-team
--
openipmi startup script removes kernel modules
https://bugs.launchpad.net/bugs/1318317
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.
More information about the Ubuntu-server-bugs
mailing list