We will be happy enable nbd in the linux-kvm kernels.  We'll post to
this bug to indicate the kernel versions which will include the change.

Regarding your note that "there are many more modules in the generic
kernel" -- indeed, the reduced size is one of the design features of the
linux-kvm kernel.

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

Title:
  kvm kernel missing nbd module

Status in linux-kvm package in Ubuntu:
  In Progress
Status in linux-kvm source package in Xenial:
  In Progress
Status in linux-kvm source package in Bionic:
  In Progress

Bug description:
  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)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to