Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3186502yba; Sat, 11 May 2019 05:43:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqydW2ZBY0kTam7s/o5vWXqjKzygrRl8M5et3obd8TFMw4UJTPeNtVHwLNBogyFJWp25iq+I X-Received: by 2002:a63:2b96:: with SMTP id r144mr5485504pgr.314.1557578636662; Sat, 11 May 2019 05:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557578636; cv=none; d=google.com; s=arc-20160816; b=uhM+Iq14O7R6JToV0vTgz9DK0gNTGxueoB4zAxgDZv5idvbchoeLIC2DReJCq5pTij UfebVdwVeDnriRMGat040naGN3GMiEhHfZDWe95sClF/wQQkEkA1n0DwtGDERMIkQ31z 2HcVdUPCeUujoAx2Ehd2K6hs39E5trH6CRU4XUtilJq5YIeGTwvCBAaD3HC8MiKahEpd N9/E1UmqA209WwkgLWZxd5FJakevkEu11PHlgl10rTYOHn4RYWLh/hzqtMNmrfBsmcP+ CPymnZwJDTLVB4N6rGpfg3rkTi+osu2v2/q/hvH5N4H2um01+y2helOYsP00+JwxQEW3 a8Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nOvKsBn/LkqXY5E0wRAnpgOTDwuv3IaXSaUHRvhtbCw=; b=CLcekjeIVQFjbJnuE4It278g49xF8g95R/kTdw9clK8IIu7QjrKG4Sao+g4b39Vq+Y 6Jy0YNej/Yw6hmr/TApqYg43tc44bsf6t/OtxEHBMI049fsKcCKS1S6dJjtFuhNh+N/C Iyk45l98OJXghraM9OhpqKW9bhtE1BhZ5XViAQb8if1YHIIjg6t0ISpz+cghQr6hVINM eJJnw9V9obSq6jaEfEJJDSZcTue2cIRmwckaGzZEbzLYqqXz7Wr0ds2i7MqH034xvGT4 nbkIACePfyvbhIQv9/ftOzYW0VCRVFrBlrORpVulS9eLUTltJG5OoRIwkgZwi/dmYjFu bbBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ujr0npfL; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f184si12841500pfb.280.2019.05.11.05.43.33; Sat, 11 May 2019 05:43:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ujr0npfL; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726240AbfEKMna (ORCPT + 99 others); Sat, 11 May 2019 08:43:30 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:55813 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbfEKMna (ORCPT ); Sat, 11 May 2019 08:43:30 -0400 Received: by mail-wm1-f66.google.com with SMTP id y2so9833260wmi.5; Sat, 11 May 2019 05:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nOvKsBn/LkqXY5E0wRAnpgOTDwuv3IaXSaUHRvhtbCw=; b=ujr0npfLjDrpG3SDlbPpizkVHDvCrYVbU+O2WOtXzHQgaDLNRc2NvY+6hjUuVcuwTF MEIWSK+FksTw4nQouZDfGz3Ikw8aQWg7FPaoG+kdbxDX00Crro/BhqUno68SesPCAd4m S1DB6LOHrZ//7Wl5VMyoeUWByg5O3UDWTMjoiqRHzUmQNCEptvSy6FDXTyz+K4CSOaH1 Gyle+Os6rMxCKt0icjzZKeNo3U9fplGzIDB5LSMu+PDox9WbcypAZsCrEuPwuNvHxDPs 85RAePnX3uQavrz6leqU3KEMj9r+dxkXP9KCu5wsryNaITDxeC2x7TGNGTeNNPAHN5yO /n0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nOvKsBn/LkqXY5E0wRAnpgOTDwuv3IaXSaUHRvhtbCw=; b=a71lCQxD0rp4HGqqM3XSe0LpUyrpLBTPOfynsK3yuRvclBSgN6h3w9G0UGhkwTafRw M54s3tom9PGJ5zMYnO5H2uOSV9Ye4mioD5cTfhIg//3E98T/8F22toM6NtTSQq7XcW19 zKVmzg3w5d3b6bS0/VwuGTp4+u/81ASqdx5QjYZom6SGmwdMMH7PA8g5ahz0ktv/v5mZ z2oxC5RC0+VuiSCTJEYx4m2ty+DATGbobHI9++UOHCH85Ch3SMFPbWJbJFXpNOrEMOP+ GXNHieFaKzlqjNzldvL8sEQsdmbw046QcuJXulFBch7HtqhUoGCYUp67ViTF5zGtnnI/ MPeQ== X-Gm-Message-State: APjAAAX94qKM9bzPyqq9lVdKRYpjCMya+1qD3e7zgp6DUfFQ/33e0dsM z8oMfoQ0iQ2bV2FJRf4ZR61UKDXoas8feZYq2XPWAmGL X-Received: by 2002:a1c:494:: with SMTP id 142mr10613231wme.115.1557578608236; Sat, 11 May 2019 05:43:28 -0700 (PDT) MIME-Version: 1.0 References: <48BA4A6E-5E2A-478E-A96E-A31FA959964C@internode.on.net> In-Reply-To: <48BA4A6E-5E2A-478E-A96E-A31FA959964C@internode.on.net> From: Richard Weinberger Date: Sat, 11 May 2019 14:43:16 +0200 Message-ID: Subject: Re: ext3/ext4 filesystem corruption under post 5.1.0 kernels To: Arthur Marsh Cc: LKML , linux-ext4@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org [CC'in linux-ext4] On Sat, May 11, 2019 at 1:47 PM Arthur Marsh wrote: > > I have yet to bisect, but have had trouble with recent, post 5.1.0 kernels built from Linus' git head on both i386 (Pentium 4 pc) and amd64 (Athlon II X4 640). > > The easiest way to trigger the problem is: > > git gc > > on the kernel source tree, although the problem can occur without doing a git gc. > > The filesystem with the kernel source tree is the root file system, ext3, mounted as: > > /dev/sdb7 on / type ext3 (rw,relatime,errors=remount-ro) > > After the "Compressing objects" stage, the following appears in dmesg: > > [ 848.968550] EXT4-fs error (device sdb7): ext4_get_branch:171: inode #8: block 30343695: comm jbd2/sdb7-8: invalid block > [ 849.077426] Aborting journal on device sdb7-8. > [ 849.100963] EXT4-fs (sdb7): Remounting filesystem read-only > [ 849.100976] jbd2_journal_bmap: journal block not found at offset 989 on sdb7-8 > > fsck -yv > > then reports: > > # fsck -yv > fsck from util-linux 2.33.1 > e2fsck 1.45.0 (6-Mar-2019) > /dev/sdb7: recovering journal > /dev/sdb7 contains a file system with errors, check forced. > Pass 1: Checking inodes, blocks, and sizes > Pass 2: Checking directory structure > Pass 3: Checking directory connectivity > Pass 4: Checking reference counts > Pass 5: Checking group summary information > Free blocks count wrong (4619656, counted=4619444). > Fix? yes > > Free inodes count wrong (15884075, counted=15884058). > Fix? yes > > > /dev/sdb7: ***** FILE SYSTEM WAS MODIFIED ***** > > Other times, I have gotten: > > "Inodes that were part of a corrupted orphan linked list found." > "Block bitmap differences:" > "Free blocks sound wrong for group" > > No problems have been observed with the 5.1.0 release kernel. > > Any suggestions for narrowing down the issue welcome. Can you git-bisect it? -- Thanks, //richard