From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WT-3DV_H-pYt for ; Tue, 28 May 2013 07:23:49 +0200 (CEST) Received: from mail-ea0-x233.google.com (mail-ea0-x233.google.com [IPv6:2a00:1450:4013:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Tue, 28 May 2013 07:23:48 +0200 (CEST) Received: by mail-ea0-f179.google.com with SMTP id z16so4272560ead.38 for ; Mon, 27 May 2013 22:23:47 -0700 (PDT) Message-ID: <51A43F61.9070404@gmail.com> Date: Tue, 28 May 2013 07:23:45 +0200 From: Milan Broz MIME-Version: 1.0 References: <20130527211828.GB25814@wxcafe.net> In-Reply-To: <20130527211828.GB25814@wxcafe.net> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] Cryptsetup using loop device makes it stop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?=22Cl=E9ment_Hertling_=28Wxcaf=E9=29=22?= Cc: dm-crypt@saout.de On 05/27/2013 11:18 PM, Cl=E9ment Hertling (Wxcaf=E9) wrote: > open("crypto.img", O_RDONLY|O_SYNC|O_DIRECT|0x100000) =3D 5 > fstat(5, {st_mode=3DS_IFREG|0644, st_size=3D0, ...}) =3D 0 > read(5, "", 0) =3D 0 > read(5, "", 4096) =3D 0 > close(5) =3D 0 This look like file crypto.img is empty, IOW file of zero size. Please check it (also fsck filesystem etc.) Milan