[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


[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-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-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-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 1509896] Re: IPMI USB SCSI endpoint discovery can fail on OpenPower machines

2015-11-16 Thread Jeremy Kerr
Pavaman - thanks for verifying. The latter issue sounds like a BMC
problem, which we're following-up separately.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  IPMI USB SCSI endpoint discovery can fail on OpenPower machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1509896/+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 1509896] Re: IPMI USB SCSI endpoint discovery can fail on OpenPower machines

2015-11-04 Thread Jeremy Kerr
@mathieu-tl: ok, super. Sorry, I didn't mean to be badgering you there,
just wanted to make sure it's tracked somewhere! :)

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

Title:
  IPMI USB SCSI endpoint discovery can fail on OpenPower machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1509896/+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 1509896] Re: IPMI USB SCSI endpoint discovery can fail on OpenPower machines

2015-11-02 Thread Jeremy Kerr
Is it possible to do the same for trusty too?

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

Title:
  IPMI USB SCSI endpoint discovery can fail on OpenPower machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1509896/+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 1509896] [NEW] IPMI USB SCSI endpoint discovery can fail on OpenPower machines

2015-10-25 Thread Jeremy Kerr
Public bug reported:

The current ipmitool code can fail to find an IPMI device on my
OpenPower machine, due to bug in the USB SCSI device discovery process.

This will only happen if the user has adjusted the number of virtual USB
devices that the BMC exports. However, the failure mode isn't obvious,
and it prevents the user from using the 'USB' IPMI channel, which is
required for firmware upgrades.

This is fixed in upstream commit 607cfe6f4, can we backport this to the
Ubuntu ipmitool for versions at 1.8.15 or earlier?

** Affects: ipmitool (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  IPMI USB SCSI endpoint discovery can fail on OpenPower machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1509896/+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 406466] Re: 2.6.31 - Can't see files in CIFS-mounted directories

2009-10-15 Thread Jeremy Kerr
Steve - Ronnie Sahlberg has just coded up a dissector for this (possibly
broken) packet format, want me to put him in touch with you?

-- 
2.6.31 - Can't see files in CIFS-mounted directories
https://bugs.launchpad.net/bugs/406466
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
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 406466] Re: 2.6.31 - Can't see files in CIFS-mounted directories

2009-10-15 Thread Jeremy Kerr
 tridge, jkthat packet  in the trace is infolevel 105BUT  it 
is encoded exactly the same as info level 104 (BOTH DIRECTORY Info), i.e. there 
is no new field here.
 tridge, jk,this is either 0x104 and 0x105 are identicalor a 
bug in the implementation in the server in this trace.
 sahlberg1: it looks like the client has correctly parsed the response 
though, as it iterates through the directory contents...
 jk: each entry has a "next offset" ptr
 jk: so you can iterate, but you won't see the filenames
 jk: as the filename data will be at the wrong offset

-- 
2.6.31 - Can't see files in CIFS-mounted directories
https://bugs.launchpad.net/bugs/406466
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
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 406466] Re: 2.6.31 - Can't see files in CIFS-mounted directories

2009-10-15 Thread Jeremy Kerr
Chasing up with some samba folks, will report back with any answers.
Will also see if I can get a wireshark dissector that understands the
SMB_FIND_FILE_ID_FULL_DIR_INFO responses.

In the meantime, we have a small workaround.

-- 
2.6.31 - Can't see files in CIFS-mounted directories
https://bugs.launchpad.net/bugs/406466
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
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 406466] Re: 2.6.31 - Can't see files in CIFS-mounted directories

2009-10-15 Thread Jeremy Kerr
Just as an additional data point: could you try mounting with the
"noserverino" option, and let us know if that fixes the problem?

-- 
2.6.31 - Can't see files in CIFS-mounted directories
https://bugs.launchpad.net/bugs/406466
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
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 427127] [NEW] broken symlink in qemu-kvm package

2009-09-09 Thread Jeremy Kerr
Public bug reported:

Binary package hint: qemu-kvm

The qemu-kvm pacakge contains a broken symlink:

[...@b1 ~]$ ls -l /usr/share/kvm   
lrwxrwxrwx 1 root root 8 2009-09-10 10:49 /usr/share/kvm -> qemu-kvm

The /usr/share/qemu-kvm directory does not exist. This means that
packages that use the /usr/share/kvm directory will fail to install:

[...@b1 ~]$ sudo apt-get install kvm-pxe
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  kvm-pxe
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/156kB of archives.
After this operation, 250kB of additional disk space will be used.
(Reading database ... 105789 files and directories currently installed.)
Unpacking kvm-pxe (from .../kvm-pxe_5.4.3+dfsg-0.2ubuntu1_all.deb) ...
dpkg: error processing 
/var/cache/apt/archives/kvm-pxe_5.4.3+dfsg-0.2ubuntu1_all.deb (--unpack):
 trying to overwrite `/usr/share/kvm', which is also in package qemu-kvm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/kvm-pxe_5.4.3+dfsg-0.2ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Workaround is to change this symlink to point to /usr/share/qemu
instead.

[...@b1 ~]$ apt-cache policy qemu-kvm
qemu-kvm:
  Installed: 0.11.0~rc2-0ubuntu2
  Candidate: 0.11.0~rc2-0ubuntu2
  Version table:
 *** 0.11.0~rc2-0ubuntu2 0
500 http://mirror.internode.on.net karmic/main Packages
100 /var/lib/dpkg/status

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New

-- 
broken symlink in qemu-kvm package
https://bugs.launchpad.net/bugs/427127
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
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