Closed GoogleCodeExporter closed 9 years ago
> licata@HAL9000:~/compcache-0.5.3$ make
> make -C /lib/modules/2.6.27-8-eeepc/build \
> M=/home/licata/compcache-0.5.3/sub-projects/allocators/xvmalloc-kmod modules
> make: *** /lib/modules/2.6.27-8-eeepc/build: No such file or directory. Stop.
> make: *** [all] Error 2
Kernel headers needed to build compcache are missing on your system. On Fedora
these
are provided by kernel-devel and kernel-headers package. Not sure about names
for
equivalent packages on Ubuntu - I think its linux-headers.
> I have never installed or compiled compcache before, but after removing the
> swap partition from my HD I found that some swap were still on the system.
> Using the command cat/proc/swaps I get this informations:
> licata@HAL9000:~/compcache-0.5.3$ cat /proc/swaps
> Filename Type Size Used Priority
> /dev/ramzswap0 partition 516108 0 100
Looks like your version of Ubuntu comes with compcache built into the kernel by
default. Not sure which version of compcache they included.
Since your kernel has compcache 'built-in' (as opposed to compiled as separate
module), I don't think you can override it with any other version of compcache.
You
will have to stay with version included in your kernel.
Original comment by nitingupta910@gmail.com
on 11 Apr 2009 at 7:06
Ok, since compcache is "built in" is there a way to configure it?
How can I change the size of the ramzswap or enable/disable it?
Where can I find the commands to do such operations?
Thanks very much for the quick and accurate support
Original comment by enrico.l...@gmail.com
on 11 Apr 2009 at 7:17
sudo nano /etc/initramfs-tools/initramfs.conf
comment out the compcache section.
optionally change update_initramfs=yes to update_initramfs=all in
/etc/initramfs-tools/update-initramfs.conf to have it apply to every kernel and
not
just the currently running one.
sudo update-initramfs -u
that should do it. if not, you are starting it with a script in /etc/init.d/ so
just
delete that and do a sudo update-rc.d compcache remove.
Original comment by sarv...@gmail.com
on 11 Apr 2009 at 8:42
I hope sarvatt's reply answers your question. Thanks sarvatt.
Original comment by nitingupta910@gmail.com
on 22 Apr 2009 at 9:02
Original issue reported on code.google.com by
enrico.l...@gmail.com
on 11 Apr 2009 at 5:17