[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-19 Thread Nish Aravamudan
** Patch added: "openipmi_2.0.18-0ubuntu7.1.2.0.18-0ubuntu7.2.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+attachment/4603771/+files/openipmi_2.0.18-0ubuntu7.1.2.0.18-0ubuntu7.2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-18 Thread Nish Aravamudan
** Description changed:

  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_si53257  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_si53257  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_si53257  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.
+ 
+ [Impact]
+ Issuing `service openipmi {start,stop,restart}` failures lead to unloading of 
IPMI modules that were previously loaded. Particularly on OpenPower systems, 
but also on others, this will result in 'ipmi_devintf' being unloaded during 
boot, and in-band IPMI being non-functional (amongst other IPMI functionality).
+ 
+ [Test Case]
+ On an OpenPower machine (this also happens on an appropriately configured 
(meaning without IPMI support) Intel qemu instance), load IPMI modules (in 
particular, ipmi_devintf, but any of them can be affected). Attempt to start 
the openipmi service with `service openipmi start`. Without the fix proposed, 
here, the ipmi_devintf module is unloaded. With the fix, the module stays 
loaded.
+ 
+ [Regression Potential]
+ The primary risk of regression is if an end-user was relying on the behavior 
of an error during openipmi initialization resulting in disabling of all IPMI 
functionality. I don't think that is reasonable behavior to rely on, though 
(and is not clearly documented anywhere as expected).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-18 Thread C de-Avillez
** Also affects: openipmi (Ubuntu Trusty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-15 Thread Launchpad Bug Tracker
This bug was fixed in the package openipmi - 2.0.18-0ubuntu11

---
openipmi (2.0.18-0ubuntu11) xenial; urgency=medium

  * debian/openipmi.init: Do not unload all modules if some configured
HW modules are not successfully loaded (LP: #1318317).

 -- Nishanth Aravamudan   Thu, 03 Mar
2016 16:55:22 -0800

** Changed in: openipmi (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-15 Thread Nish Aravamudan
I have also sent the same patch upstream, with no response yet:
https://sourceforge.net/p/openipmi/mailman/message/34928697/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-10 Thread Nish Aravamudan
On 11.03.2016 [02:30:46 -], Jeremy Kerr wrote:
> (That's with your fixed package installed. Without, we see the
> ipmi_devintf module being removed)

Great, thanks! I'll ask for the fix to get merged and then submit an SRU
for 14.04.


** Changed in: openipmi (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-10 Thread Jeremy Kerr
Looks good on 16.04 too:

$ sudo modprobe ipmi_devintf
$ sudo service openipmi start
Job for openipmi.service failed because the control process exited with error 
code. See "systemctl status openipmi.service" and "journalctl -xe" for details.
$ lsmod | grep ipmi
ipmi_devintf   13691  0
ipmi_powernv6489  0
ipmi_msghandler50947  2 ipmi_powernv,ipmi_devintf

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-10 Thread Jeremy Kerr
(That's with your fixed package installed. Without, we see the
ipmi_devintf module being removed)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-09 Thread Nish Aravamudan
On Mar 9, 2016 19:15, "Jeremy Kerr"  wrote:
>
> @Nish: I tested against 14.04. We can take a look at 16.04 too, if you
> like.

That'd be great, as we need to get it into 16.04 before we can get it into
14.04.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-09 Thread Jeremy Kerr
@Nish: I tested against 14.04. We can take a look at 16.04 too, if you
like.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-03 Thread Nish Aravamudan
openipmi (2.0.18-0ubuntu10) xenial; urgency=medium

  * debian/openipmi.init: Do not unload all modules if some configured
HW modules are not successfully loaded (LP: #1318317).

 -- Nishanth Aravamudan   Thu, 03 Mar
2016 16:55:22 -0800

** Patch added: "openipmi_2.0.18-0ubuntu9.2.0.18-0ubuntu10.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+attachment/4588022/+files/openipmi_2.0.18-0ubuntu9.2.0.18-0ubuntu10.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-03 Thread Nish Aravamudan
@Breno, once the fix has been accepted for 16.04, I will request a SRU
for 14.04.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-03-03 Thread Nish Aravamudan
** Changed in: openipmi (Ubuntu)
Milestone: None => ubuntu-16.04

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-02-29 Thread Nish Aravamudan
@Breno, yes, I think that's correct.

@Jeremy, were you able to test in both 16.04 and 14.04?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-02-29 Thread Breno Leitão
Nish,

I understand that this bug should be targeted for 16.04 as for 14.04. Is
it your understanding also?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-02-25 Thread Jeremy Kerr
Nish: looks good to me:

[jk@hab2 ~]$ sudo service openipmi stop
[jk@hab2 ~]$ sudo modprobe ipmi_devintf
[jk@hab2 ~]$ lsmod | grep ipmi
ipmi_devintf   13227  0 
ipmi_powernv5657  0 
ipmi_msghandler51494  2 ipmi_powernv,ipmi_devintf
[jk@hab2 ~]$ sudo service openipmi start
Job for openipmi.service failed. See "systemctl status openipmi.service" and 
"journalctl -xe" for details.
[jk@hab2 ~]$ lsmod | grep ipmi
ipmi_devintf   13227  0 
ipmi_powernv5657  0 
ipmi_msghandler51494  2 ipmi_powernv,ipmi_devintf
[jk@hab2 ~]$ 

- even though the openipmi service itelf fails, it doesn't take down
everyone else's access to /dev/ipmiX

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-02-22 Thread Jeremy Kerr
Hi Nish,

I'll give it a try, thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-01-13 Thread Nish Aravamudan
Jeremy, have you had a chance to test the updated version(s)?

Thanks,
Nish

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-01-06 Thread Nish Aravamudan
I've uploaded an alternative change to my PPA, builds are going now,
which only does not unload all modules in the error path.

The difference is, to minimize the impact to people that might be
depending on the error path *not* loading more modules, I've put the
return lines back in. So I'd like a re-test, if possible, Jeremy, to see
if this still works for your case.

For Trusty use 2.0.18-0ubunt7.3 and for Xenial use 2.0.18-0ubuntu10 from
my PPA. I'll fix the versions properly once we've agreed on the fix.

-Nish

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-01-05 Thread Nish Aravamudan
Right, that is because "you" (slash the default) have specified in the
openmpi configuration file (/etc/default/openmpi) that IPMI_SI is needed
on your system. Thus, when it fails to load successfully, it is still
flagged as:

# no bits set = no errors
# bit 0 set = minimum modules aren't loaded
# bit 1 set = requested feature module isn't loaded
# bit 2 set = /dev/ipmi0 (or /dev/imb if using that instead) doesn't exist
# bit 3 set = /dev/watchdog doesn't exist
# bit 4 set = lockfile doesn't exist
# bit 5 set = modules are loaded even when asked to be unloaded

bit 0 being set (RETVAL | 1).

I guess we could change the logic in a different way such that bit 1
should be set in this case, rather than bit 0. But that would redefine
what the "minimum" modules are in OpenIPMI, which per the init-script
are ipmi_msghandler and ipmi_{si,smb} if those options are set in the
config file.

So I think what I provided is probably the best combination for the
configuration by default -- Robie did point out that my patch has a
logical issue in that the last added line is really a no-op. So I'll
spin up a new version and push it to my PPA. If you can test that one as
well, just to be sure it's functionally the same, then we'll work on
getting that into -proposed (once I learn how to do that :)

I'll provide another update once the new packages are present.

Thanks, Jeremy!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2016-01-05 Thread Jeremy Kerr
thanks Nish! I just installed that package:

[jk@fstn2-p1 sources.list.d]$ sudo apt-get remove --purge openipmi
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages will be REMOVED:
  openipmi*
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
After this operation, 441 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 167006 files and directories currently installed.)
Removing openipmi (2.0.18-0ubuntu8) ...
Purging configuration files for openipmi (2.0.18-0ubuntu8) ...
Processing triggers for man-db (2.7.0.2-5) ...
[jk@fstn2-p1 sources.list.d]$ sudo apt-get install openipmi=2.0.18-0ubuntu7.2
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  openipmi
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 189 kB of archives.
After this operation, 727 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/nacc/lp1318317/ubuntu/ trusty/main openipmi 
ppc64el 2.0.18-0ubuntu7.2 [189 kB]
Fetched 189 kB in 2s (79.3 kB/s)   
Selecting previously unselected package openipmi.
(Reading database ... 166978 files and directories currently installed.)
Preparing to unpack .../openipmi_2.0.18-0ubuntu7.2_ppc64el.deb ...
Unpacking openipmi (2.0.18-0ubuntu7.2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (219-7ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up openipmi (2.0.18-0ubuntu7.2) ...
Processing triggers for systemd (219-7ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...


Now I get:

[jk@fstn2-p1 sources.list.d]$ sudo service openipmi start
Job for openipmi.service failed. See "systemctl status openipmi.service" and 
"journalctl -xe" for details.
[jk@fstn2-p1 sources.list.d]$ systemctl status openipmi.service
● openipmi.service - LSB: OpenIPMI Driver init script
   Loaded: loaded (/etc/init.d/openipmi)
   Active: failed (Result: exit-code) since Tue 2016-01-05 23:49:12 UTC; 5s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 4600 ExecStart=/etc/init.d/openipmi start (code=exited, 
status=1/FAILURE)

Jan 05 23:49:12 fstn2-p1 systemd[1]: Starting LSB: OpenIPMI Driver init 
script...
Jan 05 23:49:12 fstn2-p1 openipmi[4600]: * Starting ipmi drivers
Jan 05 23:49:12 fstn2-p1 openipmi[4600]: ...fail!
Jan 05 23:49:12 fstn2-p1 openipmi[4600]: ...done.
Jan 05 23:49:12 fstn2-p1 systemd[1]: openipmi.service: control process exited, 
code=exited status=1
Jan 05 23:49:12 fstn2-p1 systemd[1]: Failed to start LSB: OpenIPMI Driver init 
script.
Jan 05 23:49:12 fstn2-p1 systemd[1]: Unit openipmi.service entered failed state.
Jan 05 23:49:12 fstn2-p1 systemd[1]: openipmi.service failed.

But at least my modules are still loaded:

[jk@fstn2-p1 sources.list.d]$ lsmod | grep ipmi
ipmi_devintf   13227  0 
ipmi_powernv5657  0 
ipmi_msghandler51494  2 ipmi_powernv,ipmi_devintf
[jk@fstn2-p1 sources.list.d]$ 

.. which is a net improvement :)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-23 Thread Nish Aravamudan
I've setup a PPA for x86 at:
https://launchpad.net/~nacc/+archive/ubuntu/lp1318317, with some
packages for testing on trusty & xenial. Still figuring out how to setup
the PPA for ppc6el.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-23 Thread Nish Aravamudan
Sorry, had some issues with that PPA, there is a new one at:
https://launchpad.net/~nacc/+archive/ubuntu/lp1318317-1

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-23 Thread Nish Aravamudan
Nevermind, my apologies -- I was just impatient. Please use the original
PPA (described at https://launchpad.net/~nacc/+archive/ubuntu/lp1318317)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-18 Thread Nish Aravamudan
** Changed in: openipmi (Ubuntu)
 Assignee: Taco Screen team (taco-screen-team) => Nish Aravamudan (nacc)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-18 Thread Nish Aravamudan
Jeremy,

Does this patch have any effect on your OpenPower system?

Thanks,
Nish

** Patch added: "lp1318317.v1.patch"
   
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+attachment/4537144/+files/lp1318317.v1.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-18 Thread Ubuntu Foundations Team Bug Bot
The attachment "lp1318317.v1.patch" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-17 Thread Nish Aravamudan
Oliver, Tore & Jeremy, I'm taking a look at this issue now, and just
wanted to confirm that you've not modified /etc/default/openipmi in your
setups (except as the noted workaround by Jeremy)?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-09 Thread Jon Grimm
** Changed in: openipmi (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openipmi in Ubuntu.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-07 Thread Jeremy Kerr
>From comment #3:

> This breaks any system daemon that requires in-band IPMI.

To provide a little more detail here: the opal-prd daemon, necessary for
runtime system management on OpenPOWER machines, may communicate with
the BMC using IPMI. As part of that daemon's initialisation, it ensures
that the IPMI device interface is loaded (ie, the ipmi_devintf module),
to ensure that the /dev/ipmiN interface is working.

However, after that daemon is started, the openipmi init script then
*unloads* the ipmi_devintf module.

The same would happen if the user has added ipmi_devintf to
/etc/modules, to get it loaded on boot.

At best, this unload means that the user will always need to issue a
'modprobe ipmi_devintf', on every reboot, before running any 'ipmitool'
command using the in-band BT interface.

Since this also disabled communication between the opal-prd daemon and
the BMC, it means that errors detected by opal-prd may not be reported
to the BMC.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openipmi in Ubuntu.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-04 Thread Jeremy Kerr
We see the same on OpenPower machines. Since we don't use the ipmi_si
interface, the openipmi init script fails, which removes modules which
we do need.

root@g43L:~# grep -B2 IPMI_SI /etc/default/openipmi
# Enable standard hardware interfaces (KCS, BT, SMIC)
# You probably want this enabled.
IPMI_SI=yes
root@g43L:~# modprobe ipmi_devintf
root@g43L:~# lsmod | grep ipmi
ipmi_devintf   13355  0 
ipmi_powernv5657  0 
ipmi_msghandler51374  2 ipmi_powernv,ipmi_devintf
root@g43L:~# service openipmi start
 * Starting ipmi drivers
   ...fail!
   ...done.
root@g43L:~# lsmod | grep ipmi
ipmi_powernv5657  0 
ipmi_msghandler51374  1 ipmi_powernv
root@g43L:~# 

This breaks any system daemon that requires in-band IPMI.

Workaround is to set IPMI_SI="no" in /etc/default/openipmi.

** Tags added: taco-screen-team

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openipmi in Ubuntu.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2015-12-04 Thread Breno Leitão
** Changed in: openipmi (Ubuntu)
 Assignee: (unassigned) => Taco Screen team (taco-screen-team)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openipmi in Ubuntu.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2014-07-22 Thread Tore Anderson
This affects me, too. After boot, the necessary ipmi_{si,devintf}
modules aren't loaded, so ipmitool and related monitoring doesn't work.

However this bug cannot possibly be in the ejabberd package, so I'm
reassigning it to openipmi.

** Package changed: ejabberd (Ubuntu) = openipmi (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openipmi in Ubuntu.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1318317] Re: openipmi startup script removes kernel modules

2014-07-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: openipmi (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openipmi in Ubuntu.
https://bugs.launchpad.net/bugs/1318317

Title:
  openipmi startup script removes kernel modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openipmi/+bug/1318317/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs