mfrw / compcache

Automatically exported from code.google.com/p/compcache
0 stars 0 forks source link

mkswap with 16KB page size fails #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Should no longer be an issue with the newer allocator.

Original comment by nitingupta910@gmail.com on 2 Oct 2012 at 10:15