Comment 36 for bug 1215513

Revision history for this message
danmb (danmbox) wrote :

With 3.8.0-31-lowlatency, try this if you're willing to reboot:

rmmod zram; modprobe zram; echo -n 67109999 > /sys/block/zram0/disksize; mkswap /dev/zram0; dmesg -T | tail

It will bring you into a state where you can't rmmod zram (!).

# rmmod zram
ERROR: Removing 'zram': Device or resource busy

I see in dmesg:

BUG: unable to handle kernel paging request at 6364652d

I tried 67109999 (16k+) after determining that with 67108864 I still get "Buffer I/O error on device zram0" at exactly the last zram0 block.

This is a pretty serious problem. It looks like zram-related code is quite unstable. I'm not even sure if it's been fixed on the kernel mainline. A simple backport will probably not solve issues.