Comment 0 for bug 1848481

Revision history for this message
Nobuto Murata (nobuto) wrote : cloudimg: no i40evf module is available so no network with SR-IOV enabled cloud

For example with bionic, i40evf module is in linux-modules-extra-4.15*-generic. However, cloudimg doesn't have linux-modules-extra seeded:

$ curl -s http://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.manifest | grep linux-
linux-base 4.5ubuntu1
linux-headers-4.15.0-65 4.15.0-65.74
linux-headers-4.15.0-65-generic 4.15.0-65.74
linux-headers-generic 4.15.0.65.67
linux-headers-virtual 4.15.0.65.67
linux-image-4.15.0-65-generic 4.15.0-65.74
linux-image-virtual 4.15.0.65.67
linux-modules-4.15.0-65-generic 4.15.0-65.74
linux-virtual 4.15.0.65.67

We don't need the whole linux-modules-extra because the size is not small, but we need some VF drivers in cloud guest image embedded for SR-IOV enabled cloud including OpenStack. Otherwise, the guest is unusable with no network device.

$ apt show linux-modules-extra-4.15.0-58-generic |& grep Installed-Size
Installed-Size: 171 MB

$ du -h /lib/modules/4.15.0-58-generic/kernel/drivers/net/ethernet/intel/i40evf/i40evf.ko
148K /lib/modules/4.15.0-58-generic/kernel/drivers/net/ethernet/intel/i40evf/i40evf.ko

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: livecd-rootfs (not installed)
ProcVersionSignature: User Name 4.15.0-58.64-generic 4.15.18
Uname: Linux 4.15.0-58-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Thu Oct 17 10:48:41 2019
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: livecd-rootfs
UpgradeStatus: No upgrade log present (probably fresh install)