Comments (4)
> 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 [email protected]
on 11 Apr 2009 at 7:06
from compcache.
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 [email protected]
on 11 Apr 2009 at 7:17
from compcache.
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 [email protected]
on 11 Apr 2009 at 8:42
from compcache.
I hope sarvatt's reply answers your question. Thanks sarvatt.
Original comment by [email protected]
on 22 Apr 2009 at 9:02
- Changed state: Done
from compcache.
Related Issues (20)
- zcache spurs Kernel warnings: HOT 5
- zram.num_devices parameter ignored in kernel 3.2.x HOT 4
- Zram Block IO error Linux 3.6 HOT 20
- Zram stats script reports wrong original size HOT 1
- zram gone from kernel 3.5.5 HOT 2
- kernel error writing on zram HOT 1
- Please add a summary on zram_stats
- System crash with swap on a zram device on a 32 bits system with kernel >= 3.6 HOT 3
- ramzswapd stats not getting updated in kernel 2.6.10
- Changing disk size on linux 3.8 broken.
- crash during zram-init if low on memory / kernel 3.8.2
- zram crash during restart on kernel 3.8.3
- ZRAM + Qemu + KSM = system hang HOT 1
- mkswap with 16KB page size fails HOT 1
- Failed to load zram kernel module on kernel 3.0.0-8-generic HOT 2
- Allow specifying numdevices during kernel config and as boot parameter and add the discard patch to the kernel HOT 3
- kernel BUG at /usr/src/linux-source-2.6.38/drivers/staging/zram/xvmalloc.c:433! HOT 1
- Patch for /sub-projects/scripts/git-diffc HOT 1
- discard/trim support ? HOT 3
- Snappy compression support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compcache.