[Bug 1448530] Re: zram not working on vivid
GamePad64
1448530 at bugs.launchpad.net
Wed Apr 29 23:20:21 UTC 2015
I see. Script uses `free` command and then greps the output. And `free`
command uses l10n, so grep is unsuccessful. I have Russian localization,
so I faced this bug too.
** Patch added: "Added LANG=C before "free" command. Works like a charm."
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1448530/+attachment/4387959/+files/zram-config.patch
** Changed in: zram-config (Ubuntu)
Status: Incomplete => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zram-config in Ubuntu.
https://bugs.launchpad.net/bugs/1448530
Title:
zram not working on vivid
Status in zram-config package in Ubuntu:
Fix Committed
Bug description:
The zram-config package install works without errors, but at swapon
-s, no zram devices are listed.
$ dmesg | grep zram
[ 26.933769] zram: Created 4 device(s) ...
$ swapon -s
Filename Type Size Used Priority
/var/cache/swap/swap0 file 4194300 223296 -1
This problem exist on my notebook and I can recreate it on a fresh
15.04 vm install.
$ sudo systemctl status -l zram-config.service
â— zram-config.service - Initializes zram swaping
Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mi 2015-04-29 13:25:17 CEST; 4min 39s ago
Process: 538 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=255)
Main PID: 538 (code=exited, status=255)
Apr 29 13:25:16 test-VirtualBox systemd[1]: Starting Initializes zram swaping...
Apr 29 13:25:16 test-VirtualBox init-zram-swapping[538]: sh: echo: I/O error
Apr 29 13:25:16 test-VirtualBox init-zram-swapping[538]: mkswap: error: swap area needs to be at least 40 KiB
Apr 29 13:25:17 test-VirtualBox init-zram-swapping[538]: swapon: /dev/zram0: Swap-Header konnte nicht gelesen werden
Apr 29 13:25:17 test-VirtualBox systemd[1]: zram-config.service: main process exited, code=exited, status=255/n/a
Apr 29 13:25:17 test-VirtualBox systemd[1]: Failed to start Initializes zram swaping.
Apr 29 13:25:17 test-VirtualBox systemd[1]: Unit zram-config.service entered failed state.
Apr 29 13:25:17 test-VirtualBox systemd[1]: zram-config.service failed.
---
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 15.04
InstallationDate: Installed on 2015-04-25 (0 days ago)
InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
Package: zram-config 0.3
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Tags: vivid
Uname: Linux 3.19.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1448530/+subscriptions
More information about the foundations-bugs
mailing list