From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933302AbcDEPep (ORCPT ); Tue, 5 Apr 2016 11:34:45 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36117 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933246AbcDEPem (ORCPT ); Tue, 5 Apr 2016 11:34:42 -0400 Date: Tue, 5 Apr 2016 11:34:39 -0400 From: Greg KH To: Rui Salvaterra Cc: linux-kernel@vger.kernel.org, eunb.song@samsung.com, minchan@kernel.org, linux-mm@kvack.org Subject: Re: [BUG] lib: zram lz4 compression/decompression still broken on big endian Message-ID: <20160405153439.GA2647@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 05, 2016 at 03:07:48PM +0100, Rui Salvaterra wrote: > Hi, > > > I apologise in advance if I've cc'ed too many/the wrong people/lists. > > Whenever I try to use zram with lz4, on my Power Mac G5 (tested with > kernel 4.4.0-16-powerpc64-smp from Ubuntu 16.04 LTS), I get the > following on my dmesg: > > [13150.675820] zram: Added device: zram0 > [13150.704133] zram0: detected capacity change from 0 to 5131976704 > [13150.715960] zram: Decompression failed! err=-1, page=0 > [13150.716008] zram: Decompression failed! err=-1, page=0 > [13150.716027] zram: Decompression failed! err=-1, page=0 > [13150.716032] Buffer I/O error on dev zram0, logical block 0, async page read > > I believe Eunbong Song wrote a patch [1] to fix this (or a very > identical) bug on MIPS, but it never got merged (maybe > incorrect/incomplete?). Is there any hope of seeing this bug fixed? > > > Thanks, > > Rui Salvaterra > > > [1] http://comments.gmane.org/gmane.linux.kernel/1752745 For some reason it never got merged, sorry, I don't remember why. Have you tested this patch? If so, can you resend it with your tested-by: line added to it? thanks, greg k-h