[Bug 956859] Re: zram-config terminates with status 2. zram swaps not enabled
sitro
956859 at bugs.launchpad.net
Thu May 8 18:51:00 UTC 2014
$ sudo cat /var/log/upstart/zram-config.log
mkswap: error: swap area needs to be at least 40 KiB
Usage:
mkswap [options] device [size]
Options:
-c, --check check bad blocks before creating the swap area
-f, --force allow swap size area be larger than device
-p, --pagesize SIZE specify page size in bytes
-L, --label LABEL specify label
-v, --swapversion NUM specify swap-space version number
-U, --uuid UUID specify the uuid to use
-V, --version output version information and exit
-h, --help display this help and exit
rmmod: ERROR: 'Wait' behavior is targeted for removal from kernel.
We will now sleep for 10s, and then continue.
Setting up swapspace version 1, size = 515788 KiB
no label, UUID=a934ad98-fea9-4a82-b14e-9a62d1ef5156
Setting up swapspace version 1, size = 515788 KiB
no label, UUID=7b9dc437-5073-49da-b607-fe88e600435d
noel at lamelle:~$
--
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/956859
Title:
zram-config terminates with status 2. zram swaps not enabled
Status in “zram-config” package in Ubuntu:
Confirmed
Bug description:
dmesg says:
init: zram-config pre-start process (1047) terminated with status 2
sudo service zram-config start works though.
the whole dmesg reads:
[ 5.381143] zram: num_devices not specified. Using default: 1
[ 5.381145] zram: Creating 1 devices ...
...
[ 21.605734] Adding 1011288k swap on /dev/zram0. Priority:5 extents:1 across:1011288k SS
[ 21.606373] init: zram-config pre-start process (1047) terminated with status 2
num_devices should get calculated in the upstart script. The size is
correct in that it's the same when started manually.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: zram-config 0.1
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Fri Mar 16 11:57:35 2012
Dependencies:
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120309)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: zram-config
UpgradeStatus: Upgraded to precise on 2012-03-13 (3 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/956859/+subscriptions
More information about the foundations-bugs
mailing list