What steps will reproduce the problem?
1. Change kernel page size to 16KB (MIPS)
2. Rebuild zram.ko and insert the module after kernel boot-up, make zram node
(mknod) and enable swap (swapon)
3. execute mkswap, it gives following error:
# mkswap /dev/zram0
Setting up swaps[ 264.037000] zram: Error allocating memory for compressed
page: 0, size=118
pace version 1, [ 264.045000] Buffer I/O error on device zram0, logical block 0
size = 20464 KiB[ 264.052000] lost page write due to I/O error on zram0
no label, UUID=97c936de-09a5-48c6-bade-7e3377644c9a
mkswap: fsync failed
What version of the product are you using? On what operating system?
Linux kernel 2.6.37, MIPS 74Kc V4.12
Please provide any additional information below.
It works fine with 4KB page size.
Original issue reported on code.google.com by deliver2...@gmail.com on 11 Aug 2011 at 1:01
Original issue reported on code.google.com by
deliver2...@gmail.com
on 11 Aug 2011 at 1:01