** Also affects: linux-kvm (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-kvm (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: linux-kvm (Ubuntu Xenial)
       Status: New => Fix Committed

-- 
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/1766823

Title:
  zram module not found in 4.4/4.15 KVM kernel

Status in ubuntu-kernel-tests:
  In Progress
Status in linux-kvm package in Ubuntu:
  In Progress
Status in linux-kvm source package in Xenial:
  Fix Committed
Status in linux-kvm source package in Bionic:
  New

Bug description:
  == Justification ==
  In the Xenial / Bionic KVM kernel, the CONFIG_ZRAM was not set, it's 
impossible for users to use zram module on it. And the ubuntu_zram_smoke_test 
regression test is failing due to the missing  module.

  == Test ==
  Before enabling CONFIG_ZRAM and the related configs, the zram module cannot 
be found.
  After that, the zram module can be inserted and pass the 
ubuntu_zram_smoke_test.

  Test kernels could be found here:
  http://people.canonical.com/~phlin/kernel/lp-1766823-zram/

  == Fix ==
  [bionic/linux-kvm][xenial/linux-kvm][SRU][PATCH] UBUNTU: [Config]: enable 
CONFIG_ZRAM

  == Regression Potential ==
  Minimal.
  No code changes, just a config changes without disabling any other configs.


  ------

  The ubuntu_zram_smoke_test will fail due to the lack of the zram
  module.

  07:32:19 DEBUG| Running 
'/home/ubuntu/autotest/client/tests/ubuntu_zram_smoke_test/ubuntu_zram_smoke_test.sh'
  07:32:19 ERROR| [stderr] modprobe: FATAL: Module zram not found in directory 
/lib/modules/4.15.0-1008-kvm
  07:32:19 DEBUG| [stdout] FAILED: cannot load zram module
  07:32:19 ERROR| Exception escaping from test:

  There is no zram config in the Bionic KVM kernel config file.
  $ grep -i zram debian.kvm/config/config.common.ubuntu
  $

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-1008-kvm 4.15.0-1008.8
  ProcVersionSignature: User Name 4.15.0-1008.8-kvm 4.15.17
  Uname: Linux 4.15.0-1008-kvm x86_64
  NonfreeKernelModules: signpost
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  Date: Wed Apr 25 07:32:47 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-kvm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1766823/+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