Thanks! I've created a custom cloud-image using the following method,
and verified that the proposed package has indeed moved the module out
of -extras into the main package.


curl 
'http://cloud-images.ubuntu.com/daily/server/bionic/current/bionic-server-cloudimg-amd64.img'
 -O

cat >bionic-proposed <<EOF
Package: *
Pin: release a=bionic-proposed
Pin-Priority: 400
EOF

cat >bionic-proposed.list <<EOF
deb http://archive.ubuntu.com/ubuntu/ bionic-proposed restricted main 
multiverse universe
EOF

LIBGUESTFS_BACKEND=direct virt-copy-in \
  -a bionic-server-cloudimg-amd64.img \
  bionic-proposed.list /etc/apt/sources.list.d/
LIBGUESTFS_BACKEND=direct virt-copy-in \
  -a bionic-server-cloudimg-amd64.img \
  bionic-proposed /etc/apt/preferences.d/
LIBGUESTFS_BACKEND=direct virt-customize -m 2048\
  -a bionic-server-cloudimg-amd64.img \
  --run-command 'apt-get update' \
  --run-command 'DEBIAN_FRONTEND=noninteractive apt-get --assume-yes install 
linux-image-generic/bionic-proposed' \
  --run-command 'apt-get --assume-yes purge linux-modules-extra-*'

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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1768526

Title:
  Include nfp driver in linux-modules

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  SRU Justification:
  ------------------

  [Impact]

   * Currently the driver for Netronome Agilio SmartNICs, nfp.ko, is included 
in linux-moudles-extra.
     An implication of this is that on minimal installs, where the 
linux-modules but not linux-modules-extra
     packages are available, the nfp.ko module cannot be installed. In 
particular this means the driver for
     any VFs of Netronome Agilio SmartNICs which have been made available to 
guests using PCI pass-through
     cannot be used by those guests if they have installed using Canonical 
cloud images, a likely scenario.

     In contrast the driver for the i40e is provided in the linux-modules 
package and thus guests can
     access their VFs in the scenario described above.

     Thus we do not believe it is unreasonable to request that nfp.ko be 
included in linux-modules rather
     than linux-modules-extras. And we believe that this warrants SRU inclusion 
as it is the difference between
     users-of guests being able to use Netronome Agilio SmartNICs and not be 
able to use them.

     This is a packaging update request and included no request to change the 
kernel source code,
     thus no backports are requred.

  [Test Case]

   * Install system using Canonical cloud images

   * Observer that
  /lib/modules/*/kernel/drivers/net/ethernet/netronome/nfp/nfp.ko is
  missing;

   * If an Netronome Agilio SmartNIC device is present, via PCI pass-through or 
otherwise,
     that the nfp driver is not loaded and no netdevs are present for the 
Netronome Agilio SmartNIC.

  [Regression Potential]

   * Any bugs present in the nfp.ko will now be exposted to guests. However as 
the same nfp.ko driver binary
     is already included in and available on installs that have access to 
linux-modules-extra, this does not
     seem an unreasonable burden.

  [Other Info]

   * None

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to