zram module not found in 4.4/4.15 KVM kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux-kvm (Ubuntu) |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
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_
== 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_
Test kernels could be found here:
http://
== Fix ==
[bionic/
== Regression Potential ==
Minimal.
No code changes, just a config changes without disabling any other configs.
------
The ubuntu_
07:32:19 DEBUG| Running '/home/
07:32:19 ERROR| [stderr] modprobe: FATAL: Module zram not found in directory /lib/modules/
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.
$
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1008-kvm x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Wed Apr 25 07:32:47 2018
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
description: | updated |
no longer affects: | linux (Ubuntu) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux-kvm (Ubuntu): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in ubuntu-kernel-tests: | |
status: | New → In Progress |
Changed in linux-kvm (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux-kvm (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux-kvm (Ubuntu): | |
status: | In Progress → Fix Released |
This module does not exist in 4.4 kvm as well.
Can be fixed by CONFIG_ZRAM=m