The "rbd" module is missing from linux-modules-XXX-kvm in groovy

Bug #1902434 reported by Declan
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux-kvm (Ubuntu)
Fix Released
Undecided
Po-Hsu Lin
Groovy
Fix Released
Medium
Po-Hsu Lin

Bug Description

== SRU Justification ==
The brd module (Rados block device) is essential for Ceph. But it's
not available in any of our KVM kernels for the moment.

== Fix ==
Change CONFIG_BLK_DEV_RBD from not set to "m" to solve this issue.

== Test ==
Test kernel for G-kvm could be found here:
https://people.canonical.com/~phlin/kernel/lp-1902434-rbd/

The rbd module can be loaded without any issue with this kernel:
$ sudo modprobe rbd
$ echo $?
0

[ 42.853540] Key type ceph registered
[ 42.853663] libceph: loaded (mon/osd proto 15/24)
[ 42.857811] rbd: loaded (major 252)

== Regression Potential ==
Low, this just make the rbd module available in our KVM kernels.
We might be receiving some rbd related issues in the future.

== Original Bug Report ==
The rbd module is missing from the linux-modules-*-kvm package

ubuntu@ubuntu:~$ modprobe rbd
modprobe: FATAL: Module rbd not found in directory /lib/modules/5.8.0-1008-kvm

I don't believe I can get this module from any of the other extra packages ie: linux-image-extra-virtual as it is the wrong kernel version and there is currently no extra's package for kvm.

As a work around I am using the generic image but it would be great to get this added to the kvm optimized image as well!

DistroRelease: Ubuntu 20.10
Package: linux-modules-5.8.0-1008-kvm
Uname: Linux ubuntu 5.8.0-1008-kvm #8-Ubuntu SMP Thu Oct 15 12:25:31 UTC 2020 x86_64 x86_64 x86_64

CVE References

Po-Hsu Lin (cypressyew)
Changed in linux-kvm (Ubuntu):
assignee: nobody → Po-Hsu Lin (cypressyew)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello,
Can you give this Groovy KVM kernel a try?

$ git diff
diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index 06626c8..5959890 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -240,7 +240,7 @@ CONFIG_BLK_DEV_PMEM=y
 CONFIG_BLK_DEV_RAM=m
 CONFIG_BLK_DEV_RAM_COUNT=16
 CONFIG_BLK_DEV_RAM_SIZE=65536
-# CONFIG_BLK_DEV_RBD is not set
+CONFIG_BLK_DEV_RBD=m
 # CONFIG_BLK_DEV_RSXX is not set
 CONFIG_BLK_DEV_SD=y
 # CONFIG_BLK_DEV_SKD is not set

https://people.canonical.com/~phlin/kernel/lp-1902434-rbd/

Thanks

Po-Hsu Lin (cypressyew)
Changed in linux-kvm (Ubuntu):
status: New → In Progress
Changed in linux-kvm (Ubuntu Groovy):
status: New → In Progress
assignee: nobody → Po-Hsu Lin (cypressyew)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

The rbd module can be loaded without any issue with this kernel:
$ sudo modprobe rbd
$ echo $?
0
$ uname -a
Linux harpo 5.8.0-1008-kvm #8 SMP Mon Nov 2 08:15:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Po-Hsu Lin (cypressyew)
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Stefan Bader (smb)
Changed in linux-kvm (Ubuntu Groovy):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.2 KiB)

This bug was fixed in the package linux-kvm - 5.8.0-1014.15

---------------
linux-kvm (5.8.0-1014.15) groovy; urgency=medium

  * groovy/linux-kvm: 5.8.0-1014.15 -proposed tracker (LP: #1907570)

  * Groovy update: v5.8.18 upstream stable release (LP: #1904941)
    - [Config] update config for ARCH_HAS_COPY_MC

  * The "rbd" module is missing from linux-modules-XXX-kvm in groovy
    (LP: #1902434)
    - [Config] kvm: Enable Rados block device support
    - [Config] kvm: Add Rados block device mark annotations

  [ Ubuntu: 5.8.0-34.37 ]

  * groovy/linux: 5.8.0-34.37 -proposed tracker (LP: #1907576)
  * Packaging resync (LP: #1786013)
    - update dkms package versions
  * [Ubuntu 21.04 FEAT] mpt3sas: Request to include the patch set which supports
    topology where zoning is enabled in expander (LP: #1899802)
    - scsi: mpt3sas: Define hba_port structure
    - scsi: mpt3sas: Allocate memory for hba_port objects
    - scsi: mpt3sas: Rearrange _scsih_mark_responding_sas_device()
    - scsi: mpt3sas: Update hba_port's sas_address & phy_mask
    - scsi: mpt3sas: Get device objects using sas_address & portID
    - scsi: mpt3sas: Rename transport_del_phy_from_an_existing_port()
    - scsi: mpt3sas: Get sas_device objects using device's rphy
    - scsi: mpt3sas: Update hba_port objects after host reset
    - scsi: mpt3sas: Set valid PhysicalPort in SMPPassThrough
    - scsi: mpt3sas: Handling HBA vSES device
    - scsi: mpt3sas: Add bypass_dirty_port_flag parameter
    - scsi: mpt3sas: Handle vSES vphy object during HBA reset
    - scsi: mpt3sas: Add module parameter multipath_on_hba
    - scsi: mpt3sas: Bump driver version to 35.101.00.00
  * CVE-2020-12912
    - hwmon: (amd_energy) modify the visibility of the counters
  * Intel Tiger Lake IDs supplement (LP: #1904521)
    - mtd: spi-nor: intel-spi: Add support for Intel Tiger Lake-H SPI serial flash
    - pinctrl: tigerlake: Add support for Tiger Lake-H
  * [i915] Noise-like lines of graphics corruption when moving windows in Xorg
    sessions (LP: #1896091)
    - Revert "UBUNTU: SAUCE: drm/i915: Synchronize active and retire callbacks"
  * Fix no headset sound after S3 on Intel HDA (LP: #1904595)
    - ALSA: hda: Refactor codec PM to use direct-complete optimization
    - ALSA: hda: Separate runtime and system suspend
    - ALSA: hda: Reinstate runtime_allow() for all hda controllers
  * Ask 8821C Bluetooth controller to drop old firmware (LP: #1904221)
    - Bluetooth: btrtl: Ask 8821C to drop old firmware
    - Bluetooth: btrtl: fix incorrect skb allocation failure check
  * Use ACPI S5 for reboot (LP: #1904225)
    - PM: ACPI: reboot: Use S5 for reboot
  * Groovy update: v5.8.18 upstream stable release (LP: #1904941)
    - netfilter: nftables_offload: KASAN slab-out-of-bounds Read in
      nft_flow_rule_create
    - io_uring: don't run task work on an exiting task
    - io_uring: allow timeout/poll/files killing to take task into account
    - io_uring: move dropping of files into separate helper
    - io_uring: stash ctx task reference for SQPOLL
    - io_uring: unconditionally grab req->task
    - io_uring: return cancelation status from poll/timeout/files handlers
    - io_uring: enable...

Read more...

Changed in linux-kvm (Ubuntu Groovy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.4 KiB)

This bug was fixed in the package linux-kvm - 5.8.0-1014.15+21.04.1

---------------
linux-kvm (5.8.0-1014.15+21.04.1) hirsute; urgency=medium

  * hirsute/linux-kvm: 5.8.0-1014.15+21.04.1 -proposed tracker (LP: #1907569)

  [ Ubuntu: 5.8.0-1014.15 ]

  * groovy/linux-kvm: 5.8.0-1014.15 -proposed tracker (LP: #1907570)
  * Groovy update: v5.8.18 upstream stable release (LP: #1904941)
    - [Config] update config for ARCH_HAS_COPY_MC
  * The "rbd" module is missing from linux-modules-XXX-kvm in groovy
    (LP: #1902434)
    - [Config] kvm: Enable Rados block device support
    - [Config] kvm: Add Rados block device mark annotations
  * groovy/linux: 5.8.0-34.37 -proposed tracker (LP: #1907576)
  * Packaging resync (LP: #1786013)
    - update dkms package versions
  * [Ubuntu 21.04 FEAT] mpt3sas: Request to include the patch set which supports
    topology where zoning is enabled in expander (LP: #1899802)
    - scsi: mpt3sas: Define hba_port structure
    - scsi: mpt3sas: Allocate memory for hba_port objects
    - scsi: mpt3sas: Rearrange _scsih_mark_responding_sas_device()
    - scsi: mpt3sas: Update hba_port's sas_address & phy_mask
    - scsi: mpt3sas: Get device objects using sas_address & portID
    - scsi: mpt3sas: Rename transport_del_phy_from_an_existing_port()
    - scsi: mpt3sas: Get sas_device objects using device's rphy
    - scsi: mpt3sas: Update hba_port objects after host reset
    - scsi: mpt3sas: Set valid PhysicalPort in SMPPassThrough
    - scsi: mpt3sas: Handling HBA vSES device
    - scsi: mpt3sas: Add bypass_dirty_port_flag parameter
    - scsi: mpt3sas: Handle vSES vphy object during HBA reset
    - scsi: mpt3sas: Add module parameter multipath_on_hba
    - scsi: mpt3sas: Bump driver version to 35.101.00.00
  * CVE-2020-12912
    - hwmon: (amd_energy) modify the visibility of the counters
  * Intel Tiger Lake IDs supplement (LP: #1904521)
    - mtd: spi-nor: intel-spi: Add support for Intel Tiger Lake-H SPI serial flash
    - pinctrl: tigerlake: Add support for Tiger Lake-H
  * [i915] Noise-like lines of graphics corruption when moving windows in Xorg
    sessions (LP: #1896091)
    - Revert "UBUNTU: SAUCE: drm/i915: Synchronize active and retire callbacks"
  * Fix no headset sound after S3 on Intel HDA (LP: #1904595)
    - ALSA: hda: Refactor codec PM to use direct-complete optimization
    - ALSA: hda: Separate runtime and system suspend
    - ALSA: hda: Reinstate runtime_allow() for all hda controllers
  * Ask 8821C Bluetooth controller to drop old firmware (LP: #1904221)
    - Bluetooth: btrtl: Ask 8821C to drop old firmware
    - Bluetooth: btrtl: fix incorrect skb allocation failure check
  * Use ACPI S5 for reboot (LP: #1904225)
    - PM: ACPI: reboot: Use S5 for reboot
  * Groovy update: v5.8.18 upstream stable release (LP: #1904941)
    - netfilter: nftables_offload: KASAN slab-out-of-bounds Read in
      nft_flow_rule_create
    - io_uring: don't run task work on an exiting task
    - io_uring: allow timeout/poll/files killing to take task into account
    - io_uring: move dropping of files into separate helper
    - io_uring: stash ctx task reference for SQPOLL
    - io_uring: unconditionally grab req->task
  ...

Read more...

Changed in linux-kvm (Ubuntu):
status: In Progress → Fix Released
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.