linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: cwillu <cwillu@cwillu.com>
To: Daniel Kuhn <cheeef@swissonline.ch>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS crash during mount
Date: Wed, 8 Feb 2012 17:00:01 -0600	[thread overview]
Message-ID: <CAE5mzvi2UXyVYYxPeHA19RV=Gy90c7c_CA3rPZN5rrAUJB-07A@mail.gmail.com> (raw)
In-Reply-To: <4F32F502.6070307@swissonline.ch>

On Wed, Feb 8, 2012 at 4:19 PM, Daniel Kuhn <cheeef@swissonline.ch> wro=
te:
> After a forced power turn-off the filesystem of my primary boot parti=
tion
> cannot be mounted anymore,
> btrfs crashes during the mount process. I'm using OpenSuse 12.1 but I=
've
> also tried mounting with a newer kernel 3.2.2 (systemrescue cd) and w=
ith a
> usb-converter connected to another PC without success.
>
> The kernel log seems pretty specific about the crash location, see be=
low.
>
> Best regards,
> Daniel Kuhn
>
>
> [ =C2=A0 66.476674] ------------[ cut here ]------------
> [ =C2=A0 66.476684] kernel BUG at fs/btrfs/free-space-cache.c:1515!
> [ =C2=A0 66.476691] invalid opcode: 0000 [#1] SMP
> [ =C2=A0 66.476699] Modules linked in: tpm_tis tpm tpm_bios i2c_nforc=
e2 serio_raw
> pcspkr floppy k10temp asus_atk0110 raid10 raid456 async_raid6_recov a=
sync_pq
> raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath li=
near
> ata_generic nouveau ttm drm_kms_helper drm i2c_algo_bit firewire_ohci
> i2c_core pata_acpi mxm_wmi forcedeth pata_marvell firewire_core pata_=
amd
> video wmi
> [ =C2=A0 66.476752]
> [ =C2=A0 66.476759] Pid: 1844, comm: mount Not tainted 3.2.2-alt250-i=
586 #2
> System manufacturer System Product Name/M3N-HT DELUXE
> [ =C2=A0 66.476772] EIP: 0060:[<c06f7b6f>] EFLAGS: 00010206 CPU: 2
> [ =C2=A0 66.476785] EIP is at remove_from_bitmap+0xa8/0x285
> [ =C2=A0 66.476792] EAX: 6a92c000 EBX: 00000000 ECX: 0005c000 EDX: 00=
000002
> [ =C2=A0 66.476799] ESI: f2f5baa8 EDI: f2f5ba8c EBP: f2f5ba48 ESP: f2=
f5b9ec
> [ =C2=A0 66.476805] =C2=A0DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 006=
8
> [ =C2=A0 66.476813] Process mount (pid: 1844, ti=3Df2f5a000 task=3Df2=
ff7080
> task.ti=3Df2f5a000)
> [ =C2=A0 66.476818] Stack:
> [ =C2=A0 66.476822] =C2=A0f2f5ba2c 00000385 00000000 f2f5ba58 f275037=
0 f2f5ba48
> f2f5ba44 f2f5ba40
> [ =C2=A0 66.476837] =C2=A000000019 71bfffff 00000002 71c00000 0000000=
2 f3159600
> 073ba000 00000000
> [ =C2=A0 66.476851] =C2=A00005c000 00000000 6a92c000 00000002 f2f5baa=
8 00000000
> f2750370 f2f5baa0
> [ =C2=A0 66.476865] Call Trace:
> [ =C2=A0 66.476877] =C2=A0[<c06f9bf4>] btrfs_remove_free_space+0x34c/=
0x370
> [ =C2=A0 66.476889] =C2=A0[<c06bcfa3>] btrfs_alloc_logged_file_extent=
+0x114/0x211
> [ =C2=A0 66.476900] =C2=A0[<c06af00c>] ? btrfs_free_path+0x1b/0x1e
> [ =C2=A0 66.476909] =C2=A0[<c06af00c>] ? btrfs_free_path+0x1b/0x1e
> [ =C2=A0 66.476919] =C2=A0[<c06f5afd>] replay_one_extent+0x470/0x5f2
> [ =C2=A0 66.476929] =C2=A0[<c050ef9a>] ? __fsnotify_inode_delete+0x8/=
0xa
> [ =C2=A0 66.476941] =C2=A0[<c06f6f55>] replay_one_buffer+0x1d6/0x229
> [ =C2=A0 66.476950] =C2=A0[<c06f2cfe>] walk_down_log_tree+0x15b/0x2cd
> [ =C2=A0 66.476959] =C2=A0[<c06f3062>] walk_log_tree+0x71/0x188
> [ =C2=A0 66.476968] =C2=A0[<c06f5011>] btrfs_recover_log_trees+0x24a/=
0x257
> [snip]

-o recovery under 3.2 or later should fix it up.  You'll want to
remain on 3.2 at that point, and then switch to 3.3 when that's
released, and so on.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-02-08 23:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 22:19 BTRFS crash during mount Daniel Kuhn
2012-02-08 23:00 ` cwillu [this message]
2012-02-11 14:44   ` Daniel Kuhn
2012-02-13 14:46     ` Chris Mason

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='CAE5mzvi2UXyVYYxPeHA19RV=Gy90c7c_CA3rPZN5rrAUJB-07A@mail.gmail.com' \
    --to=cwillu@cwillu.com \
    --cc=cheeef@swissonline.ch \
    --cc=linux-btrfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).