From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 18 Jul 2019 11:50:53 +0200 (CEST) Received: by mail-wm1-x343.google.com with SMTP id v19so24996111wmj.5 for ; Thu, 18 Jul 2019 02:50:53 -0700 (PDT) References: <40fa6a57-ac08-1f50-dbce-cadefcbf1ff4@codethink.co.uk> <0ce29b38-3f32-d2bc-651e-071075941d43@gmail.com> <82572fe1-20a7-64b5-4fa7-ba48f2265bcb@codethink.co.uk> From: Milan Broz Message-ID: <88b955e7-4eaa-a427-efc6-8de50e066758@gmail.com> Date: Thu, 18 Jul 2019 11:50:51 +0200 MIME-Version: 1.0 In-Reply-To: <82572fe1-20a7-64b5-4fa7-ba48f2265bcb@codethink.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] veritysetup forward error correction failure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tom Eccles , dm-crypt@saout.de Cc: richardmaw@codethink.co.uk On 18/07/2019 11:10, Tom Eccles wrote: > tomeccles@debian-kernel-builder:~$ uname -a > Linux debian-kernel-builder 4.19.37-verity #6 SMP Wed Jul 17 11:47:38 BST > 2019 x86_64 GNU/Linux > tomeccles@debian-kernel-builder:~$ /usr/sbin/veritysetup --version > veritysetup 2.1.0 > > I can also reproduce the issue using veritysetup 2.2.0-rc1. Thanks, the best would be to create an issue for cryptsetup project https://gitlab.com/cryptsetup/cryptsetup/issues (if it is a kernel bug we report it there later) I will need some images (or a script to create them) to reproduce it though. ... > Also, I tried adding some prints to veritysetup and the kernel, and on the > face of it, the reed-solomon state (struct rs in veritysetup) seems the > same. AFAIK the kernel and our code was based on the same libfec code, so I am quite interested to find out what is the difference here. (It can take some time though, the userspace FEC image verification was implemented by my student that already disappeared from the project :) Thanks, Milan