[Ubuntu 18.10 FEAT] new libocxl library

Bug #1771813 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Fix Released
Medium
Canonical Foundations Team
libocxl (Ubuntu)
Fix Released
Medium
Canonical Foundations Team
Bionic
Fix Released
Medium
Canonical Foundations Team

Bug Description

[Impact]

 * Userspace component required for hw-enablement of opencapi cards on POWER systems.

[Test Case]

 * Check that package is available
 * If one has opencapi cards, test they work with libocxl as built in bionic suite.

[Regression Potential]

 * This is a NEW leaf package, not installed by default, thus by definition cannot regress.
 * No change backport from cosmic.

[Other Info]

 * Original bug report

Add new package for libocxl, which is the user library which allows to interact with the new ocxl "generic" driver, used to interact with opencapi cards/accelerators.

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-161265 severity-medium targetmilestone-inin1810
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
importance: Undecided → Medium
Manoj Iyer (manjo)
Changed in ubuntu-power-systems:
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in linux (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Foundations Team (canonical-foundations)
importance: Undecided → Medium
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-05-17 10:29 EDT-------
This package is very important for POWER9, since this is the default userspace way to access OpenCAPI accelerators.

Not having this package on Ubuntu LTS will impact the OpenCAPI accelerators usage on Ubuntu on POWER9.

Revision history for this message
Steve Langasek (vorlon) wrote :

Packages cannot be downloaded from the Debian NEW queue. Did you want to provide the package directly to us for review or do you want to wait for the package to pass review in Debian?

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Manoj Iyer (manjo) wrote :

Regarding introducing this new package in 18.04 (universe) here are the next steps to consider.

1. This package would first need to make it into 18.10, this bug would accomplish that.
2. Once it is introduced in 18.10, it needs to be tested, and tested to work with the 18.04 kernel.
3. Once it is tested and verified in 18.10 and with 18.04 kernel, *in a separate bug* request a backport of this package to 18.04.

It is my understanding that introducing this package in the 'universe' archive would be the path of least resistance. Introducing this in the 'main' archive, have it included in the iso, and auto pre-installed etc would be much harder.

Steve Langasek (vorlon)
affects: linux (Ubuntu) → ubuntu
Revision history for this message
Frédéric Bonnard (frediz) wrote :

Hi,
the packaging I pushed in Debian was accepted by ftpmasters into unstable and synced to 18.10/universe.

F.

Steve Langasek (vorlon)
Changed in ubuntu:
status: Incomplete → Fix Released
affects: Ubuntu Bionic → libocxl (Ubuntu Bionic)
Changed in libocxl (Ubuntu Bionic):
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Manoj Iyer (manjo)
Changed in ubuntu-power-systems:
status: New → Triaged
tags: added: triage-g
Revision history for this message
Breno Leitão (breno-leitao) wrote :

Hi Manoj,

This package is finally in 18.10. How can we proceed to get this package backported to 18.04 now?

tags: added: id-5afef60f6b5583d53a7f8e18
description: updated
description: updated
Changed in libocxl (Ubuntu Bionic):
status: Triaged → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted libocxl into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libocxl/1.0.0-1~ubuntu18.04.0 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libocxl (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

@sil2100 Built correctly, it's in NEW now https://launchpad.net/ubuntu/bionic/+queue

Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
status: Triaged → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Binaries reviewed and accepted.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

The package is now available in bionic-proposed. All seems good:

$ sudo apt install libocxl1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-extra-4.4.0-124-generic
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  libocxl1
0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
Need to get 12.8 kB of archives.
After this operation, 84.0 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe ppc64el libocxl1 ppc64el 1.0.0-1~ubuntu18.04.0 [12.8 kB]
Fetched 12.8 kB in 0s (96.0 kB/s)
Selecting previously unselected package libocxl1:ppc64el.
(Reading database ... 153618 files and directories currently installed.)
Preparing to unpack .../libocxl1_1.0.0-1~ubuntu18.04.0_ppc64el.deb ...
Unpacking libocxl1:ppc64el (1.0.0-1~ubuntu18.04.0) ...
Setting up libocxl1:ppc64el (1.0.0-1~ubuntu18.04.0) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

$ dpkg-query -W libocxl1
libocxl1:ppc64el 1.0.0-1~ubuntu18.04.0

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Do we have anyone that could actually check if the package works with opencapi cards?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libocxl - 1.0.0-1~ubuntu18.04.0

---------------
libocxl (1.0.0-1~ubuntu18.04.0) bionic; urgency=medium

  * Backport libocxl to bionic to enable userspace support for the
    opencapi harware cards. LP: #1771813

 -- Dimitri John Ledkov 🌈 <email address hidden> Thu, 14 Jun 2018 12:33:33 +0100

Changed in libocxl (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for libocxl has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in ubuntu-power-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-07-03 05:25 EDT-------
I've tested the libocxl package on 18.04 and things look good.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.