:: Re: [DNG] still zram
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Adam Borowski
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] still zram
On Sat, Jun 18, 2016 at 03:27:23AM +0200, emninger@??? wrote:
> Sometime ago i asked here about zram - and got good advice. On one
> laptop i have it running and all is fine. But on this unfortunate Sony
> i have problems:
>
> When i tried to install zram as on the other machine i discovered that
> zram module is not enabled at all:
>
> ----
> zgrep ZRAM /proc/config.gz
> gzip: /proc/config.gz: No such file or directory
> ----
>
> The result is the same with the 3.16 kernel (which is my old kernel)
> and with the 4.6 kernel. How that? Und what can i do to enable that
> module?


Uhm, please read the error message. It doesn't say modules are disabled, it
says there's no such file as /proc/config.gz. Which is pointless in most
cases, and thus is not present on any of Ben Hutchings' kernels (ie, those
shipped by Debian and Devuan), nor in those I build myself.

Standard Debian/Devuan kernels do ship zram as a module.

> Answering to myself: Seems that the kernel modules are disabled. I
> installed a liquorix kernel


I would recommend against using random kernels from outside sources unless
you know what you're doing. Debian/Devuan kernels are configured to support
an enormous number of setups, and this, unlike optimizing for a particular
machine/task is not easy to do right.

Usually getting a reasonable kernel configuration is not rocket surgery, but
you need to know the basics.


Meow!
--
An imaginary friend squared is a real enemy.