From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 ; Fri, 19 Jul 2019 09:38:21 +0200 (CEST) Received: by mail-wr1-x435.google.com with SMTP id p17so31179365wrf.11 for ; Fri, 19 Jul 2019 00:38:21 -0700 (PDT) References: <40fa6a57-ac08-1f50-dbce-cadefcbf1ff4@codethink.co.uk> <0ce29b38-3f32-d2bc-651e-071075941d43@gmail.com> <3671b534-ce49-ee1e-77a9-0ce7f5618992@gmail.com> <8a1f82b9-2eb1-2348-f5d6-c8f6d84aa85c@codethink.co.uk> From: Milan Broz Message-ID: Date: Fri, 19 Jul 2019 09:38:18 +0200 MIME-Version: 1.0 In-Reply-To: <8a1f82b9-2eb1-2348-f5d6-c8f6d84aa85c@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 On 18/07/2019 15:59, Tom Eccles wrote: > > Should write access be required to the device be required? The kernel > doesn't allow writable verity devices: This is correct, verity devices must be read-only. Anyway, I tried to run it again and this time I sometimes get error and sometimes it recovers the device properly. So there is something wrong inside kernel verity target, it could be even two years old problem with switch to asynchronous crypto calls... My losetup "workaround" probably just changed some timining, so on your system it does not help. I'll investigate it :) Anyway, thanks for reporting this! Milan