Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp661608ybl; Thu, 23 Jan 2020 05:36:28 -0800 (PST) X-Google-Smtp-Source: APXvYqxHcVk3c119n1wLSRYMM6qhMAJI/0FDZFXkGHkVZCaA/9wcJzSzpYgBv+naYSjjts4dIISM X-Received: by 2002:aca:f0b:: with SMTP id 11mr10900823oip.34.1579786588570; Thu, 23 Jan 2020 05:36:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579786588; cv=none; d=google.com; s=arc-20160816; b=W4fRUQzQ/tG8feqd4ZzmyQxmgi99qyXeNy87R4INyLXDPtPSjzGtVXrFXHvMr9b+Zw RVaiUwA1RQXLrEXmVtumsoR8QlQhVI7Ns9RgCfhEoKo16zRO6l8grHo7dENt5PrrC3I5 jDSvNtnJqJt5LWnXDw3BR2L+aGNHIvjoXmil70nFaYBwlB4siRECTFpVj+6PhiYAYoNr LarjDR3v4lkM4YZANqV+yJ8K9mpNYLWR8ezEnLHUSLnkp7LRMDwjD1x25EYa92ytZqol lkVJ00rHcO4YmS+W+Taid/JBXWiwanQb2ER6cWNiwRrshVRSi9G6QC26dzBX99MZ+e+H rFgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from; bh=SZg2qHP/vnUEHPqqt22X8ALzGVGlUcRtkMQKS2tx0LQ=; b=dl/6G1vx4v+uOyS3J5PeEaUIZtjiBtT+5b76B6xiSj3eCP39Uag6wkMz+YqFOQ7B6E z+YgWGGfTbxJvjqHBEuTZdAhaTTc4XzWbBZUn1SsYFBO/7PXfGWrF5I3zVF3wgEM5WAa AniKzu+HCDPGnv1SOoBtly6gsmgaziqRnCjQryVjNWK/cCJifSRHHHYYW32ZUkOa7MvT kijb1QmaN6NU0BeKhMOG9hsrdhFa0v/WA6tac3gEg7zBZdMLXgkVMukPUErq+zeDvTCG t40wcFihyA9Rtzj78nL5PLIQimJ8/brIQRobem5Nof3t300hP0qvRq73fVDRoZIc9K9S DRrg== 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 e6si1127061otq.217.2020.01.23.05.36.16; Thu, 23 Jan 2020 05:36:28 -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 S1728731AbgAWNex convert rfc822-to-8bit (ORCPT + 99 others); Thu, 23 Jan 2020 08:34:53 -0500 Received: from logand.com ([37.48.87.44]:33250 "EHLO logand.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbgAWNex (ORCPT ); Thu, 23 Jan 2020 08:34:53 -0500 Received: by logand.com (Postfix, from userid 1001) id 2C76619F8AB; Thu, 23 Jan 2020 14:34:51 +0100 (CET) X-Mailer: emacs 26.3 (via feedmail 11-beta-1 Q) From: Tomas Hlavaty To: Viacheslav Dubeyko , 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: <76887BD9-D6C4-4A89-8F55-4BEAF2828FD3@dubeyko.com> References: <8736emquds.fsf@logand.com> <76887BD9-D6C4-4A89-8F55-4BEAF2828FD3@dubeyko.com> Date: Thu, 23 Jan 2020 14:00:21 +0100 Message-ID: <87sgk6tjiy.fsf@logand.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Viacheslav, Viacheslav Dubeyko writes: > (1) the partition size? the first disk with crash was 1TB the second disk with crash, which i have by me, is 2TB: $ lsblk /dev/sdb NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 1.8T 0 disk └─extdisk 254:2 0 1.8T 0 crypt /mnt/b > (2) the logical block size? > (3) the segment size? how can i find (2) and (3) out? here is the output of nilfs-tune: $ sudo nilfs-tune -l /dev/mapper/extdisk nilfs-tune 2.2.7 Filesystem volume name: backup1_nilfs2 Filesystem UUID: 7d9708f9-464f-41b7-a0c6-eda18741012f Filesystem magic number: 0x3434 Filesystem revision #: 2.0 Filesystem features: (none) Filesystem state: valid Filesystem OS type: Linux Block size: 4096 Filesystem created: Thu Dec 27 14:14:14 2018 Last mount time: Fri Dec 20 13:06:15 2019 Last write time: Thu Jan 23 13:04:30 2020 Mount count: 15 Maximum mount count: 50 Reserve blocks uid: 0 (user root) Reserve blocks gid: 0 (group root) First inode: 11 Inode size: 128 DAT entry size: 32 Checkpoint size: 192 Segment usage size: 16 Number of segments: 238465 Device size: 2000396834816 First data block: 1 # of blocks per segment: 2048 Reserved segments %: 5 Last checkpoint #: 9884 Last block address: 280841435 Last sequence #: 137120 Free blocks count: 207591424 Commit interval: 0 # of blks to create seg: 0 CRC seed: 0x5172270a CRC check sum: 0x2ef767d2 CRC check data size: 0x00000118 it seems strange that the last write time is today, even though i mounted the partition read-only /dev/mapper/extdisk on /mnt/b type nilfs2 (ro,relatime) > (4) how the partition was created? using parted then cryptsetup luksFormat then cryptsetup luksOpen then mkfs.nilfs2 > (5) the version of tools that created the partition? how can i find this out? is it saved somewhere? > (6) the amount of free space on the partition? /dev/mapper/extdisk 1.9T 1.1T 699G 61% /mnt/b Regards, Tomas