If zram is not module init-zram-swapping exit 1.

Bug #1693432 reported by silviop
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
zram-config (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

/usr/bin/init-zram-swapping check against existance of zram module,
 but on embedded system zram may be statically compiled in kernel so it fails and exit 1.

I suggest to add more robust check for zram availability in the system.

Workaround :

Remove all before modprobe and set ${NRDEVICES} to number of existent /dev/zramX devices.

Tags: swap zram
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zram-config (Ubuntu):
status: New → Confirmed
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I've found improved version of zram-config at lp:~eugenesan/+junk/zram-config with following improvements:

 Utilize zram built-in multi-threading, config file and /tmp mounting
   * Rework scripts to Utilize built-in zram multi cpu support
   * Add support for /tmp mounting on zram device
   * Introduce defaults file for setting parameters
   * Rename scripts and install them to /sbin

See LP bug #1548424 for more info.

Maybe you can ask Eugenesan to improve checking for zram availability in the system ?

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.