Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

zswap failure?

Started by brian, October 01, 2015, 05:16:37 PM

Previous topic - Next topic


I have installed the v4 LXDE on my Lenovo W520 - i7 2960, 8GB Ram and 500GB Tosh HDD. I then updated the kernel to Licorix 4.2.2. through sparky.

I get error messages on the boot screens re. ZSWAP, ZBUD and ZPOOL.

Looking in the syslog I see:

Oct  1 09:39:39 t520sl4 kernel: zswap: loading zswap
Oct  1 09:39:39 t520sl4 kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
Oct  1 09:39:39 t520sl4 kernel: zpool: no driver for type zbud
Oct  1 09:39:39 t520sl4 kernel: zswap: zbud zpool not available
Oct  1 09:39:39 t520sl4 kernel: zswap: zpool creation failed

I understard that the ZSWAP stuff is designed to provide an intermediate to a swapfile to reduce the read/writes on SSDs.

My system seems to work fine, but the errors are a puzzle.

Any Comments?


Can you try to install Sparky via the 4.1 image which is at Sourceforge now.
I uses newer kernel 4.1.6.
Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


I have similar messages at boot (though using Linux Mint). Try 4.1 LTS, it should be fine. To do it whether change
deb sid main
deb-src sid main

deb sid past
deb-src sid past

or manualy download and install packages from here(/mirror)


Found this in the Liquorix web site forums. Looks like he hasn't got round to it.

Hi damentz,
Why are zram and zswap no longer configured in 4.0-1.dmz.1-liquorix-amd64?
I need them!
Back to top
Posted: Apr 30, 15, 18:22
Status: Assistant
Joined: 09 Sep 2008
Posts: 598
Reply Quote
I disabled them thinking they contributed to the stalls that braveheartleo was affected by. However, after reading the description and reading some feedback, they look safe to keep enabled.

For example, zswap only compresses to swap partitions and zram has to be enabled specifically by the user. Since swap is normally slow, it should cause the system to stall _less_ due to the compression reducing the total number of bytes needed to write to disk, easily by a factor of 2. As for zswap, that's up to user discretion, so it was not my business to disable it.

Next release should have zswap and zram restored.


This seems quite important for users with hybrid and SSD drives.



Quote from: pavroo on October 01, 2015, 09:25:59 PM
Can you try to install Sparky via the 4.1 image which is at Sourceforge now.
I uses newer kernel 4.1.6.

The latest debian kernels 4.1...../4.2..... kernels have the ZSWAP stuff enabled. If you lok in the syslog you can see them being enabled.
I seems that its only the latest Liqorix kernels which have zswap stuff disabled as part of a trouble shooting exercise.(see comment by  "damentz" in my earlier post)

this could be important if you have an SSD or Hybrid drive - as it reduces the writes to the lifed solid state memory.


Steven/damentz commented that there's need to configure zswap. I found how to do it here.
So few simple step:
1) Open grub config with your favourite text editor
sudo leafpad /etc/default/grub
sudo gedit /etc/default/grub
2) add "zswap.zpool=zsmalloc" boot option
QuoteGRUB_CMDLINE_LINUX_DEFAULT="quiet splash zswap.zpool=zsmalloc"
sudo update-grub

View the most recent posts on the forum