compcache locks the system; Was: Swap problems
email.listen at googlemail.com
email.listen at googlemail.com
Mon Feb 9 20:03:04 UTC 2009
On Mon, 9. February 2009 18:36:39 Oliver Grawert wrote:
> hi,
>
> On Sa, 2009-02-07 at 21:37 +0100, email.listen at googlemail.com wrote:
> > sudo lsmod | grep compcache
> >
> > The output will show that compcache, lzo_decompress and lzo_compress
> > modules are loaded.
> >
> > The solution is to disable compcache:
> >
> > sudo swapoff -a
> > sudo swapon -a
> >
> > You may also unload all modules after you disabled compcache loaded by
> > compcache and compcache itself:
> >
> > sudo rmmod compcache
> > sudo rmmod lzo_decompress
> > sudo rmmod lzo_compress
>
> better edit /etc/initramfs-tools/initramfs.conf, make sure there is no
> value set for compcache and run sudo update-initramfs -u
> that will prevent compcache from being used at all ...
Really???
I don't think so.
At least here compcache is used even without a size entry in initramfs.conf.
I also did an 'uupdate initramfs -u' without result so far...
> you should also file a bug about the lockup so it can be fixed ...
"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/318100"
I would think it's a known bug, isn't it?
To be honnest, I'm a bit puzzled here.
There is no value set for compcache in initraamfs.conf!
There also is no compcache package to configure compcache settings as
mentioned in initramfs.conf!
---8<--- initramfs.conf ---8<---
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add all framebuffer, acpi, filesystem, and harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#
MODULES=most
#
# BUSYBOX: [ y | n ]
#
# Use busybox if available.
#
BUSYBOX=y
#
# COMPCACHE_SIZE: [ "x K" | "x M" | "x G" | "x %" ]
#
# Amount of RAM to use for RAM-based compressed swap space.
#
# An empty value - compcache isn't used, or added to the initramfs at all.
# An integer and K (e.g. 65536 K) - use a number of kilobytes.
# An integer and M (e.g. 256 M) - use a number of megabytes.
# An integer and G (e.g. 1 G) - use a number of gigabytes.
# An integer and % (e.g. 50 %) - use a percentage of the amount of RAM.
#
# You can optionally install the compcache package to configure this setting
# via debconf and have userspace scripts to load and unload compcache.
#
COMPCACHE_SIZE=""
#
# NFS Section of the config.
#
#
# BOOT: [ local | nfs ]
#
# local - Boot off of local media (harddrive, USB stick).
#
# nfs - Boot using an NFS drive as the root of the drive.
#
BOOT=local
#
# DEVICE: ...
#
# Specify the network interface, like eth0
#
DEVICE=eth0
#
# NFSROOT: [ auto | HOST:MOUNT ]
#
NFSROOT=auto
---8<--- initramfs.conf ---8<---
BTW.
This is on a machine running Ubuntu 9.04 (upgrade from 8.10, 8.04)
regards,
thomas
More information about the ubuntu-users
mailing list