Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3411483ybv; Sat, 15 Feb 2020 20:04:43 -0800 (PST) X-Google-Smtp-Source: APXvYqwC4ZzeFb3QYV2R6wrLTT9pfPeeu8jajO5yO7AZGU5xWklXc4+FREYwMFFe1XKtKcwxgPoF X-Received: by 2002:a05:6830:124b:: with SMTP id s11mr7652356otp.333.1581825883319; Sat, 15 Feb 2020 20:04:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581825883; cv=none; d=google.com; s=arc-20160816; b=Am+StnnGoWjH1sKB04voQmMa6m1brydm4UgJuWKQ+VKD3ZlCWencC+q7uy4MJ0e5xs INJ3Nv9F/MqLXHOZ6AVnI9Kr9G4QyX+wuDXPSEdin3XLyJymF8Sk8a0HkkEDLzQkBDNO 1Brp1Q17w//2rI8dXr6J5fSbg/h51t4/fRIStAZFJr7wmPTffESnfW5VhGdMipOUhLZT zoXtiP/GLuxKe0kWIJkVtIYdXQaZ0PTWMPeaxa2SXkf+xDOsgKkEQ/XP6zqzWICVdZz8 VOWuEULqzpifWEcCV9Vg12rUPt24+AWXtoDYrUfQLj2y4OF+2HDK4Mne93cg09zBqmRI D+eg== 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=ZumH7VSrBkKR9NuOEmDOA6BzNCZCemt1XDqhscI/Rg8=; b=dCf62/sD/0zXk4FS3E5MyUQENU9SrWe1hvBMpaqR5+fuXLO4SgnglSSBvM0oQrxKZZ AoyGa/8XynoU4pQmVzu2gSsJKX8m6ex1YdDwdvIN6Fb+aIfVJcuZ7ORiYMQZhdeTTGH4 BrA2nrZ822goDzvKOe3kkcVZs3AXnKdWNc2bgRHECNZ3bkPEVstgmLy1wLxlMMcI5Cdw e49Bqh3FVEEsoGD5zUGZbsZ/Si1Np2h/mGbrLETbYnDZUQxesh4p2KdtSRuYB6VHC/zg cS+Jy98xrFeNMltXw0UqZQBNkAebFfrpZYrzS/6vodZq6NoDKItvC89nYuhkNBYs89lX 1DQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oCKRXQmL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 a4si4986891otq.98.2020.02.15.20.04.03; Sat, 15 Feb 2020 20:04:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=oCKRXQmL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726802AbgBPEAM (ORCPT + 99 others); Sat, 15 Feb 2020 23:00:12 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:32876 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbgBPEAM (ORCPT ); Sat, 15 Feb 2020 23:00:12 -0500 Received: by mail-oi1-f194.google.com with SMTP id q81so13609650oig.0; Sat, 15 Feb 2020 20:00:11 -0800 (PST) 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=ZumH7VSrBkKR9NuOEmDOA6BzNCZCemt1XDqhscI/Rg8=; b=oCKRXQmLkUaU9aBBVuQLL49iWPzXFYxZff6uobWah6jW+qQ07eqAIwApdkyYiYi5Ap wLI95FcbLBhSE/mfgqdXZxfE1zmhlR3hDWg323ma/ErVn2kVy0472MdERY5RalCIQKn1 XOVWcSl19OfC5BgJHqkcJzD/mh/4pC8FNo+cxTkzOxqqh7A2UNbONOv6COOsdxoUO5hx 0htoYl6MMNcJ3MeF6RzyyPhDadoQDUwpC0UATY1VzRMq5MPnxWMezdkaTkwlDAtwswgH p6ezQNFoZvTuB3/sqZ85+E4qZOeoXDWds/h9/yCa2+B0Qd+7J5jLC4ojKK7I2X9sJuoz OQgQ== 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=ZumH7VSrBkKR9NuOEmDOA6BzNCZCemt1XDqhscI/Rg8=; b=R0lshnfrdZdGe51i9I7iJI/yHJEloZnIhUBUqWrsNrG92bOu7Pl1vvtpvVL5qXoGet VoR8SgY5ICIuBcT57pgDnqrfrO4fk6dTNzztSYJhIxnukDHbkptMHDhX3md5VyprRrZh jQ5Opg7tkzQfIFoyyF9kY69QqgvRr5mWrUCh5itljditUWGPfTHti0+7yvA2v/mdwfgl alKZjlsuHv32RtlBQPyqy4moFC0TccHJ6DDQuy+BVfYxpmB0N2JXbZ2+nQCs0MC3+xKO SWpHNLulIfaSw9v/0qbNp9EYe2OOygo1Z9sJ3oEubL/dpZU+8wV6Fh/OQoxS+U24TIuv JCaA== X-Gm-Message-State: APjAAAUnrumNxByewSHYkTASLzT9Km8Ie0pD1jYkK6LsqNkLAGEN/Mnk tADBtOnmhztm7yMXvYobwUzIx8YjHO4P+FOtIk0= X-Received: by 2002:aca:d954:: with SMTP id q81mr6429692oig.157.1581825611084; Sat, 15 Feb 2020 20:00:11 -0800 (PST) MIME-Version: 1.0 References: <20200123.225827.1155989593018204741.hermes@ceres.dti.ne.jp> <20200210.224609.499887311281343618.hermes@ceres.dti.ne.jp> <20200216.111029.687350152614907818.hermes@ceres.dti.ne.jp> In-Reply-To: <20200216.111029.687350152614907818.hermes@ceres.dti.ne.jp> From: Ryusuke Konishi Date: Sun, 16 Feb 2020 12:59:59 +0900 Message-ID: Subject: Re: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 in nilfs_segctor_do_construct To: ARAI Shun-ichi Cc: LKML , linux-nilfs , "Brian G." Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank you Arai-san, Your method with loopback device worked to reproduce the issue even where the bug doesn't easily hit for physical devices. Regards, Ryusuke Konishi On Sun, Feb 16, 2020 at 11:11 AM ARAI Shun-ichi wrote: > > And, > > In <20200210.224609.499887311281343618.hermes@ceres.dti.ne.jp>; > ARAI Shun-ichi wrote > as Subject "Re: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 in nilfs_segctor_do_construct": > > > Hi, > > > > FYI, reporting additional test results. > > > > I reproduced this problem with clean NILFS2 fs in previous mail. > > "clean" means that "make filesystem before every tests." > > In this mail, I tried to reproduct with/without VG/LV, LUKS, loopback. > > > > * Not reproduced > > USB stick - primary partition - NILFS2 > > USB stick - primary partition - VG/LV - NILFS2 > > USB stick - primary partition - VG/LV - LUKS - NILFS2 > > USB stick - primary partition - LUKS - VG/LV - NILFS2 > > USB stick - primary partition - LUKS - VG/LV - LUKS - NILFS2 > > /tmp (tmpfs) - regular file - NILFS2 (loopback mount, kernel 4.19.82) > > USB stick - primary partition(512MiB) - NILFS2 > > > > * Reproduced (always, immediately) > > /tmp (tmpfs) - regular file - NILFS2 (loopback mount) > > USB stick - primary partition - ext4 - regular file - NILFS2 (loopback mount) > > this loopback problem is seen in Kernel 5.5.4. > > > Test conditions: > > kernel 4.19.86 (same as previous test) > > NILFS2/ext4 filesystem, VG/LV, LUKS were made with default parameters > > size of "primary partition" in USB stick is approx. 14GiB > > size of "regular file" is approx. 512MiB > > "reproduce": mount NILFS2, touch file, sync