Support new compcache-0.6 features

Bug #660438 reported by Cyril Jaquier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

compcache-0.6 has support for multiple /dev/ramzswapX devices. Currently initramfs-tool only create a single device. I would like to be able to start my system with 4 ramzswap devices as I'm running a 4 core CPU.

Moreover, rzscontrol should be available in a separate package as it can be used during runtime to control/query the compcache devices. It is currently part of initramfs-tools-bin (/usr/lib/initramfs-tools/bin/rzscontrol).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: initramfs-tools 0.98.1ubuntu6
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Oct 14 12:13:40 2010
EcryptfsInUse: Yes
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: initramfs-tools

Revision history for this message
Cyril Jaquier (cyril-jaquier) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

I didn't think I was going to need to maintain this long term. As I said in the changelog:

  * The ramzswap device changed its interface so that the disk size needs to
    be given using an ioctl rather than as a module parameter. Incorporate
    the rzscontrol tool from the compcache project
    (http://code.google.com/p/compcache/) so that we can control current
    ramzswap devices (LP: #600782). This is a strictly temporary measure,
    as recent versions of compcache change the interface (and module name)
    again to involve writing to sysfs files, which won't require any special
    tools.

Can you check whether the sysfs interface is available in the version of compcache you're looking at?

Revision history for this message
Cyril Jaquier (cyril-jaquier) wrote :

The version of compcache included in the Maverick kernel is 0.6. The sysfs interface is available since 0.7 which doesn't seem to be release yet:

http://code.google.com/p/compcache/source/browse/Changelog

I think it is better to wait for 0.7 to be integrated upstream. Feel free to close this bug or rename it.

Thank you.

Revision history for this message
Oibaf (oibaf) wrote :

This was replaced by zram, see zram-config:
https://launchpad.net/ubuntu/+source/zram-config

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
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.