[moslinux] CentOS does support NetFPGA cards but Ubuntu doesn't

Bug #1270889 reported by Andrey Danin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Albert Syriy

Bug Description

Confirmed with Fuel 3.2.1
We should include the NetFPGA drivers to the Ubuntu or block to use it in Ubuntu otherwise. It seems the second choice much more simpler.

Changed in fuel:
milestone: 4.1 → 5.0
status: Confirmed → Triaged
Mike Scherbakov (mihgen)
Changed in fuel:
assignee: nobody → Fuel OSCI Team (fuel-osci)
milestone: 5.0 → 5.1
Mike Scherbakov (mihgen)
tags: added: release-notes
Revision history for this message
Meg McRoberts (dreidellhasa) wrote :

Marked as Known Issue in 5.0 Release Notes

Revision history for this message
Andrey Danin (gcon-monolake) wrote :

Here is a software installation section in NetFPGA docs https://github.com/NetFPGA/netfpga/wiki/InstallSoftware#Software_Installation
There is an RPM for CentOS, but no DEBs for Ubuntu. Can we build them using the development installation guide from the docs?

Revision history for this message
Vitaly Parakhin (vparakhin) wrote :

I examined the centos5 spec for netfpga from the links you specified above. Looks like provided packages build kernel module on-fly during "netfpga-kernel" package installation. I'm pretty sure that these scripts will work on ubuntu (especially the grub configuration part) without an additional work.

There are also numerous issues related to proprer packaging for Ubuntu, described here http://web.archive.org/web/20101127153722/http://netfpga.org/foswiki/bin/view/NetFPGA/OneGig/UbuntuCompatibility

I would advise against building netfpga packages for ubuntu, as the second approach described by Vladimir looks way more easy.

Revision history for this message
Vitaly Parakhin (vparakhin) wrote :

correction: will NOT work on ubuntu

Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Fuel Linux Hardening Team (fuel-linux)
Changed in fuel:
assignee: Fuel Linux Hardening Team (fuel-linux) → MOS Linux (mos-linux)
tags: added: mos-linux
Revision history for this message
Meg McRoberts (dreidellhasa) wrote :

Marked as "Known Issue" in 5.0.1 Release Notes.

Dmitry Ilyin (idv1985)
summary: - CentOS does support NetFPGA cards but Ubuntu doesn't
+ [moslinux] CentOS does support NetFPGA cards but Ubuntu doesn't
Revision history for this message
Albert Syriy (asyriy) wrote :

It's possible to get binaries from netfpga-kernel.rpm and compile the NetFPGA module ( to get nf2.ko) on Ubuntu.
There some small changes in the code (file nf2_ethtool.c line 99) to exchange .phys_id field to .set_phys_id due to changes in the ethtool kernel API. The other dependency is linux-headers for a kernel.

I was able to create deb packet and assemble nf2.ko module localy, but get stuck with building on OBS.
The reason is dependencies.
==================
++ osc -A https://osci-obs.vm.mirantis.net:444 api /build/ubuntu-fuel-5.1-stable-19022/ubuntu/x86_64/netfpga/_status
+ details='nothing provides linux-headers-3.2.0-65-generic'
+ [[ failed succeeded broken unresolvable disabled excluded =~ unresolvable ]]
==================
I think I need additional help.

Mike Scherbakov (mihgen)
no longer affects: fuel/6.0.x
no longer affects: fuel/5.1.x
Changed in fuel:
milestone: 5.1 → 6.0
Changed in fuel:
status: Triaged → In Progress
Changed in fuel:
assignee: MOS Linux (mos-linux) → asyriy (asyriy)
Revision history for this message
Albert Syriy (asyriy) wrote :

To Andrey Danin:
Could you please check the ISO with NetFPGA module (nf2.ko) on the environment with NetFPGA network cards?
Here is the links to ISO:
http://mc0n4-msk.msk.mirantis.net/fuelweb-iso/fuel-gerrit-5.1-531-2014-07-31_14-37-34.iso
http://mc0n4-msk.msk.mirantis.net/fuelweb-iso/fuel-gerrit-5.1-531-2014-07-31_14-37-34.iso.torrent

What was done:
1) The kernel module nf2.ko was ported from CentOS to Ubuntu (kernel 3.2.0-23-generic), and
2) Required changes in the grub.cfg (parameter vmalloc=256MB for kernel on startup) were done.

Could you contact to the customers if they need additional NetFPGA utils like nf_download, regread, regwrite ?

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package netfpga has been built from changeset: http://gerrit.mirantis.com/19916
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-19916/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-19916/ubuntu /"

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

This bug was In Progress for 3 months now, can we merge these changes now?

Revision history for this message
Albert Syriy (asyriy) wrote : Re: [Bug 1270889] Re: [moslinux] CentOS does support NetFPGA cards but Ubuntu doesn't

Hello Dmitry,

The fix for the bug was put on the review in August, but it hasn't been
reviewed and merged yet.
(I don't know why).
From my viewpoint, It's ready since that time.

Should I re-pushed the last commit to pass all tests and put it on the
review once again?

With Best Regards,
Albert Syriy,

Software Engineer,
Mirantis

On Fri, Oct 31, 2014 at 9:21 PM, Dmitry Borodaenko <<email address hidden>
> wrote:

> This bug was In Progress for 3 months now, can we merge these changes
> now?
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1270889
>
> Title:
> [moslinux] CentOS does support NetFPGA cards but Ubuntu doesn't
>
> Status in Fuel: OpenStack installer that works:
> In Progress
>
> Bug description:
> Confirmed with Fuel 3.2.1
> We should include the NetFPGA drivers to the Ubuntu or block to use it
> in Ubuntu otherwise. It seems the second choice much more simpler.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/fuel/+bug/1270889/+subscriptions
>

Revision history for this message
Albert Syriy (asyriy) wrote :

There are obstacles with resolving linux-headers during building the netFPGA packages.
See for the details https://review.fuel-infra.org/#/c/582/ and
http://osci-jenkins.srt.mirantis.net:8080/job/f-i-build-deb-deps-request/115/console
Due that, the package is going to be build localy, so it will take some time to deploy VM.

Revision history for this message
Andrey Danin (gcon-monolake) wrote :

I voted in August to postpone it until 5.1 would be released. So, now we are in a middle of 6.0 and we definitely can merge it.

Revision history for this message
Albert Syriy (asyriy) wrote :

The package has been build locally for the kernel 3.11.0-18-generic currently used in Fuel-5.1.1

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package netfpga has been built for project packages/precise/netfpga
Package version == 3.0.1, package release == ubuntu1

Changeset: https://review.fuel-infra.org/582
project: packages/precise/netfpga
branch: 5.1.1
author: asyriy
committer: asyriy
subject: NetFPGA module for Ubuntu imported from CentOs
status: patchset-created

Files placed on repository:
netfpga_3.0.1-ubuntu1_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable-582/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package netfpga has been built for project packages/precise/netfpga
Package version == 3.0.1, package release == ubuntu1

Changeset: https://review.fuel-infra.org/638
project: packages/precise/netfpga
branch: 6.0
author: asyriy
committer: asyriy
subject: NetFPGA module for Ubuntu imported from CentOs
status: patchset-created

Files placed on repository:
netfpga_3.0.1-ubuntu1_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-638/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package netfpga has been built for project packages/precise/netfpga
Package version == 3.0.1, package release == ubuntu1

Changeset: https://review.fuel-infra.org/638
project: packages/precise/netfpga
branch: 6.0
author: asyriy
committer: asyriy
subject: NetFPGA module for Ubuntu imported from CentOs
status: change-merged

Files placed on repository:
netfpga_3.0.1-ubuntu1_amd64.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Albert Syriy (asyriy)
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package netfpga has been built for project packages/precise/netfpga
Package version == 3.0.1, package release == ubuntu1

Changeset: https://review.fuel-infra.org/651
project: packages/precise/netfpga
branch: 5.1.1
author: asyriy
committer: asyriy
subject: NetFPGA module for Ubuntu imported from CentOs
status: patchset-created

Files placed on repository:
netfpga_3.0.1-ubuntu1_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable-651/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package netfpga has been built for project packages/precise/netfpga
Package version == 3.0.1, package release == ubuntu1

Changeset: https://review.fuel-infra.org/651
project: packages/precise/netfpga
branch: 5.1.1
author: asyriy
committer: asyriy
subject: NetFPGA module for Ubuntu imported from CentOs
status: change-merged

Files placed on repository:
netfpga_3.0.1-ubuntu1_amd64.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable/ubuntu

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Albert Syriy (<email address hidden>) on branch: master
Review: https://review.openstack.org/110712
Reason: Time out

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.