From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 09:12:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01E92106564A for ; Wed, 14 Dec 2011 09:12:33 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.45]) by mx1.freebsd.org (Postfix) with SMTP id 4FC868FC0A for ; Wed, 14 Dec 2011 09:12:32 +0000 (UTC) Received: (qmail invoked by alias); 14 Dec 2011 09:12:31 -0000 Received: from adsl-11.109.242.89.tellas.gr (EHLO [192.168.73.194]) [109.242.89.11] by mail.gmx.com (mp-eu006) with SMTP; 14 Dec 2011 10:12:31 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18WpFkgqk0WpKFmkUackUw7dQNEo4iIev/14AUY+P iDD6CTWXK3meap Message-ID: <4EE86870.7000501@gmx.com> Date: Wed, 14 Dec 2011 11:12:16 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Dennis Glatting References: <1323834341.50157.2.camel@btw.pki2.com> In-Reply-To: <1323834341.50157.2.camel@btw.pki2.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: Forward error correction routines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 09:12:33 -0000 On 12/14/2011 5:45 AM, Dennis Glatting wrote: > I am looking for /any/ forward error correction code under FreeBSD, > whether Hamming Codes, Golay Codes, Reed-Solomon, BCH codes, etc. or > convolution encoders/decoders. > > All I've found is: > > * libfec, which only runs under i386 (I am 64 bit), and > * reed-solomon, which is merely a library and no executables. > > Is there any usable utilities? Clue please. You could try this: http://users.softlab.ntua.gr/~ttsiod/rsbep.html It is meant to be used with storage devices and does interleaving so it can recover a lost sector. Hint: the decoded output contains garbage at the end, you have to use the included utility(or dd) to get the correct file size. HTH, Nikos