Public bug reported:
The "nbd" module is missing from linux-modules-XXX-kvm in bionic
root@ubuntu:~# /sbin/modprobe nbd max_part=16
modprobe: FATAL: Module nbd not found in directory /lib/modules/4.15.0-1021-kvm
root@ubuntu:~# uname -a
Linux ubuntu 4.15.0-1021-kvm #21-Ubuntu SMP Tue Aug 28 09:57:01 UTC 2018 x86_64
x86_64 x86_64 GNU/Linux
root@ubuntu:~# dpkg-query -l | grep linux-modules
ii linux-modules-4.15.0-1019-kvm 4.15.0-1019.19
amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii linux-modules-4.15.0-1021-kvm 4.15.0-1021.21
amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii linux-modules-4.15.0-34-generic 4.15.0-34.37
amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii linux-modules-extra-4.15.0-34-generic 4.15.0-34.37
amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
nbd exists for the generic kernel, but not kvm.
root@ubuntu:~# find /lib/modules -name '*nbd*'
/lib/modules/4.15.0-34-generic/kernel/drivers/block/nbd.ko
root@ubuntu:~# dpkg-query -S
/lib/modules/4.15.0-34-generic/kernel/drivers/block/nbd.ko
linux-modules-4.15.0-34-generic:
/lib/modules/4.15.0-34-generic/kernel/drivers/block/nbd.ko
In fact, there are many more modules in the generic kernel:
root@ubuntu:~# dpkg-query -L linux-modules-4.15.0-1021-kvm | wc -l
514
root@ubuntu:~# dpkg-query -L linux-modules-4.15.0-34-generic | wc -l
1285
I checked if there is a linux-modules-extra for kvm and this kernel
version, but there is not - only for azure.
root@ubuntu:~# apt-cache search linux-modules-extra-4.15.0-1021
linux-modules-extra-4.15.0-1021-azure - Linux kernel extra modules for version
4.15.0 on 64 bit x86 SMP
root@ubuntu:~#
There is a "linux-image-extra-virtual" package, but it's empty:
root@ubuntu:~# dpkg-query -L linux-image-extra-virtual
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/linux-image-extra-virtual
/usr/share/doc/linux-image-extra-virtual/copyright
/usr/share/doc/linux-image-extra-virtual/changelog.gz
As a workaround, I expect I can use the generic kernel - but this won't
be optimised for kvm.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-modules-4.15.0-1021-kvm 4.15.0-1021.21
ProcVersionSignature: Ubuntu 4.15.0-1021.21-kvm 4.15.18
Uname: Linux 4.15.0-1021-kvm x86_64
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
Date: Sun Sep 23 19:43:56 2018
Dependencies:
InstallationDate: Installed on 2018-06-15 (100 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64
(20180426)
ProcEnviron:
LANG=en_GB.UTF-8
TERM=xterm-256color
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
PATH=(custom, no user)
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: linux-kvm (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic uec-images
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1793976
Title:
kvm kernel missing nbd module
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1793976/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs