Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp661098ybl; Thu, 23 Jan 2020 05:35:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzwUf6+EbKm0A9/cBfKzz0aVggnwdh8xAbUoZtoyGk1rl/lxJkFdZdz808IGurwBy2pXPDh X-Received: by 2002:aca:b1d5:: with SMTP id a204mr10327318oif.82.1579786556608; Thu, 23 Jan 2020 05:35:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579786556; cv=none; d=google.com; s=arc-20160816; b=ICNfYmB6qo1Flk52CeKEDsc584I5calA29PTaEWFoUlAEkZ3APQgVDncK6qZbG/HFs tEo11w5ON7MAkzW1VvrLHnKJjT/I0ZfKjdS4TmKH/Vt/y4psEUT5332IRIvxpDNnXm3L 7yDknamdoVfXHDtplj70kK4Zuag6PjpVK4v1IhOvaZEe7JO7kwA1jManZdGYD1O2V3Gt 9mi8rDG/3KsFIaYjOvX/nhknrh9KGW9n+v0WV989tcqtPBJfbCWDAPhp9kMAp4LWs2Tc m1FCiifx1kw50X7+88AWZWsnCKi4e+YdQfVHD3w+8hM9v7UmHGJMw6GUUm1tmzW2ANYU FjLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=z1+zcG8sKLUzzWokF/8NXPOiirABp0W6H9roDX12Jd0=; b=R9zn4pJceTB6xxXGDI2/FHJlKDZwxzEqxhigcnAyVN5ryiK9F/sjdvIA5VFTfZCDMn +SzKjMQmBWAXeq4L04sT+AOQUfbGNsCFyvKBfhwLFvxRNnrD58fiMv51YzDjjHQglM6r CGC3kxGKRA7pU8IDhHdQrfRiRKN/u1CApLhbGaUNvNwTYmW7MM0VvSQQPXIJGOc/Y5iO Rm2tCGdSCVIJ0sQ6DOAWzNcjYGy7xBhlfUIRc4EJNSBuCmjWnhGgZyne2NLx645BsDDS raCVf1DZ5dWgknCRJudRdFjrthaE6CWAh7+yYP9HpPcYSDwAyzfYnju612cy/l848I9b lpyg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9si883136oih.157.2020.01.23.05.35.43; Thu, 23 Jan 2020 05:35:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727847AbgAWNer (ORCPT + 99 others); Thu, 23 Jan 2020 08:34:47 -0500 Received: from logand.com ([37.48.87.44]:33244 "EHLO logand.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbgAWNer (ORCPT ); Thu, 23 Jan 2020 08:34:47 -0500 Received: by logand.com (Postfix, from userid 1001) id 84ECF19F8AB; Thu, 23 Jan 2020 14:34:45 +0100 (CET) X-Mailer: emacs 26.3 (via feedmail 11-beta-1 Q) From: Tomas Hlavaty To: Ryusuke Konishi Cc: linux-nilfs , LKML Subject: Re: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 in nilfs_segctor_do_construct In-Reply-To: <87immckp07.fsf@logand.com> References: <8736emquds.fsf@logand.com> <87immckp07.fsf@logand.com> Date: Thu, 23 Jan 2020 13:31:38 +0100 Message-ID: <87v9p2tkut.fsf@logand.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ryusuke, >> 2) Can you mount the corrupted(?) partition from a recent version of >> kernel ? this will take me some time to figure out >> 3) Does read-only mount option (-r) work to avoid the crash ? ro mount doesn't seem to crash at least after mounting the partition read-only - running lscp - running sudo find . -type f inside the mounted partition - cat does not crash the crash i was seeing was during rsync (writing i guess) Other info that might be relevant: - the nilfs partition was on top of luks - the corruption happened probably during shutdown the shutdown hanged for a long time waiting for nilfs disk (iirc it waits for 1m30s) and even after that it did not finish so i turned the computer off without waiting further. after new start, i got the crash - i got the same problem on another disk recently Regards, Tomas