public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: linux-kernel@vger.kernel.org
Cc: linux-crypto@vger.kernel.org, tuxonice-devel@lists.tuxonice.net
Subject: Re: LZO irreversible output?
Date: Sun, 07 Feb 2010 17:23:39 -0500	[thread overview]
Message-ID: <hkneh9$djl$1@ger.gmane.org> (raw)
In-Reply-To: <4B6A4F07.3090509@crca.org.au>

Nigel Cunningham wrote:
> Hi Rafael.
> 
> Rafael J. Wysocki wrote:
>> On Wednesday 03 February 2010, Nigel Cunningham wrote:
>>> Hi all.
>>>
>>> (Not sent to LKML yesterday; no reply from linux-crypto yet, so resending).
>>>
>>> A while back now, I stopped supplying the LZF compression algorithm with
>>> TuxOnIce and made LZO the default algorithm. Around the same time, we
>>> started getting occasional errors when reading images; decompression
>>> failures.
>>>
>>> I've finally managed to find the time to properly look at this, and have
>>> managed to find a data page that LZO compresses, but seems to be unable
>>> to decompress back to the original contents. I'm wondering whether this
>>> is because I'm doing something wrong, or because there really is some
>>> data the LZO (or the kernel implementation) can't do reversible
>>> compression on.
>> Well, FWIW, we have never had any problems with the userland LZO in s2disk,
>> so if anything is wrong with LZO here, I guess it's the kernel code.
> 
> Okay. Guess I have to start shipping LZF again and make it the default
> again then.
> 
I would hope someone will look at the real problem, though, that LZO isn't 
working properly. I have to assume that either the kernel decompress is broken 
or that the page you have given is invalid, and the error lies in the compression.

It doesn't look as if you are doing something wrong, it looks broken.

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


  reply	other threads:[~2010-02-07 22:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03 21:38 LZO irreversible output? Nigel Cunningham
2010-02-03 22:54 ` Rafael J. Wysocki
2010-02-04  4:37   ` Nigel Cunningham
2010-02-07 22:23     ` Bill Davidsen [this message]
2010-02-08  8:33       ` Nigel Cunningham
2010-02-09 17:32         ` [TuxOnIce-devel] " Nix
2010-02-09 20:38           ` Nigel Cunningham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hkneh9$djl$1@ger.gmane.org' \
    --to=davidsen@tmr.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tuxonice-devel@lists.tuxonice.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox