A simple workaround is to blacklist the zram module, and update your
initramfs:

1. create a text file /etc/modprobe.d/blacklist-zram.conf:
blacklist zram

2. enter command
update-initramfs -c -k all

After reboot, the zram module will not be loaded anymore.

You can also temporarily unload the module:

1. list swap devices:
swapon -s

- it should produce output similar to:
Filename                                Type            Size    Used    Priority
/dev/zram0                              partition       4102348 55052   100
/dev/sda9                               partition       4112604 0       -1

2. now turn off swapping on zram0:
sudo swapoff /dev/zram0

3. now that module is not used anymore, it can be unloaded:
sudo rmmod zram

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1217189

Title:
  Buffer I/O error on device zram0 (possibly causing complete machine
  lockup)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1217189/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to