View previous topic :: View next topic |
Author |
Message |
shimitar Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 23 Nov 2003 Posts: 334 Location: Italy, Torino
|
Posted: Mon Jul 13, 2015 3:09 pm Post subject: missing ZRAM in kernel? |
|
|
Trying to build the latest 4.0.5-gentoo gentoo-sources, it seems ZRAM is missing?
Where is the option? I cannot find it under staging drivers nor block devices...
it's an AMD64 host. _________________ Willy Gardiol
willy@gardiol.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Tue Jul 14, 2015 1:22 am Post subject: |
|
|
It is still listed in the Kconfig file. Perhaps you have not satisfied all the dependencies for that symbol. In v4.0.5: Code: | config ZRAM
tristate "Compressed RAM block device support"
depends on BLOCK && SYSFS && ZSMALLOC
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shimitar Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 23 Nov 2003 Posts: 334 Location: Italy, Torino
|
Posted: Tue Jul 14, 2015 7:20 am Post subject: |
|
|
Thanks!
for some reason genkernel did not enabled ZSMALLOC... i did a:
Code: |
genkernel --mdadm --bootloader=grub --install --menuconfig all
|
and manually enabled it, then ZRAM was available.
thanks! _________________ Willy Gardiol
willy@gardiol.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|