Linux NILFS development
 help / color / mirror / Atom feed
From: "Dennis Peiler" <robinx99-hi6Y0CQ0nG0@public.gmane.org>
To: NILFS Users mailing list <users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org>
Subject: Re: Kernel Bug after corrupted filesystem
Date: Wed, 31 Dec 2008 12:17:07 +0100	[thread overview]
Message-ID: <20081231111707.25420@gmx.net> (raw)
In-Reply-To: <20081231.115354.105606600.ryusuke-sG5X7nlA6pw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]


-------- Original-Nachricht --------
> Datum: Wed, 31 Dec 2008 11:53:54 +0900 (JST)
> Von: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
> An: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org, robinx99-hi6Y0CQ0nG0@public.gmane.org
> Betreff: Re: [NILFS users] Kernel Bug after corrupted filesystem

> Thank you for reporting the problem.
> Again, it seems that a btree corruption happened.
> Sorry, but it's hard to track the cause directly from the stack dump.
> 
Is there anything else I could provide? That might help to track down problems

> 
> I've modified btree lookup routines to avoid system freeze and allow
> clean termination; I pushed it to our git repository.
> 

That looks much better the module is now unloadable after failing to mount.
It now gives an error message when trying to mount
mount.nilfs2: Error while mounting /dev/loop1 on /mnt/test: Input/output error

and now there are also some other things in dmsg I will atach this to the mail in hope that it helps

[-- Attachment #2: dmesg --]
[-- Type: application/octet-stream, Size: 3032 bytes --]

[ 1635.346387] Pid: 8863, comm: mount.nilfs2 Tainted: P          2.6.27-11-generic #1
[ 1635.346398] 
[ 1635.346399] Call Trace:
[ 1635.346429]  [<ffffffffa0f93169>] nilfs_btree_do_lookup+0x219/0x240 [nilfs2]
[ 1635.346450]  [<ffffffffa0f931fe>] nilfs_btree_lookup+0x6e/0xb0 [nilfs2]
[ 1635.346471]  [<ffffffffa0f928f9>] nilfs_bmap_lookup_at_level+0x49/0xa0 [nilfs2]
[ 1635.346492]  [<ffffffffa0f9296f>] nilfs_bmap_lookup+0x1f/0x40 [nilfs2]
[ 1635.346511]  [<ffffffffa0f90986>] nilfs_mdt_submit_block+0xe6/0x1a0 [nilfs2]
[ 1635.346531]  [<ffffffffa0f90a6b>] nilfs_mdt_read_block+0x2b/0x150 [nilfs2]
[ 1635.346550]  [<ffffffffa0f90ccb>] nilfs_mdt_get_block+0x6b/0x2c0 [nilfs2]
[ 1635.346562]  [<ffffffff80313b1b>] ? alloc_buffer_head+0x4b/0x60
[ 1635.346568]  [<ffffffff80313859>] ? set_bh_page+0x9/0x50
[ 1635.346577]  [<ffffffff8050367e>] ? _spin_lock+0xe/0x20
[ 1635.346599]  [<ffffffffa0fa33a2>] nilfs_palloc_get_entry_block+0x62/0x70 [nilfs2]
[ 1635.346622]  [<ffffffffa0f97a91>] nilfs_dat_translate+0x31/0xd0 [nilfs2]
[ 1635.346643]  [<ffffffffa0f9145f>] nilfs_btnode_submit_block+0x16f/0x260 [nilfs2]
[ 1635.346663]  [<ffffffffa0f91564>] nilfs_btnode_get+0x14/0x80 [nilfs2]
[ 1635.346682]  [<ffffffffa0f925bd>] nilfs_bmap_get_block+0x1d/0x20 [nilfs2]
[ 1635.346702]  [<ffffffffa0f93086>] nilfs_btree_do_lookup+0x136/0x240 [nilfs2]
[ 1635.346722]  [<ffffffffa0f931fe>] nilfs_btree_lookup+0x6e/0xb0 [nilfs2]
[ 1635.346742]  [<ffffffffa0f928f9>] nilfs_bmap_lookup_at_level+0x49/0xa0 [nilfs2]
[ 1635.346761]  [<ffffffffa0f9296f>] nilfs_bmap_lookup+0x1f/0x40 [nilfs2]
[ 1635.346781]  [<ffffffffa0f90986>] nilfs_mdt_submit_block+0xe6/0x1a0 [nilfs2]
[ 1635.346800]  [<ffffffffa0f90a6b>] nilfs_mdt_read_block+0x2b/0x150 [nilfs2]
[ 1635.346819]  [<ffffffffa0f90ccb>] nilfs_mdt_get_block+0x6b/0x2c0 [nilfs2]
[ 1635.346827]  [<ffffffff80503576>] ? _spin_lock_irq+0x16/0x20
[ 1635.346833]  [<ffffffff80503384>] ? __down_write_nested+0xc4/0xd0
[ 1635.346856]  [<ffffffffa0fa0678>] nilfs_cpfile_get_checkpoint+0x68/0x210 [nilfs2]
[ 1635.346876]  [<ffffffffa0f90279>] ? nilfs_mdt_set_entry_size+0x9/0x40 [nilfs2]
[ 1635.346896]  [<ffffffffa0f8d5f8>] nilfs_attach_checkpoint+0xc8/0x1b0 [nilfs2]
[ 1635.346915]  [<ffffffffa0f8e1e0>] nilfs_get_sb+0x430/0x700 [nilfs2]
[ 1635.346923]  [<ffffffff802bbb0b>] ? kstrdup+0x5b/0x80
[ 1635.346931]  [<ffffffff802d5c0d>] ? alloc_pages_current+0xad/0x110
[ 1635.346970]  [<ffffffff802ec4f1>] vfs_kern_mount+0x81/0x180
[ 1635.346981]  [<ffffffff802ec663>] do_kern_mount+0x53/0x110
[ 1635.346988]  [<ffffffff803080bc>] do_new_mount+0x9c/0xd0
[ 1635.346994]  [<ffffffff80308765>] do_mount+0x245/0x270
[ 1635.347002]  [<ffffffff802d5c0d>] ? alloc_pages_current+0xad/0x110
[ 1635.347010]  [<ffffffff802b126d>] ? __get_free_pages+0x1d/0x50
[ 1635.347016]  [<ffffffff80308850>] sys_mount+0xc0/0xf0
[ 1635.347025]  [<ffffffff8021285a>] system_call_fastpath+0x16/0x1b
[ 1635.347030] 
[ 1635.347033] NILFS: btree level mismatch: 64 != 2
[ 1635.355551] NILFS: error loading a checkpoint (checkpoint number=112612).

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users

  parent reply	other threads:[~2008-12-31 11:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-30 13:19 Kernel Bug after corrupted filesystem robinx99-hi6Y0CQ0nG0
     [not found] ` <20081230131953.298540-hi6Y0CQ0nG0@public.gmane.org>
2008-12-31  2:53   ` Ryusuke Konishi
     [not found]     ` <20081231.115354.105606600.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-31  3:12       ` Ryusuke Konishi
2008-12-31 11:17       ` Dennis Peiler [this message]
     [not found]         ` <20081231111707.25420-hi6Y0CQ0nG0@public.gmane.org>
2008-12-31 14:36           ` Ryusuke Konishi
     [not found]             ` <20081231.233620.76970897.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-01-01  8:34               ` dennis-peiler-hi6Y0CQ0nG0
2009-01-01  9:31               ` robinx99-hi6Y0CQ0nG0
     [not found]                 ` <20090101093121.302730-hi6Y0CQ0nG0@public.gmane.org>
2009-01-01 15:27                   ` Ryusuke Konishi
     [not found]                     ` <20090102.002735.88475791.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-01-03  7:54                       ` robinx99-hi6Y0CQ0nG0
     [not found]                         ` <20090103075438.264510-hi6Y0CQ0nG0@public.gmane.org>
2009-01-03 16:10                           ` Ryusuke Konishi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081231111707.25420@gmx.net \
    --to=robinx99-hi6y0cq0ng0@public.gmane.org \
    --cc=users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox